feat: add battery and weather script
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
"memory",
|
||||
"pulseaudio",
|
||||
"clock",
|
||||
"custom/weather",
|
||||
"clock#simpleclock",
|
||||
"custom/tailscale",
|
||||
"network",
|
||||
@@ -51,7 +52,7 @@
|
||||
"window-rewrite": {
|
||||
"class<*>": " ",
|
||||
"class<firefox>": " ",
|
||||
"class<app.zen_browser.zen>": " " ,
|
||||
"class<app.zen_browser.zen>": " " ,
|
||||
"class<Code>": " ",
|
||||
"class<Alacritty>": " ",
|
||||
"class<Spotify>": " ",
|
||||
@@ -60,6 +61,9 @@
|
||||
"class<com.seafile.seafile-applet>": " ",
|
||||
"class<org.gnome.Nautilus>": " ",
|
||||
"class<org.gnome.Software>": " ",
|
||||
"class<chromium-browser>": " ",
|
||||
"class<chrome-web.telegram.org__-Default>": " ",
|
||||
"class<chrome-music.youtube.com__-Default>": " "
|
||||
}
|
||||
},
|
||||
"hyprland/window": {
|
||||
@@ -152,6 +156,13 @@
|
||||
"return-type": "json",
|
||||
"tooltip": false,
|
||||
},
|
||||
"custom/weather": {
|
||||
"format": "{}",
|
||||
"interval": 600,
|
||||
"exec": "~/.config/waybar/scripts/weather.sh", // or your dotfiles folder if you use stow
|
||||
"return-type": "json",
|
||||
"on-click": "gnome-weather"
|
||||
},
|
||||
"custom/tailscale": {
|
||||
"exec": "~/.config/waybar/scripts/tailscale.sh",
|
||||
"interval": 5,
|
||||
|
||||
Reference in New Issue
Block a user