mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 14:23:55 -05:00
hypridle: fixed auto suspend script
This commit is contained in:
parent
1242e0d62e
commit
8b3d6fa550
|
@ -46,7 +46,7 @@
|
||||||
|
|
||||||
listener {
|
listener {
|
||||||
timeout = 900 # 15min
|
timeout = 900 # 15min
|
||||||
on-timeout = grep [[ $(${pkgs.nettools}/bin/hostname) != "mauville" ]] && ${pkgs.systemd}/bin/systemctl suspend # suspend pc unless on mauville
|
on-timeout = [ $(${pkgs.nettools}/bin/hostname) != "mauville" ] && ${pkgs.systemd}/bin/systemctl suspend # suspend pc unless on mauville
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue