Browse Source

tweaked hyprlock

pull/232/head
JaKooLit 2 years ago
parent
commit
4ac6c8b543
  1. 9
      config/hypr/hyprlock.conf

9
config/hypr/hyprlock.conf

@ -47,7 +47,7 @@ input-field {
label { label {
monitor = monitor =
text = cmd[update:18000000] echo "<b> "$(date +'%A, %-d %B %Y')" </b>" text = cmd[update:18000000] echo "<b> "$(date +'%A, %-d %B %Y')" </b>"
color = $color5 color = $color1
font_size = 34 font_size = 34
font_family = JetBrains Mono Nerd Font 10 font_family = JetBrains Mono Nerd Font 10
@ -63,7 +63,6 @@ label {
color = $color7 color = $color7
font_size = 24 font_size = 24
font_family = JetBrains Mono Nerd Font 10 font_family = JetBrains Mono Nerd Font 10
position = 0, -250 position = 0, -250
halign = center halign = center
valign = top valign = top
@ -83,6 +82,7 @@ text = cmd[update:1000] echo "<b><big> $(date +"%H:%M:%S") </big></b>" # 24H
valign = center valign = center
} }
# User
label { label {
monitor = monitor =
text = $USER text = $USER
@ -95,6 +95,7 @@ label {
valign = bottom valign = bottom
} }
# uptime
label { label {
monitor = monitor =
text = cmd[update:60000] echo "<b> "$(uptime -p)" </b>" text = cmd[update:60000] echo "<b> "$(uptime -p)" </b>"
@ -106,6 +107,7 @@ label {
valign = bottom valign = bottom
} }
# weather edit specific location. Note, this cause a 2-4 seconds delay in locking
label { label {
monitor = monitor =
text = cmd[update:3600000] ping -c 1 wttr.in > /dev/null && curl -s 'wttr.in?format=2' # For specific location : wttr.in/busan?format=2 text = cmd[update:3600000] ping -c 1 wttr.in > /dev/null && curl -s 'wttr.in?format=2' # For specific location : wttr.in/busan?format=2
@ -117,13 +119,14 @@ label {
valign = bottom valign = bottom
} }
# Put a picture of choice here. Default is the current wallpaper
image { image {
monitor = monitor =
path = $HOME/.config/rofi/.current_wallpaper path = $HOME/.config/rofi/.current_wallpaper
size = 230 size = 230
rounding = -1 rounding = -1
border_size = 4 border_size = 4
border_color = $color12 border_color = $color2
rotate = 0 rotate = 0
reload_time = -1 reload_time = -1
position = 0, 300 position = 0, 300

Loading…
Cancel
Save