initial niri config
This commit is contained in:
@@ -32,12 +32,10 @@
|
||||
events = [
|
||||
{ event = "before-sleep"; command = "${pkgs.swaylock}/bin/swaylock"; }
|
||||
{ event = "lock"; command = "${pkgs.swaylock}/bin/swaylock -fF"; }
|
||||
# { event = "after-resume"; command = "${pkgs.sway}/bin/swaymsg 'output * dpms on'"; }
|
||||
# { event = "unlock"; command = "${pkgs.sway}/bin/swaymsg 'output * dpms on'"; }
|
||||
];
|
||||
timeouts = [
|
||||
{ timeout = 300; command = "${pkgs.swaylock}/bin/swaylock -fF"; }
|
||||
{ timeout = 600; command = "${pkgs.niri}/bin/niri 'msg action power-off-monitors'"; resumeCommand = "${pkgs.niri}/bin/niri 'msg action power-on-monitors'"; }
|
||||
{ timeout = 600; command = "${pkgs.niri}/bin/niri 'msg action power-off-monitors'"; }
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user