diff options
Diffstat (limited to '.config/hypr')
-rw-r--r-- | .config/hypr/hypridle.conf | 16 | ||||
-rw-r--r-- | .config/hypr/hyprland.conf | 2 | ||||
-rw-r--r-- | .config/hypr/hyprlock.conf | 84 |
3 files changed, 102 insertions, 0 deletions
diff --git a/.config/hypr/hypridle.conf b/.config/hypr/hypridle.conf new file mode 100644 index 0000000..b220f07 --- /dev/null +++ b/.config/hypr/hypridle.conf @@ -0,0 +1,16 @@ +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. +} + +listener { + timeout = 300 # 5min + on-timeout = loginctl lock-session # lock screen when timeout has passed +} + +listener { + timeout = 330 # 5.5min + on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed + on-resume = hyprctl dispatch dpms on # screen on when activity is detected after timeout has fired. +} diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 6007d92..0955865 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -126,6 +126,8 @@ cursor { no_hardware_cursors = true enable_hyprcursor = true sync_gsettings_theme = true + no_warps = true + inactive_timeout = 15 } gestures { diff --git a/.config/hypr/hyprlock.conf b/.config/hypr/hyprlock.conf new file mode 100644 index 0000000..10887bb --- /dev/null +++ b/.config/hypr/hyprlock.conf @@ -0,0 +1,84 @@ +general { + hide_cursor = true +} + +# Background +background { + monitor = + path = ~/.config/swww/current.set + + blur_passes = 4 + blur_size = 7 + noise = 0.0200 + contrast = 0.8916 + brightness = 0.8172 + vibrancy = 0.1696 + vibrancy_darkness = 0.0 +} + +# Time +label { + monitor = + text = $TIME + color = rgba(235, 219, 178, 1) + font_size = 64 + font_family = Iosevka Nerd Font Mono + shadow_passes = 2 + + position = 0, 180 + halign = center + valign = center +} + +# Date +label { + monitor = + text = cmd[update:1000] date +"%A, %B %d" + color = rgba(235, 219, 178, 1) + font_size = 18 + font_family = Iosevka Nerd Font Mono + shadow_passes = 1 + + position = 0, 120 + halign = center + valign = center +} + +# Profile image +image { + monitor = + path = ~/.face.icon + size = 130 + border_size = 2 + border_color = rgba(235, 219, 178, 1) + rounding = -1 + shadow_passes = 1 + + position = 0, 0 + halign = center + valign = center +} + +# Password input field +input-field { + monitor = + size = 250, 40 + + outline_thickness = 2 + outer_color = rgba(235, 219, 178, 1) + fade_on_empty = false + + inner_color = rgba(29, 32, 33, 1) + check_color = rgba(184, 187, 38, 1) + fail_color = rgba(251, 73, 52, 1) + + placeholder_text = <b>Password</b> + font_family = Iosevka Nerd Font Mono + font_color = rgba(235, 219, 178, 1) + + shadow_passes = 1 + + position = 0, -140 + halign = center + valign = center +} |