diff options
author | zachir <zachir@librem.one> | 2023-02-24 10:20:39 -0600 |
---|---|---|
committer | zachir <zachir@librem.one> | 2023-02-24 10:20:39 -0600 |
commit | e0112883ed693bcc0c83a87acc35944f08866bbd (patch) | |
tree | eadd84d64b2266cb3e7ce50efbcf6857bae7761b | |
parent | 6fd0a16cb89a8ce9e38af18caa26a458490b7159 (diff) |
change some sizes in waybar + foot
-rw-r--r-- | foot/foot.ini | 2 | ||||
-rw-r--r-- | waybar/config | 20 | ||||
-rw-r--r-- | waybar/style.css | 12 |
3 files changed, 17 insertions, 17 deletions
diff --git a/foot/foot.ini b/foot/foot.ini index 8191bba..3817067 100644 --- a/foot/foot.ini +++ b/foot/foot.ini @@ -8,7 +8,7 @@ # title=foot # locked-title=no -font=mononoki Nerd Font Mono:size=12 +font=mononoki Nerd Font Mono:size=10 # font-bold=<bold variant of regular font> # font-italic=<italic variant of regular font> # font-bold-italic=<bold+italic variant of regular font> 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; } |