diff --git a/desktopenvs/hyprland/hypr/hypridle.conf b/desktopenvs/hyprland/hypr/hypridle.conf index e84ffea..dcc57d1 100644 --- a/desktopenvs/hyprland/hypr/hypridle.conf +++ b/desktopenvs/hyprland/hypr/hypridle.conf @@ -2,7 +2,8 @@ general { lock_cmd = pidof hyprlock || hyprlock # avoid starting multiple hyprlock instances. 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 { timeout = 120 diff --git a/desktopenvs/hyprland/scripts/pwr-dmenu.sh b/desktopenvs/hyprland/scripts/pwr-dmenu.sh index 6b2fb94..57971f9 100755 --- a/desktopenvs/hyprland/scripts/pwr-dmenu.sh +++ b/desktopenvs/hyprland/scripts/pwr-dmenu.sh @@ -1,3 +1,3 @@ #!/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