From e8951caf8fa575fd79ad7ec80d325c5e91c267b7 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Wed, 16 Feb 2022 21:10:23 +0100 Subject: [PATCH] Add keybinds for flameshot --- installation.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/installation.sh b/installation.sh index baf8437..f872fda 100644 --- a/installation.sh +++ b/installation.sh @@ -176,6 +176,9 @@ else # if already existing, adding our new element CUSTOM_KEYBINDINGS_LIST="${CUSTOM_KEYBINDINGS_LIST::-1}, '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/flameshot-shortcut/']" fi gsettings set org.gnome.settings-daemon.plugins.media-keys custom-keybindings "$CUSTOM_KEYBINDINGS_LIST" +gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/flameshot-shortcut/ name 'Flameshot' # set name +gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/flameshot-shortcut/ command 'flameshot gui' # set command +gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/flameshot-shortcut/ binding 'Print' # set key # Remove icon if [ -f /usr/share/applications/org.flameshot.Flameshot.desktop ] then