Files
simple-hyprland/configs/hypr/hyprlock.conf

108 lines
3.0 KiB
Plaintext

#user created manually
source = $HOME/.config/hypr/mocha.conf
$lock_main = rgb(203, 166, 247)
$lock_outer_color = rgb(203, 166, 247)
$lock_inner_color = rgb(30, 30, 30)
$lock_font_color = rgb(166, 173, 200)
#user added manually
$accent = $mauve
$accentAlpha = $mauveAlpha
$font = JetBrainsMono Nerd Font
background {
monitor =
path = ~/.config/assets/backgrounds/cat_leaves_blurred.png # only png supported for now
}
general {
hide_cursor = true
}
input-field {
monitor =
size = 200, 50
outline_thickness = 2
dots_size = 0.33 # 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_rounding = -1 # -1 default circle, -2 follow input-field rounding
# user modified manually
outer_color = $lock_outer_color
inner_color = $lock_inner_color
font_color = $lock_font_color
fade_on_empty = true
fade_timeout = 1000 # Milliseconds before fade_on_empty is triggered.
placeholder_text = <i>Input Password...</i> # Text rendered in the input box when it's empty.
hide_input = false
rounding = -1 # -1 means complete rounding (circle/oval)
check_color = rgb(204, 136, 34)
fail_color = rgb(204, 34, 34) # if authentication failed, changes outer_color and fail message color
fail_text = <i>$FAIL <b>($ATTEMPTS)</b></i> # can be set to empty
fail_transition = 100 # transition time in ms between normal outer_color and fail_color
capslock_color = -1
numlock_color = -1
bothlock_color = -1 # when both locks are active. -1 means don't change outer color (same for above)
invert_numlock = false # change color if numlock is off
swap_font_color = false # see below
position = 0, -20
halign = center
valign = center
}
label {
monitor =
text = cmd[update:1000] echo "$TIME"
# user modified manually
color = $lock_font_color
font_size = 55
font_family = Fira Semibold
position = -100, 40
halign = right
valign = bottom
shadow_passes = 5
shadow_size = 10
}
#user added manually
label {
monitor =
text = Layout: $LAYOUT
color = $text
font_size = 20
font_family = $font
position = 30, -30
halign = left
valign = top
}
label {
monitor =
# user modified manually
text = Arch BTW
color = $lock_font_color
font_size = 20
font_family = Fira Semibold
position = -100, 160
halign = right
valign = bottom
shadow_passes = 5
shadow_size = 10
}
image {
monitor =
path = ~/.config/assets/backgrounds/cat_pacman.png
size = 280 # lesser side if not 1:1 ratio
rounding = -1 # negative values mean circle
border_size = 2
# user modified manually
border_color = $lock_main
rotate = 0 # degrees, counter-clockwise
reload_time = -1 # seconds between reloading, 0 to reload with SIGUSR2
# reload_cmd = # command to get new path. if empty, old path will be used. don't run "follow" commands like tail -F
position = 0, 200
halign = center
valign = center
}