flake: update 25.11
This commit is contained in:
parent
c6301c2f83
commit
e16c00c29d
19 changed files with 36 additions and 35 deletions
|
|
@ -22,7 +22,7 @@ in
|
|||
{
|
||||
timeout = 1800;
|
||||
command = asScript "swayidle-suspend-monitors" ''
|
||||
${pkgs.mpc_cli}/bin/mpc status | grep "^[playing]" > /dev/null || ${pkgs.sway}/bin/swaymsg "output * dpms off"
|
||||
${pkgs.mpc}/bin/mpc status | grep "^[playing]" > /dev/null || ${pkgs.sway}/bin/swaymsg "output * dpms off"
|
||||
'';
|
||||
resumeCommand = asScript "swayidle-wakeup-monitors" ''
|
||||
${pkgs.sway}/bin/swaymsg "output * dpms on"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue