hyprland: use playerctl instead of mpc

This commit is contained in:
krolxon 2025-10-31 14:29:16 +05:30
parent 85cd1bcd94
commit f7fd319a30
1 changed files with 5 additions and 3 deletions

View File

@ -218,9 +218,11 @@ bind = ,PRINT, exec, screenshot
# Music Controls
bind = $mainMod, m, exec, $terminal -e zsh -i -c "ncmpcpp"
bind = $mainMod, p, exec, mpc toggle
binde = $mainMod, comma, exec, mpc seek -10
binde = $mainMod, period, exec, mpc seek +10
bind = $mainMod, p, exec, playerctl play-pause
binde = $mainMod, period, exec, playerctl position 10+
binde = $mainMod, comma, exec, playerctl position 10-
bind = $mainMod SHIFT, period, exec, playerctl next
bind = $mainMod SHIFT, comma, exec, playerctl previous
# Swap current focused window with master
bind = $mainMod, space, layoutmsg, swapwithmaster