weather and update system script

This commit is contained in:
wt
2024-09-04 17:41:22 +07:00
parent c713f2b119
commit 391da8d3f7
3 changed files with 16 additions and 1 deletions
+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
+6
View File
@@ -3,6 +3,9 @@ export PATH=$PATH:~/dotfiles/bin:~/dotfiles/hypr/bin:~/dotfiles/dwm/bin/:~/.carg
alias psa='busybox ps'
alias c='clear'
alias e='echo'
alias s='source'
alias kcat='kitty icat'
alias g='git'
alias ga='git add'
@@ -33,3 +36,6 @@ alias gra='git remote add'
alias grrm='git remote remove'
alias gstall='git stash --all'
alias gst='git status'
alias una='uname -a'
+1 -1
View File
@@ -138,7 +138,7 @@
"interval": 900,
"exec": "wttrbar --location tomsk",
"return-type": "json",
"on-click": "ags -c ~/dotfiles/ags/weather/config.js"
"on-click": "~/dotfiles/hypr/bin/toggle_weather_ags"
},
"custom/pacman": {
"format": "{} ",