From a7b2dc7ac6d299fc669236dc7d33e6200de9898f Mon Sep 17 00:00:00 2001 From: histalek Date: Tue, 26 Apr 2022 10:07:44 +0200 Subject: [PATCH] waybar: Remove states for package modules States are percentage based and trigger once the percentage falls below the threshold. So these are useless for my package modules. --- .config/waybar/config | 6 ------ .config/waybar/style.css | 4 +--- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/.config/waybar/config b/.config/waybar/config index ec4e491..d7ddc21 100644 --- a/.config/waybar/config +++ b/.config/waybar/config @@ -106,9 +106,6 @@ "exec-if": "exit 0", "on-click": "exit 0", "signal": 8, - "states": { - "warning": 1, - }, "tooltip": false, }, "custom/flatpak": { @@ -118,9 +115,6 @@ "exec-if": "exit 0", "on-click": "exit 0", "signal": 8, - "states": { - "warning": 1, - }, "tooltip": false, }, diff --git a/.config/waybar/style.css b/.config/waybar/style.css index ab3eb3b..39602ef 100644 --- a/.config/waybar/style.css +++ b/.config/waybar/style.css @@ -136,9 +136,7 @@ /* Each warning */ #network.disconnected, #memory.warning, -#cpu.warning, -#custom-packages.warning, -#custom-flatpak.warning { +#cpu.warning { color: @warning; }