added better suspend functionality
parent
4c6e7b788b
commit
608c8fd3e7
|
|
@ -2,7 +2,8 @@
|
||||||
general {
|
general {
|
||||||
lock_cmd = pidof hyprlock || hyprlock # avoid starting multiple hyprlock instances.
|
lock_cmd = pidof hyprlock || hyprlock # avoid starting multiple hyprlock instances.
|
||||||
before_sleep_cmd = loginctl lock-session # lock before suspend.
|
before_sleep_cmd = loginctl lock-session # lock before suspend.
|
||||||
after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key twice to turn on the display.
|
after_sleep_cmd = systemctl restart fprintd.service ;; hyprctl dispatch dpms on # to avoid having to press a key twice to turn on the display.
|
||||||
|
|
||||||
}
|
}
|
||||||
listener {
|
listener {
|
||||||
timeout = 120
|
timeout = 120
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
#!/bin/zsh
|
#!/bin/zsh
|
||||||
echo "poweroff\nreboot\nhyprctl dispatch exit\nhyprlock\nhyprctl reload\nkitty ~/Dotfiles/desktopenvs/hyprland/scripts/helpmenu.sh\nkitty nvim ~/.config/binds.conf\n" | wofi --show=dmenu | zsh
|
echo "poweroff\nreboot\nsystemctl suspend-then-hibernate\nsystemctl hibernate\nsystemctl sleep\nhyprctl dispatch exit\nhyprlock\nhyprctl reload\nkitty ~/Dotfiles/desktopenvs/hyprland/scripts/helpmenu.sh\nkitty nvim ~/.config/binds.conf\n" | wofi --show=dmenu | zsh
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue