From 398e94dc8cdd67d84f1967f848b0fd0f0a1b9427 Mon Sep 17 00:00:00 2001 From: Brieuc Dubois Date: Sat, 17 Feb 2024 22:11:38 +0100 Subject: [PATCH] Update waybar style and config --- root/home/bhasher/.config/waybar/config | 21 +++++++++++++-------- root/home/bhasher/.config/waybar/style.css | 7 ++++--- 2 files changed, 17 insertions(+), 11 deletions(-) diff --git a/root/home/bhasher/.config/waybar/config b/root/home/bhasher/.config/waybar/config index 9ebcaad..5f83e58 100644 --- a/root/home/bhasher/.config/waybar/config +++ b/root/home/bhasher/.config/waybar/config @@ -10,14 +10,19 @@ "hyprland/workspaces": { "disable-scroll": true, "all-outputs": false, + "on-click": "activate", "format": "{icon}", "format-icons": { - "1:web": "", - "2:code": "", - "3:term": "", - "4:work": "", - "5:music": "", - "6:docs": "", + "1": "", + "2": "", + "3": "", + "4": "", + "5": "5", + "6": "6", + "7": "7", + "8": "8", + "9": "9", + "0": "0", "urgent": "", "focused": "", "default": "" @@ -40,8 +45,8 @@ // "bat": "BAT0", "states": { // "good": 95, - "warning": 30, - "critical": 15 + "warning": 20, + "critical": 10 }, "format": "{capacity}% {icon}", "format-alt": "{time} {icon}", diff --git a/root/home/bhasher/.config/waybar/style.css b/root/home/bhasher/.config/waybar/style.css index 572444f..b005ccf 100644 --- a/root/home/bhasher/.config/waybar/style.css +++ b/root/home/bhasher/.config/waybar/style.css @@ -28,9 +28,10 @@ window#waybar { border-top: 2px solid transparent; } -#workspaces button.focused { - color: #c9545d; - border-top: 2px solid #c9545d; +#workspaces button.active { + color: #f88; + border: 1px solid #f88; + border-radius: 5px; } #mode {