feat(hypr): add media player binds
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
c5afea7251
commit
0aea88d777
1 changed files with 7 additions and 0 deletions
|
@ -38,6 +38,13 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
bind = [
|
||||||
|
",XF86AudioPlay, exec, playerctl play-pause"
|
||||||
|
",XF86AudioStop, exec, playerctl stop"
|
||||||
|
",XF86AudioNext, exec, playerctl next"
|
||||||
|
",XF86AudioPrev, exec, playerctl previous"
|
||||||
|
];
|
||||||
|
|
||||||
exec-once =
|
exec-once =
|
||||||
optionals (! isNull mainMonitor)
|
optionals (! isNull mainMonitor)
|
||||||
["hyprctl dispatch focusmonitor ${mainMonitor}"];
|
["hyprctl dispatch focusmonitor ${mainMonitor}"];
|
||||||
|
|
Loading…
Reference in a new issue