162 lines
3.7 KiB
Plaintext
162 lines
3.7 KiB
Plaintext
# Hyprlock style-4
|
|
# By: Vivek Rajan https://github.com/MrVivekRajan/Hyprlock-Styles/tree/main/Style-4
|
|
# Modified by: The HyDE Project
|
|
|
|
$resolve.font=SF Pro Display|https://font.download/dl/font/sf-pro-display.zip
|
|
|
|
# BACKGROUND
|
|
background {
|
|
monitor =
|
|
path = $BACKGROUND_PATH
|
|
blur_passes = 0
|
|
contrast = 0.8916
|
|
brightness = 0.8916
|
|
vibrancy = 0.8916
|
|
vibrancy_darkness = 0.0
|
|
}
|
|
|
|
# GENERAL
|
|
general {
|
|
no_fade_in = false
|
|
grace = 0
|
|
disable_loading_bar = false
|
|
}
|
|
|
|
# Profile-Photo
|
|
image {
|
|
monitor =
|
|
path = $PROFILE_IMAGE
|
|
border_size = 2
|
|
border_color = $wallbash_pry4_rgba
|
|
size = 100
|
|
rounding = -1
|
|
rotate = 0
|
|
reload_time = -1
|
|
reload_cmd =
|
|
position = 25, 200
|
|
halign = center
|
|
valign = center
|
|
}
|
|
|
|
# NAME
|
|
label {
|
|
monitor =
|
|
text = cmd[update:60000] $GREET_TEXT
|
|
color = $wallbash_txt1_rgba
|
|
outline_thickness = 0
|
|
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 = 20
|
|
font_family = SF Pro Display Bold
|
|
position = 25, 110
|
|
halign = center
|
|
valign = center
|
|
}
|
|
|
|
# Time
|
|
label {
|
|
monitor =
|
|
text = cmd[update:1000] echo "<span>$(date +"%I:%M")</span>"
|
|
color = $wallbash_txt1_rgba
|
|
font_size = 60
|
|
font_family = SF Pro Display Bold
|
|
position = 30, -8
|
|
halign = center
|
|
valign = center
|
|
}
|
|
|
|
# Day-Month-Date
|
|
label {
|
|
monitor =
|
|
text = cmd[update:1000] echo -e "$(date +"%A, %B %d")"
|
|
color = $wallbash_txt1_rgba
|
|
font_size = 19
|
|
font_family = SF Pro Display Bold
|
|
position = 35, -60
|
|
halign = center
|
|
valign = center
|
|
}
|
|
|
|
# USER-BOX
|
|
shape {
|
|
monitor =
|
|
size = 320, 55
|
|
color = rgba(255, 255, 255, 0.1)
|
|
rounding = -1
|
|
border_size = 0
|
|
border_color = $wallbash_txt3_rgba
|
|
rotate = 0
|
|
xray = false # if true, make a "hole" in the background (rectangle of specified size, no rotation)
|
|
|
|
position = 34, -190
|
|
halign = center
|
|
valign = center
|
|
}
|
|
|
|
# USER
|
|
label {
|
|
monitor =
|
|
text = $USER
|
|
color = $wallbash_1xa9_rgba
|
|
outline_thickness = 0
|
|
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 = 16
|
|
font_family = SF Pro Display Bold
|
|
position = 38, -190
|
|
halign = center
|
|
valign = center
|
|
}
|
|
|
|
# INPUT FIELD
|
|
input-field {
|
|
monitor =
|
|
size = 320, 55
|
|
outline_thickness = 0
|
|
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
|
|
outer_color = rgba(255, 255, 255, 0)
|
|
inner_color = rgba(255, 255, 255, 0.1)
|
|
font_color = $wallbash_2xa6_rgba
|
|
fade_on_empty = false
|
|
font_family = SF Pro Display Bold
|
|
placeholder_text = <i><span foreground="##ffffff99">🔒 Enter Pass</span></i>
|
|
hide_input = false
|
|
position = 34, -268
|
|
halign = center
|
|
valign = center
|
|
check_color = $wallbash_txt4_rgba
|
|
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 = 300 # transition time in ms between normal outer_color and fail_color
|
|
|
|
}
|
|
|
|
|
|
# Battery Status if present
|
|
label {
|
|
monitor =
|
|
text = cmd[update:5000] $BATTERY_ICON
|
|
color = $wallbash_4xa9_rgba
|
|
font_size = 20
|
|
font_family = JetBrainsMono Nerd Font
|
|
position = -1%, 1%
|
|
halign = right
|
|
valign = bottom
|
|
}
|
|
|
|
# Current Keyboard Layout
|
|
label {
|
|
monitor =
|
|
text = cmd[update:1000] $KEYBOARD_LAYOUT
|
|
color = $wallbash_4xa9_rgba
|
|
font_size = 20
|
|
font_family = SF Pro Display Bold
|
|
position = -2%, 1%
|
|
halign = right
|
|
valign = bottom
|
|
}
|