aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKiran George <kirangeorge1995@gmail.com>2024-04-24 08:03:30 +0530
committerKiran George <kirangeorge1995@gmail.com>2024-04-24 08:03:30 +0530
commit0b2abdb3a462cdc4027be75da7db2c673f194838 (patch)
tree77ef8a46d68d1bda27c56583450cfac5b9acb18f
parent06aba65570b0d059d037b484018dd639b0be4e10 (diff)
Added image in hyprlock config and added ping to server before weather curl request is sent
-rw-r--r--config/hypr/hyprlock.conf22
1 files changed, 18 insertions, 4 deletions
diff --git a/config/hypr/hyprlock.conf b/config/hypr/hyprlock.conf
index 6af5d7bb..538ae256 100644
--- a/config/hypr/hyprlock.conf
+++ b/config/hypr/hyprlock.conf
@@ -51,7 +51,7 @@ label {
font_size = 34
font_family = JetBrains Mono Nerd Font 10
- position = 0, -100
+ position = 0, -150
halign = center
valign = top
}
@@ -64,7 +64,7 @@ label {
font_size = 24
font_family = JetBrains Mono Nerd Font 10
- position = 0, -150
+ position = 0, -200
halign = center
valign = top
}
@@ -78,7 +78,7 @@ label {
font_size = 94
font_family = JetBrains Mono Nerd Font 10
- position = 0, 0
+ position = 0, -150
halign = center
valign = center
}
@@ -108,7 +108,7 @@ label {
label {
monitor =
- text = cmd[update:3600000] 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
color = $color10
font_size = 24
font_family = JetBrains Mono Nerd Font 10
@@ -116,3 +116,17 @@ label {
halign = left
valign = bottom
}
+
+image {
+ monitor =
+ path = $HOME/.config/rofi/.current_wallpaper
+ size = 230
+ rounding = -1
+ border_size = 4
+ border_color = $color12
+ rotate = 0
+ reload_time = -1
+ position = 0, 200
+ halign = center
+ valign = center
+} \ No newline at end of file
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage