From e0112883ed693bcc0c83a87acc35944f08866bbd Mon Sep 17 00:00:00 2001 From: zachir Date: Fri, 24 Feb 2023 10:20:39 -0600 Subject: change some sizes in waybar + foot --- waybar/config | 20 ++++++++++---------- waybar/style.css | 12 ++++++------ 2 files changed, 16 insertions(+), 16 deletions(-) (limited to 'waybar') diff --git a/waybar/config b/waybar/config index c9c45c3..b271758 100644 --- a/waybar/config +++ b/waybar/config @@ -1,10 +1,10 @@ { "layer": "top", "position": "top", - "height": 35, + "height": 36, "spacing": 4, - "margin-top": 5, - "margin-bottom":5, + //"margin-top": 5, + //"margin-bottom":5, // Choose the order of the modules @@ -68,13 +68,13 @@ "warning": 30, "critical": 15 }, - "format": "{capacity}% {icon}", - "format-charging": "{capacity}% ", - "format-plugged": "{capacity}% ", - "format-alt": "{time} {icon}", + "format": "{capacity}%", + "format-charging": "{capacity}% +", + "format-plugged": "{capacity}% =", + "format-alt": "{time}", // "format-good": "", // An empty format will hide the module // "format-full": "", - "format-icons": ["", "", "", "", ""] + //"format-icons": ["", "", "", "", ""] }, "battery#bat0": { "bat": "BAT0" @@ -113,8 +113,8 @@ }, "custom/launcher":{ "format": "", - "on-click": "wofi --show drun", - "on-click-right": "killall wofi" + "on-click": "exec $(tofi-drun)", + "on-click-right": "killall tofi" }, "custom/power":{ "format": " ", diff --git a/waybar/style.css b/waybar/style.css index 8f3e1bc..95198f2 100644 --- a/waybar/style.css +++ b/waybar/style.css @@ -1,10 +1,12 @@ * { - border: none; + border: 0px; + margin: 0px; border-radius: 0px; /* `otf-font-awesome` is required to be installed for icons */ font-family: Roboto, Helvetica, Arial, sans-serif; font-size: 13px; - min-height: 0; + min-height: 0px; + min-width: 0px; } window#waybar { @@ -76,7 +78,8 @@ window#waybar.hidden { #mode, #idle_inhibitor, #mpd { - padding: 0 10px; + padding: 0px 9px; + margin: 0px; color: #ffffff; } @@ -230,17 +233,14 @@ label:focus { #tags button.occupied { color: skyblue; - margin: 5px; background-color: #272727; } #tags button.focused { color: black; - margin: 5px; background-color: white; } #tags button.urgent{ color: red; - margin: 5px; background-color:white; } -- cgit v1.2.3