refactor: hyprlock (from https://github.com/MrVivekRajan/Hyprlock-Styles)
This commit is contained in:
@@ -1,111 +1,89 @@
|
|||||||
# sample hyprlock.conf
|
# BACKGROUND
|
||||||
# for more configuration options, refer https://wiki.hyprland.org/Hypr-Ecosystem/hyprlock
|
|
||||||
#
|
|
||||||
# rendered text in all widgets supports pango markup (e.g. <b> or <i> tags)
|
|
||||||
# ref. https://wiki.hyprland.org/Hypr-Ecosystem/hyprlock/#general-remarks
|
|
||||||
#
|
|
||||||
# shortcuts to clear password buffer: ESC, Ctrl+U, Ctrl+Backspace
|
|
||||||
#
|
|
||||||
# you can get started by copying this config to ~/.config/hypr/hyprlock.conf
|
|
||||||
#
|
|
||||||
|
|
||||||
$font = Iosevka
|
|
||||||
|
|
||||||
general {
|
|
||||||
hide_cursor = true
|
|
||||||
}
|
|
||||||
|
|
||||||
# uncomment to enable fingerprint authentication
|
|
||||||
# auth {
|
|
||||||
# fingerprint {
|
|
||||||
# enabled = true
|
|
||||||
# ready_message = Scan fingerprint to unlock
|
|
||||||
# present_message = Scanning...
|
|
||||||
# retry_delay = 250 # in milliseconds
|
|
||||||
# }
|
|
||||||
# }
|
|
||||||
|
|
||||||
animations {
|
|
||||||
enabled = true
|
|
||||||
bezier = linear, 1, 1, 0, 0
|
|
||||||
animation = fadeIn, 1, 5, linear
|
|
||||||
animation = fadeOut, 1, 5, linear
|
|
||||||
animation = inputFieldDots, 1, 2, linear
|
|
||||||
}
|
|
||||||
|
|
||||||
background {
|
background {
|
||||||
monitor =
|
monitor =
|
||||||
path = screenshot
|
path = /home/greg/Pictures/Wallpapers/waporvape-dark-tvlike-pink.png
|
||||||
# path = /home/greg/Pictures/Wallpapers/japan_tower_sakura.jpg
|
blur_passes = 0
|
||||||
blur_passes = 3
|
contrast = 0.8916
|
||||||
|
brightness = 0.8172
|
||||||
|
vibrancy = 0.1696
|
||||||
|
vibrancy_darkness = 0.0
|
||||||
}
|
}
|
||||||
|
|
||||||
image {
|
# GENERAL
|
||||||
# TODO: store there images somewhere in the config dir
|
general {
|
||||||
path = /home/greg/Pictures/Things/niko.jpg
|
no_fade_in = false
|
||||||
position = 0, 40
|
grace = 0
|
||||||
|
disable_loading_bar = false
|
||||||
|
}
|
||||||
|
|
||||||
|
# Time-Hour
|
||||||
|
label {
|
||||||
|
monitor =
|
||||||
|
text = cmd[update:1000] echo "<span>$(date +"%I")</span>"
|
||||||
|
color = rgba(255, 255, 255, 1)
|
||||||
|
font_size = 125
|
||||||
|
font_family = StretchPro
|
||||||
|
position = -80, 190
|
||||||
halign = center
|
halign = center
|
||||||
valign = center
|
valign = center
|
||||||
size = 100, 100
|
|
||||||
rounding = -1
|
|
||||||
border_color = rgba(9E223800)
|
|
||||||
shadow_passes = 1
|
|
||||||
shadow_size = 3
|
|
||||||
shadow_color = rgb(aaaaaa)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Time-Minute
|
||||||
|
label {
|
||||||
|
monitor =
|
||||||
|
text = cmd[update:1000] echo "<span>$(date +"%M")</span>"
|
||||||
|
color = rgba(232, 60, 130, 1)
|
||||||
|
font_size = 125
|
||||||
|
font_family = StretchPro
|
||||||
|
position = 0, 70
|
||||||
|
halign = center
|
||||||
|
valign = center
|
||||||
|
}
|
||||||
|
|
||||||
|
# Day-Month-Date
|
||||||
|
label {
|
||||||
|
monitor =
|
||||||
|
text = cmd[update:1000] echo -e "$(date +"%d %B, %a.")"
|
||||||
|
color = rgba(255, 255, 255, 100)
|
||||||
|
font_size = 22
|
||||||
|
font_family = Suisse Int'l Mono
|
||||||
|
position = 20, -8
|
||||||
|
halign = center
|
||||||
|
valign = center
|
||||||
|
}
|
||||||
|
|
||||||
|
# USER
|
||||||
|
label {
|
||||||
|
monitor =
|
||||||
|
text = $USER
|
||||||
|
color = rgba(232, 60, 130, 1)
|
||||||
|
outline_thickness = 2
|
||||||
|
dots_size = 0.2 # Scale of input-field height, 0.2 - 0.8
|
||||||
|
dots_spacing = 0.2 # Scale of dots' absolute size, 0.0 - 1.0
|
||||||
|
dots_center = true
|
||||||
|
font_size = 22
|
||||||
|
font_family = SF Pro Display Bold
|
||||||
|
position = 0, -220
|
||||||
|
halign = center
|
||||||
|
valign = center
|
||||||
|
}
|
||||||
|
|
||||||
|
# INPUT FIELD
|
||||||
input-field {
|
input-field {
|
||||||
monitor =
|
monitor =
|
||||||
size = 15%, 5%
|
size = 300, 60
|
||||||
outline_thickness = 3
|
outline_thickness = 2
|
||||||
inner_color = rgba(0, 0, 0, 0.5) # no fill
|
dots_size = 0.2 # Scale of input-field height, 0.2 - 0.8
|
||||||
|
dots_spacing = 0.2 # Scale of dots' absolute size, 0.0 - 1.0
|
||||||
outer_color = rgba(9E223800)
|
dots_center = true
|
||||||
check_color = rgba(ffff00ff) rgba(E96375ff) 120deg
|
outer_color = rgba(0, 0, 0, 0)
|
||||||
fail_color = rgba(ff6633ee) rgba(ff0066ee) 40deg
|
inner_color = rgba(255, 255, 255, 0.1)
|
||||||
|
font_color = rgb(200, 200, 200)
|
||||||
font_color = rgb(255,255,255)
|
|
||||||
fade_on_empty = false
|
fade_on_empty = false
|
||||||
rounding = 15
|
font_family = SF Pro Display Bold
|
||||||
|
placeholder_text = <i><span foreground="##FB6F7F99">パスワード</span></i>
|
||||||
font_family = $font
|
hide_input = false
|
||||||
placeholder_text = パスワード
|
position = 0, -290
|
||||||
fail_text = $PAMFAIL
|
|
||||||
|
|
||||||
# uncomment to use a letter instead of a dot to indicate the typed password
|
|
||||||
# dots_text_format = *
|
|
||||||
# dots_size = 0.4
|
|
||||||
dots_spacing = 0.3
|
|
||||||
|
|
||||||
# uncomment to use an input indicator that does not show the password length (similar to swaylock's input indicator)
|
|
||||||
# hide_input = true
|
|
||||||
|
|
||||||
position = 0, -100
|
|
||||||
halign = center
|
halign = center
|
||||||
valign = center
|
valign = center
|
||||||
}
|
}
|
||||||
|
|
||||||
# TIME
|
|
||||||
label {
|
|
||||||
monitor =
|
|
||||||
text = $TIME # ref. https://wiki.hyprland.org/Hypr-Ecosystem/hyprlock/#variable-substitution
|
|
||||||
font_size = 90
|
|
||||||
font_family = $font
|
|
||||||
|
|
||||||
position = 0, -50
|
|
||||||
halign = center
|
|
||||||
valign = top
|
|
||||||
}
|
|
||||||
|
|
||||||
# DATE
|
|
||||||
label {
|
|
||||||
monitor =
|
|
||||||
text = cmd[update:60000] date +"%A, %d %B %Y" # update every 60 seconds
|
|
||||||
font_size = 25
|
|
||||||
font_family = $font
|
|
||||||
|
|
||||||
position = 0, -200
|
|
||||||
halign = center
|
|
||||||
valign = top
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user