changes to hypr config: added binds for spotify_player and playerctl

This commit is contained in:
ooks-io 2023-08-15 18:18:09 +12:00
parent 343e485df4
commit bab8b21778

View file

@ -6,6 +6,8 @@
browser = config.home.sessionVariables.BROWSER; browser = config.home.sessionVariables.BROWSER;
editor = config.home.sessionVariables.EDITOR; editor = config.home.sessionVariables.EDITOR;
spotify = "${terminal} -e spotify_player";
makoctl = "${config.services.mako.package}/bin/makoctl"; makoctl = "${config.services.mako.package}/bin/makoctl";
playerctl = "${config.services.playerctld.package}/bin/playerctl"; playerctl = "${config.services.playerctld.package}/bin/playerctl";
@ -17,17 +19,18 @@
"SUPER,b,exec,${browser}" "SUPER,b,exec,${browser}"
"SUPER,return,exec,${terminal}" "SUPER,return,exec,${terminal}"
"SUPER,e,exec,${editor}" "SUPER,e,exec,${editor}"
"SUPER,m,exec,${spotify}"
#Media #Media
",XF86AudioNext,exec,${playerctl} next" "SUPER,bracketright,exec,${playerctl} next"
",XF86AudioPrev,exec,${playerctl} previous" "SUPER,bracketleft,exec,${playerctl} previous"
",XF86AudioPlay,exec,${playerctl} play-pause" "SUPER,backslash,exec,${playerctl} play-pause"
",XF86AudioStop,exec,${playerctl} stop"
# Window Management # Window Management
"SUPER,Q,killactive" "SUPER,Q,killactive"
"SUPER,backspace,killactive"
"SUPERSHIFT ALT,delete,exit" "SUPERSHIFT ALT,delete,exit"
"SUPER,F,fullscreen" "SUPER,F,fullscreen"
"SUPER,Space,togglefloating" "SUPER,Space,togglefloating"
@ -67,8 +70,8 @@
"SUPER,8,workspace,8" "SUPER,8,workspace,8"
"SUPER,9,workspace,9" "SUPER,9,workspace,9"
"SUPER,0,workspace,10" "SUPER,0,workspace,10"
"SUPERALT,up,workspace,e+1" "SUPER,comma,workspace,e+1"
"SUPERALT,down,workspace,e-1" "SUPER,period,workspace,e-1"
"SUPER,tab,focusCurrentOrLast" "SUPER,tab,focusCurrentOrLast"
# Move workspace # Move workspace