From 617e493187c08493116640f57ad0d0453cdf6f87 Mon Sep 17 00:00:00 2001 From: Alexander Hess Date: Wed, 3 May 2023 21:07:46 +0200 Subject: [PATCH] Add keyboard shortcut for Spotify --- .config/gnome-settings/key-bindings.ini | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/.config/gnome-settings/key-bindings.ini b/.config/gnome-settings/key-bindings.ini index a2232cb..9571424 100644 --- a/.config/gnome-settings/key-bindings.ini +++ b/.config/gnome-settings/key-bindings.ini @@ -55,7 +55,7 @@ toggle-tiled-left=@as [] toggle-tiled-right=@as [] [org/gnome/settings-daemon/plugins/media-keys] -custom-keybindings=['/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom2/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom3/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom4/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom5/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom6/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom7/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom8/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom9/'] +custom-keybindings=['/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom2/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom3/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom4/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom5/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom6/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom7/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom8/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom9/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom10/'] email=['e'] help=@as [] home=['f'] @@ -63,17 +63,17 @@ logout=@as [] magnifier=@as [] magnifier-zoom-in=@as [] magnifier-zoom-out=@as [] -next=['KP_6'] +next=['KP_6', 'Period'] on-screen-keyboard=@as [] -play=['KP_5'] -previous=['KP_4'] +play=['KP_5', 'Slash'] +previous=['KP_4', 'Comma'] screenreader=@as [] screensaver=['Escape'] search=['slash'] terminal=@as [] -volume-down=['KP_2'] -volume-mute=['KP_0'] -volume-up=['KP_8'] +volume-down=['KP_2', 'Comma'] +volume-mute=['KP_0', 'Slash'] +volume-up=['KP_8', 'Period'] www=['b'] [org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0] @@ -128,6 +128,11 @@ binding='Down' command='/home/alexander/.pyenv/versions/utils/bin/python /home/alexander/.config/gnome-settings/elgato/dec_brightness.py' name='Decrease Brightness of Keylights in the Office' +[org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom10] +binding='u' +command='/usr/bin/flatpak run com.spotify.Client' +name='Spotify' + [org/gnome/shell/extensions/pop-shell] activate-launcher=['d'] focus-down=['Down']