home

My NixOS systems configurations.
Log | Files | Refs | LICENSE

commit 62ab987e6c34db529b6bf6f7cf40b1ae62531a30
parent 193258dbeb421d3359119d33da507a0006fc1453
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Wed, 24 Aug 2022 15:36:31 +0200

users/vincent: temporarly disable dpms stuff

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Musers/vincent/desktop/sway.nix | 7++++---
1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/users/vincent/desktop/sway.nix b/users/vincent/desktop/sway.nix @@ -261,13 +261,14 @@ in enable = true; events = [ { event = "before-sleep"; command = "${pkgs.swaylock}/bin/swaylock -i $HOME/desktop/pictures/lockscreen"; } - { event = "after-resume"; command = ''swaymsg "output * dpms on"''; } + #{ event = "after-resume"; command = ''${pkgs.sway}/bin/swaymsg "output * dpms on"''; } + #{ event = "resume"; command = ''${pkgs.sway}/bin/swaymsg "output * dpms on"''; } { event = "lock"; command = "${pkgs.swaylock}/bin/swaylock -i $HOME/desktop/pictures/lockscreen"; } - { event = "unlock"; command = ''swaymsg "output * dpms on"''; } + #{ event = "unlock"; command = ''${pkgs.sway}/bin/swaymsg "output * dpms on"''; } ]; timeouts = [ { timeout = 600; command = "${pkgs.swaylock}/bin/swaylock -i $HOME/desktop/pictures/lockscreen"; } - { timeout = 1200; command = ''swaymsg "output * dpms off"''; } + #{ timeout = 1200; command = ''${pkgs.sway}/bin/swaymsg "output * dpms off"''; } ]; }; };