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
+6
View File
@@ -3,6 +3,9 @@ export PATH=$PATH:~/dotfiles/bin:~/dotfiles/hypr/bin:~/dotfiles/dwm/bin/:~/.carg
alias psa='busybox ps' alias psa='busybox ps'
alias c='clear' alias c='clear'
alias e='echo'
alias s='source'
alias kcat='kitty icat'
alias g='git' alias g='git'
alias ga='git add' alias ga='git add'
@@ -33,3 +36,6 @@ alias gra='git remote add'
alias grrm='git remote remove' alias grrm='git remote remove'
alias gstall='git stash --all' alias gstall='git stash --all'
alias gst='git status' alias gst='git status'
alias una='uname -a'
+1 -1
View File
@@ -138,7 +138,7 @@
"interval": 900, "interval": 900,
"exec": "wttrbar --location tomsk", "exec": "wttrbar --location tomsk",
"return-type": "json", "return-type": "json",
"on-click": "ags -c ~/dotfiles/ags/weather/config.js" "on-click": "~/dotfiles/hypr/bin/toggle_weather_ags"
}, },
"custom/pacman": { "custom/pacman": {
"format": "{} ", "format": "{} ",