Improve waybar custom scripts
This commit is contained in:
parent
adc39bd74d
commit
018c576357
4 changed files with 12 additions and 4 deletions
.config/waybar
|
@ -78,12 +78,13 @@
|
|||
"custom/pacman": {
|
||||
"format": " {}",
|
||||
"interval": 3600,
|
||||
"exec": "checkupdates | wc -l",
|
||||
"on-click": "alacritty -e 'archlinux-update'; pkill -SIGRTMIN+8 waybar",
|
||||
"exec": "~/.config/waybar/custom/pacman",
|
||||
"on-click": "alacritty -e 'archlinux-update; pkill -SIGRTMIN+8 waybar'",
|
||||
"return-type": "json",
|
||||
"signal": 8
|
||||
},
|
||||
"custom/weather": {
|
||||
"exec": "~/.config/waybar/wttr.py",
|
||||
"exec": "~/.config/waybar/custom/weather",
|
||||
"return-type": "json",
|
||||
"format": "{}",
|
||||
"tooltip": true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue