Add swayidle
This commit is contained in:
parent
7a9063e85b
commit
1003e33c38
2 changed files with 5 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -10,8 +10,6 @@
|
|||
programs.sway = {
|
||||
enable = true;
|
||||
extraPackages = with pkgs; [
|
||||
swaylock
|
||||
swayidle
|
||||
xwayland
|
||||
wl-clipboard
|
||||
(python38.withPackages (ps: with ps; [ i3pystatus keyring ]))
|
||||
|
|
Loading…
Reference in a new issue