23 lines
935 B
Bash
Executable File
23 lines
935 B
Bash
Executable File
#!/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.
|