aboutsummaryrefslogtreecommitdiff
path: root/.local
diff options
context:
space:
mode:
authorawy <awy@tutamail.com>2024-08-28 01:59:35 +0300
committerawy <awy@tutamail.com>2024-08-28 01:59:35 +0300
commitb06e65af9ebab8bf798ac604eded246281e1e002 (patch)
tree28d428ca293f0a1cfe0b9457140d8e874fc7e4e1 /.local
parent171cb279b05e639f07162059d1d0f390497e36b6 (diff)
theme
Diffstat (limited to '.local')
-rwxr-xr-x.local/bin/statusbar/sb-doppler1
-rwxr-xr-x.local/bin/statusbar/sb-forecast2
2 files changed, 2 insertions, 1 deletions
diff --git a/.local/bin/statusbar/sb-doppler b/.local/bin/statusbar/sb-doppler
index a29203a..4fb9d0b 100755
--- a/.local/bin/statusbar/sb-doppler
+++ b/.local/bin/statusbar/sb-doppler
@@ -19,4 +19,5 @@ After $secs seconds, new clicks will also automatically update the doppler RADAR
6) hyprctl dispatch exec "kitty -e \"$EDITOR\" \"$0\"" ;;
esac
+[ $(($(date '+%s') - $(stat -c %Y "$doppler"))) -gt "$secs" ] && getdoppler
echo 🌅
diff --git a/.local/bin/statusbar/sb-forecast b/.local/bin/statusbar/sb-forecast
index 113a3ba..c912d75 100755
--- a/.local/bin/statusbar/sb-forecast
+++ b/.local/bin/statusbar/sb-forecast
@@ -42,7 +42,7 @@ openterm() {
}
case $1 in
- 1) hyprctl dispatch exec "[float; size 1450 1100;]" "kitty -e less -Sfr \"$weatherreport\""
+ 1) hyprctl dispatch exec "[float; size 1700 1100;]" "kitty -e less -Sfr \"$weatherreport\""
;;
2) getforecast && showweather ;;
3) notify-send "🌈 Weather module" "\- Left click for full forecast.