From 09effe300430570f49e13b7bcfe5293f155ccf94 Mon Sep 17 00:00:00 2001 From: The_miro Date: Thu, 16 Oct 2025 22:02:11 +0200 Subject: [PATCH 1/4] hyprlock fprint --- desktopenvs/hyprland/hypr/hyprlock.conf | 1 + .../xfce4/xfconf/xfce-perchannel-xml/thunar-volman.xml | 10 ++++++++++ .../xfce4/xfconf/xfce-perchannel-xml/thunar.xml | 6 +++++- .../xfconf/xfce-perchannel-xml/xfce4-power-manager.xml | 8 ++++++++ 4 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 desktopenvs/hyprland/xfce4/xfconf/xfce-perchannel-xml/thunar-volman.xml create mode 100644 desktopenvs/hyprland/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml diff --git a/desktopenvs/hyprland/hypr/hyprlock.conf b/desktopenvs/hyprland/hypr/hyprlock.conf index 059b3fb..56693de 100644 --- a/desktopenvs/hyprland/hypr/hyprlock.conf +++ b/desktopenvs/hyprland/hypr/hyprlock.conf @@ -9,6 +9,7 @@ general { auth { pam:module = sudo + fingerprint:enabled = true } background { diff --git a/desktopenvs/hyprland/xfce4/xfconf/xfce-perchannel-xml/thunar-volman.xml b/desktopenvs/hyprland/xfce4/xfconf/xfce-perchannel-xml/thunar-volman.xml new file mode 100644 index 0000000..2a86acb --- /dev/null +++ b/desktopenvs/hyprland/xfce4/xfconf/xfce-perchannel-xml/thunar-volman.xml @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/desktopenvs/hyprland/xfce4/xfconf/xfce-perchannel-xml/thunar.xml b/desktopenvs/hyprland/xfce4/xfconf/xfce-perchannel-xml/thunar.xml index 0b93cf5..198ea79 100644 --- a/desktopenvs/hyprland/xfce4/xfconf/xfce-perchannel-xml/thunar.xml +++ b/desktopenvs/hyprland/xfce4/xfconf/xfce-perchannel-xml/thunar.xml @@ -1,9 +1,13 @@ - + + + + + diff --git a/desktopenvs/hyprland/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml b/desktopenvs/hyprland/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml new file mode 100644 index 0000000..24a0794 --- /dev/null +++ b/desktopenvs/hyprland/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml @@ -0,0 +1,8 @@ + + + + + + + + From 9d8e111456dde463d5aac96daee9ccac50ec9a9b Mon Sep 17 00:00:00 2001 From: The_miro Date: Thu, 16 Oct 2025 22:05:24 +0200 Subject: [PATCH 2/4] slightly changed hyprlock layout --- desktopenvs/hyprland/hypr/hyprlock.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/desktopenvs/hyprland/hypr/hyprlock.conf b/desktopenvs/hyprland/hypr/hyprlock.conf index 56693de..a732edf 100644 --- a/desktopenvs/hyprland/hypr/hyprlock.conf +++ b/desktopenvs/hyprland/hypr/hyprlock.conf @@ -50,7 +50,7 @@ label { color = rgb(5018dd) font_size = 34 font_family = Agave Nerd Font Mono - position = 0, 30% + position = 0, 40% halign = center valign = center } @@ -59,9 +59,9 @@ label { label { text = cmd[update:1000] sh ~/Dotfiles/desktopenvs/hyprland/scripts/time.sh color = rgb(E40046) - font_size = 94 + font_size = 95 font_family = Agave Nerd Font Mono - position = 0, 20% + position = 0, 25% halign = center valign = center } From 4c6e7b788b49b19acdb2ae32654e5b9aa674c7ba Mon Sep 17 00:00:00 2001 From: The_miro Date: Thu, 16 Oct 2025 23:16:30 +0200 Subject: [PATCH 3/4] added better hibernate to idle --- desktopenvs/hyprland/hypr/hypridle.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktopenvs/hyprland/hypr/hypridle.conf b/desktopenvs/hyprland/hypr/hypridle.conf index 4370c5a..e84ffea 100644 --- a/desktopenvs/hyprland/hypr/hypridle.conf +++ b/desktopenvs/hyprland/hypr/hypridle.conf @@ -11,7 +11,7 @@ listener { listener { timeout = 600 #10min - on-timeout = systemctl suspend # suspend pc + on-timeout = systemctl suspend-then-hibernate # suspend pc } From 608c8fd3e7106517fe2a91fd085524536457f01a Mon Sep 17 00:00:00 2001 From: The_miro Date: Thu, 16 Oct 2025 23:25:39 +0200 Subject: [PATCH 4/4] added better suspend functionality --- desktopenvs/hyprland/hypr/hypridle.conf | 3 ++- desktopenvs/hyprland/scripts/pwr-dmenu.sh | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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