Improve mpv global keys

This commit is contained in:
Akemi Izuko 2023-12-23 20:13:54 -07:00
parent e644beed0d
commit 3125d234ce
Signed by: akemi
GPG key ID: 8DE0764E1809E9FC
2 changed files with 6 additions and 2 deletions

View file

@ -33,6 +33,7 @@ declare -r \
'neovim' 'nvim'
'paru' 'paru'
'ripgrep' 'rg'
'socat' 'socat'
'sway' 'sway'
'swaybg' 'swaybg'
'swaylock' 'swaylock'

View file

@ -362,16 +362,19 @@ mode "shrink_screenshots" {
bindsym $mod2+m mode "mpv_global"
mode "mpv_global" {
bindsym bracketleft exec ~/.config/sway/mpv_keys.sh '['
bindsym bracketright exec ~/.config/sway/mpv_keys.sh ']'
bindsym j exec ~/.config/sway/mpv_keys.sh 'j'
bindsym k exec ~/.config/sway/mpv_keys.sh 'k'
bindsym l exec ~/.config/sway/mpv_keys.sh 'l'
bindsym space exec ~/.config/sway/mpv_keys.sh 'SPACE'
bindsym bracketleft exec ~/.config/sway/mpv_keys.sh '['
bindsym bracketright exec ~/.config/sway/mpv_keys.sh ']'
bindsym minus exec ~/.config/sway/mpv_keys.sh '-'
bindsym equal exec ~/.config/sway/mpv_keys.sh '='
bindsym m exec ~/.config/sway/mpv_keys.sh 'm'
bindsym return mode "default"
bindsym Ctrl+k mode "default"
bindsym Shift+End mode "default" # In Browsers
bindsym Escape mode "default"
}