Add swayidle

This commit is contained in:
Charlotte 🦝 Delenk 2022-02-02 20:12:21 +01:00
parent 7a9063e85b
commit 1003e33c38
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122
2 changed files with 5 additions and 3 deletions

View file

@ -53,12 +53,16 @@
{
command = "${pkgs.mako}/bin/mako";
}
{
command = "${pkgs.swayidle}/bin/swayidle -w timeout 300 '${pkgs.swaylock}/bin/swaylock' timeout 305 '${pkgs.sway}/bin/swaymsg \"output * dpms off\"' resume '${pkgs.sway}/bin/swaymsg \"output * dpms on\"' lock '${pkgs.swaylock}/bin/swaylock' unlock '${pkgs.procps}/bin/pkill swayidle'";
}
];
};
wrapperFeatures.gtk = true;
};
home.file.".XCompose".source = ../../extra/.XCompose;
home.file.".XCompose ".source = ../../extra/.XCompose;
}

View file

@ -10,8 +10,6 @@
programs.sway = {
enable = true;
extraPackages = with pkgs; [
swaylock
swayidle
xwayland
wl-clipboard
(python38.withPackages (ps: with ps; [ i3pystatus keyring ]))