Return weather module back and completely remove pacman module

This commit is contained in:
2021-10-29 19:38:03 +03:00
parent ac133108a9
commit c5d812885a
2 changed files with 2 additions and 8 deletions

View File

@@ -3,6 +3,7 @@
"modules-left": ["sway/workspaces"], "modules-left": ["sway/workspaces"],
"modules-right": [ "modules-right": [
"tray", "tray",
"custom/weather",
"custom/dnd", "custom/dnd",
"pulseaudio", "pulseaudio",
"sway/language", "sway/language",
@@ -34,14 +35,6 @@
"on-click": "xdg-open https://wttr.in", "on-click": "xdg-open https://wttr.in",
"tooltip": false "tooltip": false
}, },
"custom/pacman-updates": {
"exec": "pacman -Qu | wc -l",
"interval": 60,
"return-type": "{}",
"format": "{} updates",
"on-click": "alacritty -e sudo pacman -Syu",
"tooltip": false
},
"custom/dnd": { "custom/dnd": {
"exec": "$HOME/dotfiles/bin/dnd", "exec": "$HOME/dotfiles/bin/dnd",
"on-click": "dunstctl set-paused toggle", "on-click": "dunstctl set-paused toggle",

View File

@@ -36,6 +36,7 @@ window#waybar {
} }
#tray, #tray,
#custom-weather,
#custom-dnd, #custom-dnd,
#pulseaudio, #pulseaudio,
#language, #language,