From 29238b134e7de355398c565a98a4ef3fd8f42b90 Mon Sep 17 00:00:00 2001 From: afonsofrancof Date: Tue, 16 May 2023 04:18:03 +0100 Subject: [PATCH] [MINOR] waybar fix icons --- .config/waybar/config | 27 +-------------------------- .config/waybar/style.css | 20 +++++++------------- 2 files changed, 8 insertions(+), 39 deletions(-) diff --git a/.config/waybar/config b/.config/waybar/config index 40fdfa2..46d66c4 100644 --- a/.config/waybar/config +++ b/.config/waybar/config @@ -28,24 +28,6 @@ }, }, - "custom/launcher": { - "interval": "once", - "format": "󰣇", - "on-click": "pkill rofi || rofi --show drun", - "tooltip": false - }, - - "backlight": { - "device": "nvidia_0", - "max-length": "4", - "format": "{icon}", - "tooltip-format": "{percent}%", - "format-icons": ["","","","", "", "", ""], - "on-click": "", - "on-scroll-up": "brightnessctl set 10%-", - "on-scroll-down": "brightnessctl set +10%" - }, - "memory": { "interval": 30, "format": " {}%", @@ -53,13 +35,6 @@ "max-length": 10 }, - "custom/dunst": { - "exec": "~/.config/waybar/scripts/dunst.sh", - "on-click": "dunstctl set-paused toggle", - "restart-interval": 1, - "tooltip": false - }, - "pulseaudio": { "format": "{icon} {volume}%", "format-bluetooth": "{icon}  {volume}%", @@ -101,7 +76,7 @@ "format-plugged": " {capacity}%", "format-alt": "{icon} {capacity}%", "format-full": " 100%", - "format-icons": ["", "", "", "", "", "", "", "", "", ""] + "format-icons": [" "," "," "," "," "," "," "," "," "," "] }, "clock": { diff --git a/.config/waybar/style.css b/.config/waybar/style.css index 524de95..5b8a8c0 100644 --- a/.config/waybar/style.css +++ b/.config/waybar/style.css @@ -29,10 +29,9 @@ window#waybar { #clock, #clock-date, #workspaces, -#pulseaudio, -#network, #battery, -#custom-powermenu { +#pulseaudio, +#network { background-color: @bg0; color: @fg; @@ -40,13 +39,17 @@ window#waybar { padding-right: 10px; margin-top: 7px; margin-bottom: 12px; - border-radius: 10px; + border-radius: 10px; border-bottom-width: 5px; border-bottom-color: @bg5; border-bottom-style: solid; } +#battery { + margin-right: 15px; +} + #workspaces { padding: 0px; } @@ -74,12 +77,3 @@ window#waybar { padding-right: 21px; } -#custom-powermenu { - background-color: @red; - color: @bg0; - border-bottom-color: #9e0906; - - margin-right: 15px; - padding-left: 20px; - padding-right: 23px; -}