mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 08:41:34 +02:00
hypr: setup idle and lock
This commit is contained in:
parent
f44cdfe93c
commit
a71c011b54
2 changed files with 68 additions and 2 deletions
9
config/hypr/hypridle.conf
Normal file
9
config/hypr/hypridle.conf
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
general {
|
||||
lock_cmd = "hyprlock"
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 300
|
||||
on-timeout = "brillo -O; brillo -u 500000 -S 10"
|
||||
on-resume = "brillo -I -u 250000"
|
||||
}
|
||||
|
|
@ -1,2 +1,59 @@
|
|||
bezier = linear, 1, 1, 0, 0
|
||||
animation = fade, 1, 1.8, linear
|
||||
general {
|
||||
immediate_render = true
|
||||
hide_cursor = false
|
||||
}
|
||||
|
||||
background {
|
||||
monitor =
|
||||
blur_passes = 3
|
||||
blur_size = 12
|
||||
noise = 0.1
|
||||
contrast = 1.3
|
||||
brightness = 0.2
|
||||
vibrancy = 0.5
|
||||
vibrancy_darkness = 0.3
|
||||
}
|
||||
|
||||
label {
|
||||
monitor =
|
||||
text = cmd[update:1000] echo "<span font-weight='light' >$(date +'%H %M %S')</span>"
|
||||
font_size = 300
|
||||
font_family = "Adwaita Sans Thin"
|
||||
|
||||
color = rgba(7aa2f7aa)
|
||||
position = 0%, 2%
|
||||
|
||||
halign = center
|
||||
valign = center
|
||||
|
||||
shadow_color = rgba(5, 7, 5, 0.1)
|
||||
shadow_size = 20
|
||||
shadow_passes = 2
|
||||
shadow_boost = 0.3
|
||||
}
|
||||
|
||||
|
||||
input-field {
|
||||
monitor =
|
||||
size = 300, 50
|
||||
valign = "bottom"
|
||||
position = 0%, 10%
|
||||
|
||||
outline_thickness = 1
|
||||
|
||||
font_color = rgb(211, 213, 202)
|
||||
outer_color = rgba(29, 38, 33, 0.6)
|
||||
inner_color = rgba(15, 18, 15, 0.1)
|
||||
check_color = rgba(141, 186, 100, 0.5)
|
||||
fail_color = rgba(229, 90, 79, 0.5)
|
||||
|
||||
placeholder_text = "Enter Password";
|
||||
|
||||
dots_spacing = 0.2
|
||||
dots_center = true
|
||||
# dots_fade_time = 100
|
||||
|
||||
shadow_color = rgba(5, 7, 5, 0.1)
|
||||
shadow_size = 7
|
||||
shadow_passes = 2
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue