hypr: add idle and lock packages
This commit is contained in:
parent
eb4ffcc68d
commit
d96a04ba63
2 changed files with 63 additions and 0 deletions
22
hypr/hypridle.conf
Normal file
22
hypr/hypridle.conf
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
|
||||||
|
general {
|
||||||
|
# lock_cmd = notify-send "lock!" # dbus/sysd lock command (loginctl lock-session)
|
||||||
|
# unlock_cmd = notify-send "unlock!" # same as above, but unlock
|
||||||
|
# before_sleep_cmd = notify-send "Zzz" # command ran before sleep
|
||||||
|
# after_sleep_cmd = notify-send "Awake!" # command ran after sleep
|
||||||
|
ignore_dbus_inhibit = true # whether to ignore dbus-sent idle-inhibit requests (used by e.g. firefox or steam)
|
||||||
|
}
|
||||||
|
|
||||||
|
# Screenlock
|
||||||
|
listener {
|
||||||
|
timeout = 300 # in seconds
|
||||||
|
on-timeout = hyprlock # command to run when timeout has passed
|
||||||
|
on-resume = notify-send "Welcome back Thomas!" # command to run when activity is detected after timeout has fired.
|
||||||
|
}
|
||||||
|
|
||||||
|
# Suspend
|
||||||
|
listener {
|
||||||
|
timeout = 360 # in seconds
|
||||||
|
on-timeout = systemctl suspend # command to run when timeout has passed
|
||||||
|
on-resume = notify-send "Welcome back Thomas!" # command to run when activity is detected after timeout has fired.
|
||||||
|
}
|
41
hypr/hyprlock.conf
Normal file
41
hypr/hyprlock.conf
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
background {
|
||||||
|
monitor =
|
||||||
|
path = screenshot
|
||||||
|
color = rgba(25, 20, 20, 1.0)
|
||||||
|
# all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations
|
||||||
|
blur_passes = 4 # 0 disables blurring
|
||||||
|
blur_size = 2
|
||||||
|
noise = 0.0117
|
||||||
|
contrast = 0.8916
|
||||||
|
brightness = 0.8172
|
||||||
|
vibrancy = 0.1696
|
||||||
|
vibrancy_darkness = 0.0
|
||||||
|
}
|
||||||
|
input-field {
|
||||||
|
monitor =
|
||||||
|
size = 200, 50
|
||||||
|
outline_thickness = 0
|
||||||
|
dots_size = 0.2 # Scale of input-field height, 0.2 - 0.8
|
||||||
|
dots_spacing = 0.15 # Scale of dots' absolute size, 0.0 - 1.0
|
||||||
|
dots_center = true
|
||||||
|
dots_color = rgb(200, 200, 200)
|
||||||
|
outer_color = rgb(40,40,40)
|
||||||
|
inner_color = rgb(60,56,54)
|
||||||
|
font_color = rgb(168,153,132)
|
||||||
|
fade_on_empty = true
|
||||||
|
placeholder_text = <i>Input Password...</i> # Text rendered in the input box when it's empty.
|
||||||
|
hide_input = false
|
||||||
|
position = 0, -20
|
||||||
|
halign = center
|
||||||
|
valign = center
|
||||||
|
}
|
||||||
|
label {
|
||||||
|
monitor =
|
||||||
|
text = Enter password
|
||||||
|
color = rgba(200, 200, 200, 1.0)
|
||||||
|
font_size = 25
|
||||||
|
font_family = PragmataPro Mono
|
||||||
|
position = 0, 200
|
||||||
|
halign = center
|
||||||
|
valign = center
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue