forked from extern/nix-config
hyprland: Add playerctl keybinds for mpv
This commit is contained in:
parent
36304461f0
commit
533094c1a9
@ -185,6 +185,11 @@ in
|
||||
bind = $SUPER_SHIFT, O, exec, eww close overlay || eww open overlay
|
||||
bind = $SUPER, F1, exec, killall rofi || rofi -show drun
|
||||
bind = $SUPER, F2, togglespecialworkspace
|
||||
bind = $SUPER, comma, exec, playerctl -p mpv position "5-" && notify-send -t 2000 "Minus 5 seconds" "$(playerctl -p mpv position)"
|
||||
bind = $SUPER, period, exec, playerctl -p mpv position "5+" && notify-send -t 2000 "Plus 5 seconds" "$(playerctl -p mpv position)"
|
||||
bind = $SUPER_SHIFT, comma, exec, playerctl -p mpv previous && notify-send -t 2000 "Previous track" "$(playerctl -p mpv metadata xesam:title)"
|
||||
bind = $SUPER_SHIFT, period, exec, playerctl -p mpv next && notify-send -t 2000 "Next track" "$(playerctl -p mpv metadata xesam:title)"
|
||||
bind = $SUPER, slash, exec, playerctl -p mpv play-pause && notify-send -t 2000 "mpv" "$(playerctl -p mpv status)"
|
||||
|
||||
bind = $SUPER, Return, layoutmsg, swapwithmaster master
|
||||
bind = $SUPER, J, layoutmsg, cyclenext
|
||||
|
Loading…
Reference in New Issue
Block a user