Compare commits
3 Commits
2907da6d9d
...
f9a5207e76
Author | SHA1 | Date |
---|---|---|
|
f9a5207e76 | |
|
a018d9e795 | |
|
71ae573a71 |
|
@ -9,7 +9,7 @@ return {
|
||||||
vim.keymap.set(
|
vim.keymap.set(
|
||||||
"n",
|
"n",
|
||||||
"<leader>sm",
|
"<leader>sm",
|
||||||
"<cmd>vnew<CR><cmd>DevdocsOpenCurrent<CR>",
|
"<cmd>vsplit<CR><cmd>DevdocsOpenCurrent<CR>",
|
||||||
{ desc = "[S]earch the Friendly [M]anual" }
|
{ desc = "[S]earch the Friendly [M]anual" }
|
||||||
)
|
)
|
||||||
end,
|
end,
|
||||||
|
|
|
@ -0,0 +1,22 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
gsettings set org.cinnamon.desktop.keybindings custom-list \
|
||||||
|
"['custom0', \
|
||||||
|
'custom1', \
|
||||||
|
'custom2', \
|
||||||
|
'custom3', \
|
||||||
|
'custom4']"
|
||||||
|
|
||||||
|
|
||||||
|
set(){
|
||||||
|
|
||||||
|
gsettings set org.cinnamon.desktop.keybindings.custom-keybinding:/org/cinnamon/desktop/keybindings/custom-keybindings/custom${1}/ name "${2}"
|
||||||
|
gsettings set org.cinnamon.desktop.keybindings.custom-keybinding:/org/cinnamon/desktop/keybindings/custom-keybindings/custom${1}/ command "${3}"
|
||||||
|
gsettings set org.cinnamon.desktop.keybindings.custom-keybinding:/org/cinnamon/desktop/keybindings/custom-keybindings/custom${1}/ binding "${4}"
|
||||||
|
}
|
||||||
|
|
||||||
|
## Terminal
|
||||||
|
set 0 "Toggle terminal transparency" "${HOME}/scripts/toggle-term-transparency.sh" "['<Primary>dead_acute']"
|
||||||
|
## BG
|
||||||
|
set 1 "Toggle bg" "${HOME}/scripts/switch-bg.sh t" "['<Primary>ccedilla']"
|
||||||
|
|
||||||
|
##NOTE: Cinnamon has to be restarted (ctrl+alt+esc) before these changes will take effect.
|
|
@ -1,3 +0,0 @@
|
||||||
#! /usr/bin/bash
|
|
||||||
gsettings set org.cinnamon.desktop.background.slideshow slideshow-enabled true
|
|
||||||
gsettings set org.cinnamon.desktop.background.slideshow image-source "directory:///home/andrzej/bgs/chsck/"
|
|
|
@ -0,0 +1 @@
|
||||||
|
../keybindings.sh
|
Loading…
Reference in New Issue