Daemonize swaylock rather than waiting 0.5s on hibernate
diff --git a/src/apps/personal/sway/wlogout-layout.layout b/src/apps/personal/sway/wlogout-layout.layout
index 3f72403..fe68d0d 100644
--- a/src/apps/personal/sway/wlogout-layout.layout
+++ b/src/apps/personal/sway/wlogout-layout.layout
@@ -6,7 +6,7 @@
}
{
"label" : "hibernate",
- "action" : "swaylock -c 000000 & sleep 0.5 && systemctl hibernate",
+ "action" : "swaylock -c 000000 -f && systemctl hibernate",
"text" : "Hibernate",
"keybind" : "h"
}
@@ -24,7 +24,7 @@
}
{
"label" : "suspend",
- "action" : "swaylock -c 000000 & sleep 0.5 && systemctl suspend",
+ "action" : "swaylock -c 000000 -f && systemctl suspend",
"text" : "Suspend",
"keybind" : "u"
}