aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCamil Staps2023-03-06 10:18:07 +0100
committerCamil Staps2023-03-06 10:18:07 +0100
commitdbe3ed9d309f9107370dc4bcba02a8daa70d66d8 (patch)
tree5d9ceff2ad5503d98246ae91776683c1f184a6ac
parenti3 status bar: new icons for battery status (diff)
Use suspend-then-hibernate instead of suspend
-rwxr-xr-xi3/bin/suspend-menu2
1 files changed, 1 insertions, 1 deletions
diff --git a/i3/bin/suspend-menu b/i3/bin/suspend-menu
index 7b8c802..46342ec 100755
--- a/i3/bin/suspend-menu
+++ b/i3/bin/suspend-menu
@@ -15,7 +15,7 @@ EOF
CHOICE="$(print_options | dmenu -i -fn 'DejaVu Sans' -nb '#900000' -nf white -sb '#680a0a' -sf white)"
case "$CHOICE" in
- suspend) systemctl suspend ;;
+ suspend) sleep 5; systemctl suspend-then-hibernate ;;
reboot) systemctl reboot ;;
shutdown) shutdown now ;;
"reload i3 configuration in-place") i3-msg reload ;;