mirror of
https://github.com/Yannick7777/dotfiles.git
synced 2025-06-26 06:35:23 +02:00
132 lines
3.3 KiB
Text
132 lines
3.3 KiB
Text
general {
|
||
ignore_empty_input = true
|
||
}
|
||
|
||
background {
|
||
monitor =
|
||
path = ~/Pictures/wallpapers/purple_bg.png
|
||
color = rgb(000000)
|
||
}
|
||
|
||
input-field {
|
||
monitor =
|
||
size = 250, 50
|
||
outline_thickness = 3
|
||
dots_size = 0.25
|
||
dots_spacing = 0.3
|
||
dots_center = true
|
||
dots_rounding = -1
|
||
outer_color = rgba(CC0A9F00)
|
||
inner_color = rgba(24262B66)
|
||
font_color = rgb(CCCCFF)
|
||
font_family = 0xProto Nerd Font
|
||
fade_on_empty = false
|
||
fade_timeout = 1000
|
||
placeholder_text = <i>Input Password...</i>
|
||
hide_input = false
|
||
rounding = -1
|
||
check_color = rgb(20413634)
|
||
fail_color = rgb(2043434)
|
||
fail_text = <i>$FAIL <b>($ATTEMPTS)</b></i>
|
||
fail_timeout = 2000
|
||
fail_transition = 300
|
||
capslock_color = -1
|
||
numlock_color = -1
|
||
bothlock_color = -1
|
||
invert_numlock = false
|
||
swap_font_color = false
|
||
|
||
position = 0, -170
|
||
halign = center
|
||
valign = center
|
||
}
|
||
https://wiki.hyprland.org/Hypr-Ecosystem/hyprlock/
|
||
|
||
label {
|
||
monitor =
|
||
text = Hi $USER~
|
||
text_align = center
|
||
color = rgb(CCCCFF)
|
||
font_size = 50
|
||
font_family = 0xProto Nerd Font
|
||
rotate = 0
|
||
|
||
position = 0, 50
|
||
halign = center
|
||
valign = center
|
||
}
|
||
|
||
label {
|
||
monitor =
|
||
# text = cmd[update:1000] echo "$(LC_TIME=en_US.UTF-8 date +"It's %H:%M on a %A.")"
|
||
text = cmd[update:1000] echo "$(LC_TIME=en_US.UTF-8 date +"It's %H:%M on a %A $(date +%H | awk '{if ($1 < 5) print "night"; else if ($1 < 12) print "morning"; else if ($1 < 17) print "afternoon"; else if ($1 < 22) print "evening"; else print "night"}').")"
|
||
|
||
text_align = center
|
||
color = rgb(CCCCFF)
|
||
font_size = 25
|
||
font_family = 0xProto Nerd Font
|
||
rotate = 0
|
||
|
||
position = 0, -60
|
||
halign = center
|
||
valign = center
|
||
}
|
||
|
||
label {
|
||
monitor =
|
||
text = cmd[update:10000] echo " $(uname -sr)"
|
||
text_align = center
|
||
color = rgb(CCCCFF)
|
||
font_size = 25
|
||
font_family = 0xProto Nerd Font
|
||
rotate = 0
|
||
|
||
position = 0, 10
|
||
halign = center
|
||
valign = bottom
|
||
}
|
||
|
||
label {
|
||
monitor =
|
||
text = cmd[update:10000] echo "$(LC_TIME=en_US.UTF-8 date +" %a, %d.%m.%Y")"
|
||
text_align = center
|
||
color = rgb(CCCCFF)
|
||
font_size = 25
|
||
fant_family = 0xProto Nerd Font
|
||
rotate = 0
|
||
|
||
position = -10, 10
|
||
halign = right
|
||
valign = bottom
|
||
}
|
||
|
||
label {
|
||
monitor =
|
||
text = cmd[update:500] playerctl status | grep -q 'Playing' && title=$(playerctl metadata title) && artist=$(playerctl metadata artist) && combined="${title} - ${artist}" && echo " $(echo "$combined" | awk '{if(length > 30) print substr($0, 1, 27) "..." ; else print $0}') " || echo " No music is playing."
|
||
|
||
text_align = center
|
||
color = rgb(CCCCFF)
|
||
font_size = 25
|
||
font_family = 0xProto Nerd Font
|
||
rotate = 0
|
||
|
||
position = 10, 10
|
||
halign = left
|
||
valign = bottom
|
||
}
|
||
|
||
label {
|
||
monitor =
|
||
text = cmd[update:2000] echo "$(cat /sys/class/power_supply/BAT0/capacity | awk '{ if ($1 >= 90) icon=" "; else if ($1 >= 70) icon=" "; else if ($1 >= 50) icon=" "; else if ($1 >= 10) icon=" "; else icon=" ";} END {print $1 "% <span>" icon (system("grep -q Charging /sys/class/power_supply/BAT0/status") == 0 ? "" : "")"</span>"}')"
|
||
|
||
|
||
text_align = center
|
||
color = rgb(CCCCFF)
|
||
font_size = 25
|
||
font_family = 0xProto Nerd Font
|
||
rotate = 0
|
||
|
||
position = -10, -10
|
||
halign = right
|
||
valign = top
|
||
}
|