move desktop shit again
This commit is contained in:
parent
df0ffea214
commit
500c18b76a
41 changed files with 69 additions and 69 deletions
17
modules/desktop/home/swayidle.nix
Normal file
17
modules/desktop/home/swayidle.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{pkgs, ...}: {
|
||||
# unsure whether i still need swayidle, will keep it in and might remove after further testing
|
||||
|
||||
services.swayidle = {
|
||||
enable = true;
|
||||
events = [
|
||||
{
|
||||
event = "before-sleep";
|
||||
command = "${pkgs.swaylock}/bin/swaylock -fF -c 442244";
|
||||
}
|
||||
{
|
||||
event = "lock";
|
||||
command = "swaylock -c 441144";
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue