aboutsummaryrefslogtreecommitdiff
path: root/.local/bin/statusbar/sb-doppler
blob: a6434075d0e2bdeb17cfaf797c11828a404d227e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

showdoppler() {
  hyprctl dispatch exec "[float; size 800 800;]" 'curl -s https://meteoinfo.ru/hmc-output/rmap/phenomena.gif | imv - -H 1200 -W 1200'
}

case $1 in
	1) showdoppler ;;
	3) notify-send "🗺️ Doppler RADAR module" "\- Left click for local Doppler RADAR.
- Middle click to update RADAR location.
After $secs seconds, new clicks will also automatically update the doppler RADAR."  ;;
	6) kitty -e "$EDITOR" "$0" ;;
esac

echo 🌅