Gnome key bindings function

This commit is contained in:
Jonas Forsberg 2020-08-01 10:48:08 +02:00
parent ade18e3b9a
commit b86b9fff8e
No known key found for this signature in database
GPG Key ID: F2E9818C70350CC9

View File

@ -1,5 +1,9 @@
function docker(){ function gnomebindings(){
sudo docker "$@" # set my default keyboard bindings
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/ name "Open Terminator"
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/ command "terminator"
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/ binding "<Primary><Alt>Return"
} }
function pw(){ function pw(){