aboutsummaryrefslogtreecommitdiff
path: root/hypr
diff options
context:
space:
mode:
authoreric.marin <maarin.eric@gmail.com>2025-03-24 08:42:44 +0100
committereric.marin <maarin.eric@gmail.com>2025-09-07 21:19:28 +0200
commit5798601f2527b6535fbafba7e22de4dd53954718 (patch)
treef045e8af54d09e7c19186c29d20ee0a28f2743d3 /hypr
parent04d957a4d276c6c18570d6d658b17bed36f3190b (diff)
downloaddotfiles-5798601f2527b6535fbafba7e22de4dd53954718.tar.gz
dotfiles-5798601f2527b6535fbafba7e22de4dd53954718.zip
update
Diffstat (limited to 'hypr')
-rw-r--r--hypr/hypridle.conf4
-rw-r--r--hypr/hyprlock.conf48
2 files changed, 3 insertions, 49 deletions
diff --git a/hypr/hypridle.conf b/hypr/hypridle.conf
index 3479819..7f9a435 100644
--- a/hypr/hypridle.conf
+++ b/hypr/hypridle.conf
@@ -1,5 +1,7 @@
general {
lock_cmd = pidof hyprlock || hyprlock
+ before_sleep_cmd = loginctl lock-session && niri msg action power-off-monitors
+ inhibit_sleep = 1
}
listener {
@@ -10,5 +12,5 @@ listener {
listener {
timeout = 360
- on-timeout = loginctl lock-session && niri msg action power-off-monitors
+ on-timeout = systemctl suspend
}
diff --git a/hypr/hyprlock.conf b/hypr/hyprlock.conf
deleted file mode 100644
index 776d9e1..0000000
--- a/hypr/hyprlock.conf
+++ /dev/null
@@ -1,48 +0,0 @@
-general {
- hide_cursor = true
- ignore_empty_input = true
- immediate_render = true
- disable_loading_bar = true
-}
-
-background {
- monitor = eDP-1
- path = /home/eric.marin/Pictures/Backgrounds/dorohedoro.webp
- blur_passes = 2
- blur_size = 1
-}
-input-field {
- monitor = eDP-1
- size = 500, 100
- outline_thickness = 2
- dots_size = 0.3 # Scale of input-field height, 0.2 - 0.8
- dots_spacing = 0.35 # Scale of dots' absolute size, 0.0 - 1.0
- dots_center = false
- outer_color = rgb(132,83,84)
- inner_color = rgb(33,33,24)
- font_color = rgb(241,239,218)
- fade_on_empty = true
-
- placeholder_text = <i></i>
- fail_text = <i>Wrong Password...</i>
- fail_color = rgb(169,87,88)
-
- position = 0, -300
- halign = center
- valign = center
-}
-label {
- monitor = eDP-1
- text = cmd[update:1000] date +"%H:%M:%S"
- color = rgb(241,239,218)
- font_size = 100
- font_family = Hack Nerd Font
-
- position = 0, 300
- halign = center
- valign = center
-
- shadow_passes = 1
- shadow_color = rgb(33,33,24)
-}
-