Make hyprlock default and add battery level
This commit is contained in:
@ -7,6 +7,7 @@ background {
|
||||
monitor =
|
||||
|
||||
{% if hostname == "sputnik" %}
|
||||
# make background transparent, used in combination with screenlock-video
|
||||
color = rgba(00000000)
|
||||
{% else %}
|
||||
path = ~/.config/wallpapers/6000x3376/akira.jpg
|
||||
@ -49,6 +50,7 @@ input-field {
|
||||
shadow_boost = 1.2
|
||||
}
|
||||
|
||||
# ferris image in the center
|
||||
image {
|
||||
monitor =
|
||||
path = ~/.config/wallpapers/ferris-stamp.png
|
||||
@ -64,6 +66,7 @@ image {
|
||||
shadow_boost = 1.2
|
||||
}
|
||||
|
||||
# clock
|
||||
label {
|
||||
monitor =
|
||||
text = <b>$TIME</b>
|
||||
@ -82,16 +85,36 @@ label {
|
||||
shadow_boost = 1.3
|
||||
}
|
||||
|
||||
# battery
|
||||
label {
|
||||
monitor =
|
||||
text = <b>$LAYOUT</b>
|
||||
text = cmd[update:5000] wmutils battery
|
||||
text_align = left
|
||||
color = rgba(200, 200, 200, 1.0)
|
||||
font_size = 20
|
||||
font_family = Noto Sans
|
||||
rotate = 0 # degrees, counter-clockwise
|
||||
|
||||
position = 24, -20
|
||||
halign = left
|
||||
valign = top
|
||||
|
||||
shadow_passes = 2
|
||||
shadow_size = 1
|
||||
shadow_boost = 1.1
|
||||
}
|
||||
|
||||
# keyboard layout
|
||||
label {
|
||||
monitor =
|
||||
text = $LAYOUT
|
||||
text_align = right
|
||||
color = rgba(200, 200, 200, 1.0)
|
||||
font_size = 20
|
||||
font_family = Noto Sans
|
||||
rotate = 0 # degrees, counter-clockwise
|
||||
|
||||
position = -12, -12
|
||||
position = -24, -20
|
||||
halign = right
|
||||
valign = top
|
||||
|
||||
@ -100,6 +123,7 @@ label {
|
||||
shadow_boost = 1.1
|
||||
}
|
||||
|
||||
# greeting text
|
||||
label {
|
||||
monitor =
|
||||
text = GREET_ $user
|
||||
@ -118,6 +142,7 @@ label {
|
||||
shadow_boost = 1.3
|
||||
}
|
||||
|
||||
# number of login attempts
|
||||
label {
|
||||
monitor =
|
||||
text = $ATTEMPTS[0]x $FAIL
|
||||
|
||||
Reference in New Issue
Block a user