Battery widget added, config for swaylock like look added.
This commit is contained in:
parent
6faece00a3
commit
52a42447ca
2 changed files with 137 additions and 1 deletions
114
config/hypr/hyprlock-swaylock.conf
Normal file
114
config/hypr/hyprlock-swaylock.conf
Normal file
|
@ -0,0 +1,114 @@
|
||||||
|
general {
|
||||||
|
hide_cursor = true
|
||||||
|
}
|
||||||
|
background {
|
||||||
|
monitor =
|
||||||
|
#path = screenshot
|
||||||
|
path = /home/siren/Pictures/wallpaper/swirl.jpg
|
||||||
|
color = rgba(17, 17, 17, 1.0)
|
||||||
|
blur_passes = 2
|
||||||
|
}
|
||||||
|
shape {
|
||||||
|
monitor =
|
||||||
|
size = 130, 130
|
||||||
|
color = rgba(0, 0, 0, 1) # no fill
|
||||||
|
rounding = -1 # circle
|
||||||
|
border_size = 0
|
||||||
|
border_color = rgba(0, 0, 0, 0.5)
|
||||||
|
|
||||||
|
position = 0, 0
|
||||||
|
halign = center
|
||||||
|
valign = center
|
||||||
|
zindex = 1
|
||||||
|
}
|
||||||
|
input-field {
|
||||||
|
monitor =
|
||||||
|
size = 140, 140
|
||||||
|
outline_thickness = 1
|
||||||
|
|
||||||
|
placeholder_text =
|
||||||
|
fail_text =
|
||||||
|
hide_input = true
|
||||||
|
|
||||||
|
inner_color = rgba(44, 44, 44, 0.4)
|
||||||
|
outer_color = rgba(0, 0, 0, 0.4)
|
||||||
|
#check_color = rgba(0, 170, 136, 1)
|
||||||
|
#fail_color = rgba(255, 144, 116, 1)
|
||||||
|
|
||||||
|
font_family = Ubuntu
|
||||||
|
font_color = rgb(204, 204, 204)
|
||||||
|
font_size = 10
|
||||||
|
fade_on_empty = false
|
||||||
|
rounding = -1
|
||||||
|
|
||||||
|
position = 0, 0
|
||||||
|
halign = center
|
||||||
|
valign = center
|
||||||
|
}
|
||||||
|
label {
|
||||||
|
monitor =
|
||||||
|
text = cmd[update:1000] echo $(sh ~/.config/hypr/scripts/date.sh)
|
||||||
|
color = rgba(204, 204, 204, 1.0)
|
||||||
|
font_size = 26
|
||||||
|
font_family = Bahnschrift
|
||||||
|
|
||||||
|
position = 0, 280
|
||||||
|
halign = center
|
||||||
|
valign = center
|
||||||
|
}
|
||||||
|
label {
|
||||||
|
monitor =
|
||||||
|
text = cmd[update:1000] echo $(date +"%I:%M %p")
|
||||||
|
color = rgba(204, 204, 204, 1.0)
|
||||||
|
font_size = 16
|
||||||
|
font_family = Bahnschrift
|
||||||
|
|
||||||
|
position = 0, 240
|
||||||
|
halign = center
|
||||||
|
valign = center
|
||||||
|
}
|
||||||
|
label {
|
||||||
|
monitor =
|
||||||
|
text = welcome back $USER
|
||||||
|
color = rgba(197, 197, 197, 1.0)
|
||||||
|
font_size = 25
|
||||||
|
font_family = Ubuntu
|
||||||
|
|
||||||
|
position = 0, 140
|
||||||
|
halign = center
|
||||||
|
valign = center
|
||||||
|
}
|
||||||
|
shape {
|
||||||
|
monitor =
|
||||||
|
size = 360, 60
|
||||||
|
color = rgba(0, 0, 0, 0.0) # no fill
|
||||||
|
rounding = -1 # circle
|
||||||
|
border_size = 4
|
||||||
|
border_color = rgba(0, 125, 111, 1)
|
||||||
|
|
||||||
|
position = 0, 140
|
||||||
|
halign = center
|
||||||
|
valign = center
|
||||||
|
}
|
||||||
|
label {
|
||||||
|
monitor =
|
||||||
|
text = cmd[update:0] echo "$(fortune -s)"
|
||||||
|
color = rgba(197, 197, 197, 1.0)
|
||||||
|
font_size = 12
|
||||||
|
font_family = Ubuntu
|
||||||
|
|
||||||
|
position = 0, 30
|
||||||
|
halign = center
|
||||||
|
valign = bottom
|
||||||
|
}
|
||||||
|
label {
|
||||||
|
monitor =
|
||||||
|
text = cmd[update:1000] echo " $(cat /sys/class/power_supply/BAT0/capacity)%"
|
||||||
|
color = rgba(197, 197, 197, 1.0)
|
||||||
|
font_size = 10
|
||||||
|
font_family = Ubuntu
|
||||||
|
|
||||||
|
position = 30, 30
|
||||||
|
halign = left
|
||||||
|
valign = bottom
|
||||||
|
}
|
|
@ -29,7 +29,18 @@ input-field {
|
||||||
}
|
}
|
||||||
label {
|
label {
|
||||||
monitor =
|
monitor =
|
||||||
text = cmd[update:1000] echo "$(date)"
|
text = cmd[update:1000] echo $(sh ~/.config/hypr/scripts/date.sh)
|
||||||
|
color = rgba(204, 204, 204, 1.0)
|
||||||
|
font_size = 26
|
||||||
|
font_family = Bahnschrift
|
||||||
|
|
||||||
|
position = 0, 220
|
||||||
|
halign = center
|
||||||
|
valign = center
|
||||||
|
}
|
||||||
|
label {
|
||||||
|
monitor =
|
||||||
|
text = cmd[update:1000] echo $(date +"%I:%M %p")
|
||||||
color = rgba(204, 204, 204, 1.0)
|
color = rgba(204, 204, 204, 1.0)
|
||||||
font_size = 16
|
font_size = 16
|
||||||
font_family = Bahnschrift
|
font_family = Bahnschrift
|
||||||
|
@ -73,3 +84,14 @@ label {
|
||||||
halign = center
|
halign = center
|
||||||
valign = bottom
|
valign = bottom
|
||||||
}
|
}
|
||||||
|
label {
|
||||||
|
monitor =
|
||||||
|
text = cmd[update:1000] echo " $(cat /sys/class/power_supply/BAT0/capacity)%"
|
||||||
|
color = rgba(197, 197, 197, 1.0)
|
||||||
|
font_size = 10
|
||||||
|
font_family = Ubuntu
|
||||||
|
|
||||||
|
position = 30, 30
|
||||||
|
halign = left
|
||||||
|
valign = bottom
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue