From c5d812885ab8ffac4ba660e89359ba3496f4039e Mon Sep 17 00:00:00 2001 From: Daniil Tsivinsky Date: Fri, 29 Oct 2021 19:38:03 +0300 Subject: [PATCH] Return weather module back and completely remove pacman module --- config/waybar/config | 9 +-------- config/waybar/style.css | 1 + 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/config/waybar/config b/config/waybar/config index 9c232ae..76286d2 100644 --- a/config/waybar/config +++ b/config/waybar/config @@ -3,6 +3,7 @@ "modules-left": ["sway/workspaces"], "modules-right": [ "tray", + "custom/weather", "custom/dnd", "pulseaudio", "sway/language", @@ -34,14 +35,6 @@ "on-click": "xdg-open https://wttr.in", "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": { "exec": "$HOME/dotfiles/bin/dnd", "on-click": "dunstctl set-paused toggle", diff --git a/config/waybar/style.css b/config/waybar/style.css index d98d7c2..a6b0ff7 100644 --- a/config/waybar/style.css +++ b/config/waybar/style.css @@ -36,6 +36,7 @@ window#waybar { } #tray, +#custom-weather, #custom-dnd, #pulseaudio, #language,