#!/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' } sendnotif() { notify-send "πŸ—ΊοΈ Doppler RADAR module" "\- Left click for local Doppler RADAR. - Middle click to update RADAR location." } if [ ! -n "$1" ]; then echo πŸŒ… else if [ "$1" -eq 1 ]; then showdoppler elif [ "$1" -eq 3 ]; then sendnotif fi fi