add swayidle

This commit is contained in:
Cyryl Płotnicki 2020-08-01 17:08:51 +01:00
parent 30ab3d8ddf
commit 99eb1ff5f1

View file

@ -43,12 +43,10 @@ in
} }
]; ];
startup = [ startup = [
{ { command = "${pkgs.wl-clipboard}/bin/wl-paste -t text --watch ${pkgs.clipman}/bin/clipman store"; }
command = "${pkgs.wl-clipboard}/bin/wl-paste -t text --watch ${pkgs.clipman}/bin/clipman store"; { command = "${pkgs.clipman}/bin/clipman restore"; }
} { command = ''swayidle -w timeout 300 'swaylock -f -c 000000' timeout 600 'swaymsg "outout * dpms off"' resume 'swaymsg "outout * dpms off"' before-sleep 'swaylock -f -c 000000'
{ ''; }
command = "${pkgs.clipman}/bin/clipman restore";
}
]; ];
output.eDP-1.scale = "1.7"; output.eDP-1.scale = "1.7";
input."1:1:AT_Translated_Set_2_keyboard" = { input."1:1:AT_Translated_Set_2_keyboard" = {