weather and update system script

This commit is contained in:
wt committed 2024-09-04 17:41:22 +07:00
1 parent c713f2b119
commit 391da8d3f7
3 files changed
+16 -1

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
#!/bin/sh
if [ ! -f ~/.ags_weather ]; then
ags --bus-name weather -c ~/dotfiles/ags/weather/config.js &
touch ~/.ags_weather
else
ags --bus-name weather -c ~/dotfiles/ags/weather/config.js --quit
rm ~/.ags_weather
fi