i3: mpv keybinds like sway

This commit is contained in:
Akemi Izuko 2024-04-16 19:56:46 -06:00
parent d4ea4b02de
commit d410bfe82a
Signed by: akemi
GPG key ID: 8DE0764E1809E9FC
2 changed files with 12 additions and 0 deletions

View file

@ -364,6 +364,16 @@ mode "mpv_global" {
bindsym equal exec ~/.config/sway/mpv_keys.sh '=' bindsym equal exec ~/.config/sway/mpv_keys.sh '='
bindsym m exec ~/.config/sway/mpv_keys.sh 'm' bindsym m exec ~/.config/sway/mpv_keys.sh 'm'
bindsym A exec ~/.config/sway/mpv_keys.sh 'A' bindsym A exec ~/.config/sway/mpv_keys.sh 'A'
bindsym 0 exec ~/.config/sway/mpv_keys.sh '0'
bindsym 1 exec ~/.config/sway/mpv_keys.sh '1'
bindsym 2 exec ~/.config/sway/mpv_keys.sh '2'
bindsym 3 exec ~/.config/sway/mpv_keys.sh '3'
bindsym 4 exec ~/.config/sway/mpv_keys.sh '4'
bindsym 5 exec ~/.config/sway/mpv_keys.sh '5'
bindsym 6 exec ~/.config/sway/mpv_keys.sh '6'
bindsym 7 exec ~/.config/sway/mpv_keys.sh '7'
bindsym 8 exec ~/.config/sway/mpv_keys.sh '8'
bindsym 9 exec ~/.config/sway/mpv_keys.sh '9'
bindsym return mode "default" bindsym return mode "default"
bindsym Ctrl+k mode "default" bindsym Ctrl+k mode "default"

View file

@ -240,9 +240,11 @@ input 1452:634:bcm5974 {
output * background ~/.config/sway/secondary_wallpaper.png fill output * background ~/.config/sway/secondary_wallpaper.png fill
output eDP-1 background ~/.config/sway/default_wallpaper.png fill output eDP-1 background ~/.config/sway/default_wallpaper.png fill
output DP-1 background ~/.config/sway/default_wallpaper.png fill output DP-1 background ~/.config/sway/default_wallpaper.png fill
output DP-2 background ~/.config/sway/default_wallpaper.png fill
output DP-3 background ~/.config/sway/default_wallpaper.png fill output DP-3 background ~/.config/sway/default_wallpaper.png fill
output DP-1 scale 2 output DP-1 scale 2
output DP-2 scale 2
output DP-3 scale 2 output DP-3 scale 2
default_border pixel 2 default_border pixel 2