11 lines
403 B
Bash
Executable File
11 lines
403 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
h_time=$(date +%k)
|
|
if (( h_time > 6 )) && (( h_time < 22 )); then
|
|
discriptor="d"
|
|
else
|
|
discriptor="n"
|
|
fi
|
|
|
|
sh $HOME/Builds/microscripts/kill-on-unfocus kitty --class "bar_popup" --title "Weather Report" sh -c "curl -s 'v2$discriptor.wttr.in/Bremen?lang=en' | grep --invert-match 'Follow' | grep -v -e '^[[:space:]]*$'; read -n 1 -s -r -p 'Press any key to exit...'; exit"
|