pinwheel: Pause spotify when locking screen

This commit is contained in:
Alexander Heldt
2023-09-19 22:08:40 +02:00
parent 2c90e636b5
commit 1f36f8539b

View File

@@ -14,7 +14,7 @@
wayland.windowManager.hyprland = {
settings = {
bind = [
"$mod, x, exec, ${pkgs.swaylock}/bin/swaylock"
"$mod, x, exec, ${pkgs.playerctl}/bin/playerctl -p spotify play-pause; ${pkgs.swaylock}/bin/swaylock"
];
};
};