diff options
author | Camil Staps | 2023-03-06 10:18:07 +0100 |
---|---|---|
committer | Camil Staps | 2023-03-06 10:18:07 +0100 |
commit | dbe3ed9d309f9107370dc4bcba02a8daa70d66d8 (patch) | |
tree | 5d9ceff2ad5503d98246ae91776683c1f184a6ac /i3/bin | |
parent | i3 status bar: new icons for battery status (diff) |
Use suspend-then-hibernate instead of suspend
Diffstat (limited to 'i3/bin')
-rwxr-xr-x | i3/bin/suspend-menu | 2 |
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 ;; |