Steamline the keyboard shortcuts
- beautify the file: + group and re-order the keys in a logical way + put some spaces between the sections - adjust the keyboard shortcuts a bit
This commit is contained in:
parent
9a0514251a
commit
5d5dd9d0bc
1 changed files with 157 additions and 95 deletions
|
@ -1,80 +1,102 @@
|
|||
# Unify all key bindings in this file to conveniently keep them consistent
|
||||
|
||||
|
||||
[org/gnome/desktop/wm/keybindings]
|
||||
begin-move=@as []
|
||||
begin-resize=@as []
|
||||
|
||||
# <Super><Shift>q is i3wm's default
|
||||
close=['<Super>q']
|
||||
cycle-group=@as []
|
||||
cycle-group-backward=@as []
|
||||
cycle-panels=['<Primary><Alt>Tab']
|
||||
cycle-panels-backward=['<Primary><Alt>Escape']
|
||||
cycle-windows=@as []
|
||||
cycle-windows-backward=@as []
|
||||
# <Super><Shift>1-5 is i3wm's default way
|
||||
move-to-workspace-1=['<Super><Shift>1']
|
||||
move-to-workspace-2=['<Super><Shift>2']
|
||||
move-to-workspace-3=['<Super><Shift>3']
|
||||
move-to-workspace-4=['<Super><Shift>4']
|
||||
move-to-workspace-5=['<Super><Shift>5']
|
||||
move-to-workspace-6=['<Super><Shift>6']
|
||||
move-to-workspace-7=['<Super><Shift>7']
|
||||
move-to-workspace-8=['<Super><Shift>8']
|
||||
move-to-workspace-9=['<Super><Shift>9']
|
||||
move-to-workspace-10=['<Super><Shift>0']
|
||||
move-to-workspace-last=@as []
|
||||
move-to-workspace-left=['<Super><Shift>Left']
|
||||
move-to-workspace-right=['<Super><Shift>Right']
|
||||
switch-applications=['<Super>Tab']
|
||||
switch-applications-backward=['<Shift><Super>Tab']
|
||||
switch-group=@as []
|
||||
switch-group-backward=@as []
|
||||
switch-input-source=@as []
|
||||
switch-input-source-backward=@as []
|
||||
# - <Super><Primary>Left/Right is the default to move left/right => <Super><Primary>1-5
|
||||
# - <Super>1-5 is i3wm's default way
|
||||
switch-to-workspace-1=['<Super>1']
|
||||
switch-to-workspace-2=['<Super>2']
|
||||
switch-to-workspace-3=['<Super>3']
|
||||
switch-to-workspace-4=['<Super>4']
|
||||
switch-to-workspace-5=['<Super>5']
|
||||
switch-to-workspace-6=['<Super>6']
|
||||
switch-to-workspace-7=['<Super>7']
|
||||
switch-to-workspace-8=['<Super>8']
|
||||
switch-to-workspace-9=['<Super>9']
|
||||
switch-to-workspace-10=['<Super>0']
|
||||
switch-to-workspace-last=['<Super><Primary>End']
|
||||
switch-to-workspace-left=['<Super><Primary>Left']
|
||||
switch-to-workspace-right=['<Super><Primary>Right']
|
||||
toggle-maximized=['<Super>m']
|
||||
close=['<Super>Q', '<Super><Shift>Q', '<Primary><Shift>Q', '<Alt>F4']
|
||||
|
||||
maximize=@as []
|
||||
unmaximize=@as []
|
||||
toggle-maximized=['<Super>M']
|
||||
|
||||
switch-applications=['<Super>Tab', '<Primary>Tab']
|
||||
switch-applications-backward=['<Super><Shift>Tab', '<Primary><Shift>Tab']
|
||||
|
||||
switch-input-source=@as []
|
||||
switch-input-source-backward=@as []
|
||||
|
||||
switch-group=@as []
|
||||
switch-group-backward=@as []
|
||||
switch-panels=@as []
|
||||
switch-panels-backward=@as []
|
||||
|
||||
cycle-group=@as []
|
||||
cycle-group-backward=@as []
|
||||
cycle-panels=@as []
|
||||
cycle-panels-backward=@as []
|
||||
cycle-windows=@as []
|
||||
cycle-windows-backward=@as []
|
||||
|
||||
begin-move=@as []
|
||||
begin-resize=@as []
|
||||
|
||||
# - <Super><Primary>Left/Right is the default to move left/right => <Super><Primary>1-5
|
||||
# - <Super>1-5 is i3wm's default way
|
||||
switch-to-workspace-1=['<Super>1', '<Super><Primary>1']
|
||||
switch-to-workspace-2=['<Super>2', '<Super><Primary>2']
|
||||
switch-to-workspace-3=['<Super>3', '<Super><Primary>3']
|
||||
switch-to-workspace-4=['<Super>4', '<Super><Primary>4']
|
||||
switch-to-workspace-5=['<Super>5', '<Super><Primary>5']
|
||||
switch-to-workspace-6=['<Super>6', '<Super><Primary>6']
|
||||
switch-to-workspace-7=['<Super>7', '<Super><Primary>7']
|
||||
switch-to-workspace-8=['<Super>8', '<Super><Primary>8']
|
||||
switch-to-workspace-9=['<Super>9', '<Super><Primary>9']
|
||||
switch-to-workspace-10=['<Super>0', '<Super><Primary>0']
|
||||
switch-to-workspace-last=['<Super>End', '<Super><Primary>End']
|
||||
switch-to-workspace-left=['<Super><Primary>Left']
|
||||
switch-to-workspace-right=['<Super><Primary>Right']
|
||||
|
||||
# <Super><Shift>1-5 is i3wm's default
|
||||
move-to-workspace-1=['<Super><Shift>1', '<Primary><Shift>1']
|
||||
move-to-workspace-2=['<Super><Shift>2', '<Primary><Shift>2']
|
||||
move-to-workspace-3=['<Super><Shift>3', '<Primary><Shift>3']
|
||||
move-to-workspace-4=['<Super><Shift>4', '<Primary><Shift>4']
|
||||
move-to-workspace-5=['<Super><Shift>5', '<Primary><Shift>5']
|
||||
move-to-workspace-6=['<Super><Shift>6', '<Primary><Shift>6']
|
||||
move-to-workspace-7=['<Super><Shift>7', '<Primary><Shift>7']
|
||||
move-to-workspace-8=['<Super><Shift>8', '<Primary><Shift>8']
|
||||
move-to-workspace-9=['<Super><Shift>9', '<Primary><Shift>9']
|
||||
move-to-workspace-10=['<Super><Shift>0', '<Primary><Shift>0']
|
||||
move-to-workspace-last=['<Super><Shift>End', '<Primary><Shift>End']
|
||||
move-to-workspace-left=['<Super><Shift>Left', '<Primary><Shift>Left']
|
||||
move-to-workspace-right=['<Super><Shift>Right', '<Primary><Shift>Right']
|
||||
|
||||
|
||||
[org/gnome/mutter/keybindings]
|
||||
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/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom10/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom11/']
|
||||
email=['<Super>e']
|
||||
|
||||
email=['<Super>E']
|
||||
help=@as []
|
||||
home=['<Super>f']
|
||||
home=['<Super>F']
|
||||
search=['<Super>slash']
|
||||
terminal=@as []
|
||||
www=['<Super>B']
|
||||
|
||||
screensaver=['<Super>Escape']
|
||||
logout=@as []
|
||||
|
||||
# Besides the numkeys, we use "/", ".", and "," to control the media
|
||||
play=['<Primary>KP_5', '<Super><Primary>Slash']
|
||||
next=['<Primary>KP_6', '<Super><Primary>Period']
|
||||
previous=['<Primary>KP_4', '<Super><Primary>Comma']
|
||||
# Note: I often type "m" for "mute" intuitively
|
||||
volume-mute=['<Primary>KP_0', '<Primary><Alt>Slash', '<Super><Primary>M', '<Primary><Alt>M']
|
||||
volume-up=['<Primary>KP_8', '<Primary><Alt>Period']
|
||||
volume-down=['<Primary>KP_2', '<Primary><Alt>Comma']
|
||||
|
||||
magnifier=@as []
|
||||
magnifier-zoom-in=@as []
|
||||
magnifier-zoom-out=@as []
|
||||
next=['<Primary>KP_6', '<Super><Primary>Period']
|
||||
|
||||
on-screen-keyboard=@as []
|
||||
play=['<Primary>KP_5', '<Super><Primary>Slash']
|
||||
previous=['<Primary>KP_4', '<Super><Primary>Comma']
|
||||
screenreader=@as []
|
||||
screensaver=['<Super>Escape']
|
||||
search=['<Super>slash']
|
||||
terminal=@as []
|
||||
volume-down=['<Primary>KP_2', '<Primary><Alt>Comma']
|
||||
volume-mute=['<Primary>KP_0', '<Primary><Alt>Slash']
|
||||
volume-up=['<Primary>KP_8', '<Primary><Alt>Period']
|
||||
www=['<Super>b']
|
||||
|
||||
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/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom11/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom12/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom13/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom14/']
|
||||
|
||||
[org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0]
|
||||
binding='<Primary><Alt>Home'
|
||||
|
@ -97,7 +119,7 @@ command='gnome-session-quit --logout'
|
|||
name='Log out (2)'
|
||||
|
||||
[org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom4]
|
||||
binding='<Super>g'
|
||||
binding='<Super>G'
|
||||
command='flatpak run com.google.Chrome'
|
||||
name='Google Chrome'
|
||||
|
||||
|
@ -109,69 +131,102 @@ name='Terminal (1)'
|
|||
|
||||
[org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom6]
|
||||
# Faster than the default <Primary><Alt>t
|
||||
binding='<Super>t'
|
||||
binding='<Super>T'
|
||||
command='alacritty'
|
||||
name='Terminal (2)'
|
||||
|
||||
[org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom7]
|
||||
binding='<Super>l'
|
||||
# Gnome's actual default, but with a custom terminal emulator
|
||||
binding='<Primary><Alt>T'
|
||||
command='alacritty'
|
||||
name='Terminal (3)'
|
||||
|
||||
[org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom8]
|
||||
binding='<Super><Primary>L'
|
||||
command='/home/alexander/.local/share/elgato/bin/python /home/alexander/.config/gnome-settings/elgato/toggle_keylights.py'
|
||||
name='Toggle Keylights in the Office (1)'
|
||||
|
||||
[org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom8]
|
||||
binding='<Primary><Shift>Slash'
|
||||
[org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom9]
|
||||
binding='<Primary><Alt>L'
|
||||
command='/home/alexander/.local/share/elgato/bin/python /home/alexander/.config/gnome-settings/elgato/toggle_keylights.py'
|
||||
name='Toggle Keylights in the Office (2)'
|
||||
|
||||
[org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom9]
|
||||
binding='<Primary><Shift>Period'
|
||||
command='/home/alexander/.local/share/elgato/bin/python /home/alexander/.config/gnome-settings/elgato/inc_brightness.py'
|
||||
name='Increase Brightness of Keylights in the Office'
|
||||
|
||||
[org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom10]
|
||||
binding='<Primary><Shift>Comma'
|
||||
command='/home/alexander/.local/share/elgato/bin/python /home/alexander/.config/gnome-settings/elgato/dec_brightness.py'
|
||||
name='Decrease Brightness of Keylights in the Office'
|
||||
binding='<Super><Primary>Apostrophe'
|
||||
command='/home/alexander/.local/share/elgato/bin/python /home/alexander/.config/gnome-settings/elgato/inc_brightness.py'
|
||||
name='Increase Brightness of Keylights in the Office (1)'
|
||||
|
||||
[org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom11]
|
||||
binding='<Super>u'
|
||||
binding='<Primary><Alt>Apostrophe'
|
||||
command='/home/alexander/.local/share/elgato/bin/python /home/alexander/.config/gnome-settings/elgato/inc_brightness.py'
|
||||
name='Increase Brightness of Keylights in the Office (2)'
|
||||
|
||||
[org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom12]
|
||||
binding='<Super><Primary>Semicolon'
|
||||
command='/home/alexander/.local/share/elgato/bin/python /home/alexander/.config/gnome-settings/elgato/dec_brightness.py'
|
||||
name='Decrease Brightness of Keylights in the Office (1)'
|
||||
|
||||
[org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom13]
|
||||
binding='<Primary><Alt>Semicolon'
|
||||
command='/home/alexander/.local/share/elgato/bin/python /home/alexander/.config/gnome-settings/elgato/dec_brightness.py'
|
||||
name='Decrease Brightness of Keylights in the Office (2)'
|
||||
|
||||
[org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom14]
|
||||
binding='<Super>U'
|
||||
command='/usr/bin/flatpak run com.spotify.Client'
|
||||
name='Spotify'
|
||||
|
||||
|
||||
[org/gnome/shell/extensions/pop-shell]
|
||||
|
||||
# The launcher does not work without Pop!OS
|
||||
activate-launcher=@as []
|
||||
|
||||
# "toggle-floating" only puts the active window into floating mode
|
||||
# while "toggle-tiling" turns the tiling mode on and off for all windows
|
||||
toggle-floating=['<Super>Y']
|
||||
toggle-tiling=['<Super><Shift>Y']
|
||||
|
||||
focus-up=['<Super>Up']
|
||||
focus-down=['<Super>Down']
|
||||
focus-left=['<Super>Left']
|
||||
focus-right=['<Super>Right']
|
||||
focus-up=['<Super>Up']
|
||||
pop-monitor-down=['<Primary><Shift><Super>Down']
|
||||
pop-monitor-left=['<Shift><Super>Left']
|
||||
pop-monitor-right=['<Shift><Super>Right']
|
||||
pop-monitor-up=['<Primary><Shift><Super>Up']
|
||||
pop-workspace-down=['<Primary><Alt>Down']
|
||||
pop-workspace-up=['<Primary><Alt>Up']
|
||||
|
||||
# Extends the move-to-workspace-* options above; in particular,
|
||||
# "Up" and "Down" can be used to move windows to the upper monitors
|
||||
pop-monitor-up=['<Super><Primary><Shift>Up', '<Super><Shift>Up', '<Primary><Shift>Up']
|
||||
pop-monitor-down=['<Super><Primary><Shift>Down', '<Super><Shift>Down', '<Primary><Shift>Down']
|
||||
pop-monitor-left=['<Super><Primary><Shift>Left']
|
||||
pop-monitor-right=['<Super><Primary><Shift>Right']
|
||||
pop-workspace-down=@as []
|
||||
pop-workspace-up=@as []
|
||||
|
||||
# <Super><Shift>Return instead of the default <Super>Return
|
||||
# so that <Super>Return opens terminal (like i3wm) above
|
||||
tile-enter=['<Primary><Shift>Return', '<Super><Shift>Return']
|
||||
tile-accept=['Return']
|
||||
tile-enter=['<Super><Shift>Return']
|
||||
|
||||
tile-move-up=['Up']
|
||||
tile-move-down=['Down']
|
||||
tile-move-left=['Left']
|
||||
tile-move-right=['Right']
|
||||
tile-move-up=['Up']
|
||||
|
||||
tile-resize-up=['<Shift>Down']
|
||||
tile-resize-down=['<Shift>Up']
|
||||
tile-resize-left=['<Shift>Left']
|
||||
tile-resize-right=['<Shift>Right']
|
||||
tile-resize-up=['<Shift>Down']
|
||||
|
||||
tile-swap-up=['<Primary>Up']
|
||||
tile-swap-down=['<Primary>Down']
|
||||
tile-swap-left=['<Primary>Left']
|
||||
tile-swap-right=['<Primary>Right']
|
||||
tile-swap-up=['<Primary>Up']
|
||||
toggle-floating=['<Super>y']
|
||||
toggle-tiling=['<Shift><Super>y']
|
||||
|
||||
|
||||
[org/gnome/shell/keybindings]
|
||||
|
||||
focus-active-notification=@as []
|
||||
open-application-menu=@as []
|
||||
|
||||
# Disable Gnome's default behavior of opening "favorite" apps
|
||||
# with <Super>1-10 and instead switch workspaces
|
||||
# (goes together with [org/gnome/shell/extensions/dash-to-dock] > hot-keys)
|
||||
|
@ -186,17 +241,24 @@ switch-to-application-7=@as []
|
|||
switch-to-application-8=@as []
|
||||
switch-to-application-9=@as []
|
||||
switch-to-application-10=@as []
|
||||
toggle-message-tray=['<Super>v']
|
||||
|
||||
toggle-message-tray=['<Super>V']
|
||||
toggle-overview=@as []
|
||||
|
||||
|
||||
[org/gnome/terminal/legacy/keybindings]
|
||||
close-tab='<Primary>w'
|
||||
close-window='<Primary>q'
|
||||
find='<Primary>f'
|
||||
find-clear='<Primary>j'
|
||||
find-next='<Primary>n'
|
||||
find-previous='<Primary>h'
|
||||
new-tab='<Primary>t'
|
||||
new-window='<Primary>n'
|
||||
zoom-in='<Primary><Shift>plus'
|
||||
|
||||
close-tab='<Primary>W'
|
||||
close-window='<Primary>Q'
|
||||
|
||||
find='<Primary>F'
|
||||
find-clear='<Primary>J'
|
||||
find-next='<Primary>N'
|
||||
find-previous='<Primary>H'
|
||||
|
||||
new-tab='<Primary>T'
|
||||
new-window='<Primary>N'
|
||||
|
||||
zoom-in='<Primary><Shift>Plus'
|
||||
# default: zoom-out='<Primary>minus'
|
||||
|
||||
|
|
Loading…
Reference in a new issue