hypridle: fixed auto suspend script

This commit is contained in:
Aly Raffauf 2024-04-17 23:22:58 -04:00
parent 1242e0d62e
commit 8b3d6fa550

View file

@ -46,7 +46,7 @@
listener {
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
}
'';
};