Krolyxon
Commit b062a86

Branches

Refs →

aurorab062a86

waybar: remove transparency, make more similar to dwm bar

Author
krolxon
Date
2025-08-17 21:16 +0530
Parent
2d2b274
Commit
b062a86f75875c0a9582dea923ab1a6b22c02fcc

+24 −15

2 files changed

  1. M .config/waybar/config.jsonc +1 −1
  2. M .config/waybar/style.css +23 −14
M .config/waybar/config.jsonc View
@@ -77,7 +77,7 @@
7777 },
7878 "custom/date": {
7979 "timezone": "Asia/Kolkata",
80− "exec": "date +'%a %d %b %Y'",
80+ "exec": "date +'%d %b %Y'",
8181 "format": "󰃭 {}",
8282 "interval": 1,
8383 "tooltip": false
M .config/waybar/style.css View
@@ -40,18 +40,19 @@ font-family: "Fira Code", "FontAwesome";
4040 font-weight: bold;
4141 min-height: 0;
4242 /* set font-size to 100% if font scaling is set to 1.00 using nwg-look */
43−font-size: 97%;
43+font-size: 96%;
4444 font-feature-settings: '"zero", "ss01", "ss02", "ss03", "ss04", "ss05", "cv31"';
45−padding: 0.03125rem;
45+/* padding: 0.03125rem; */
4646 }
4747
4848 window#waybar {
4949 transition-property: background-color;
5050 transition-duration: 0.5s;
51− background: transparent;
51+ /* background: transparent; */
52+ background: @base ;
5253 /*border: 2px solid @overlay0;*/
5354 /*background: @theme_base_color;*/
54− border-radius: 10px;
55+ /* border-radius: 10px; */
5556 }
5657
5758 window#waybar.hidden {
@@ -69,8 +70,8 @@ window#waybar.hidden {
6970
7071 #workspaces {
7172 /* border-radius: 8px; */
72− padding: 0 3px 0 8px;
73− margin: 5px 5px 5px 0;
73+ /* padding: 0 3px 0 8px; */
74+ /* margin: 5px 5px 5px 0; */
7475 transition: all 0.2s ease;
7576 }
7677
@@ -88,19 +89,19 @@ window#waybar.hidden {
8889 /* center the icon, no clue why this is necessary */
8990 padding-left: 5px;
9091 padding-right: 10px;
91− padding-top: 1px;
92+ /* padding-top: 1px; */
9293
9394 box-shadow: inset 0 -1px #e3e3e3;
9495 }
9596
9697 /* the first and last buttons should be rounded */
9798 #workspaces button:first-child {
98− border-top-left-radius: 8px;
99− border-bottom-left-radius: 8px;
99+ /* border-top-left-radius: 8px; */
100+ /* border-bottom-left-radius: 8px; */
100101 }
101102 #workspaces button:last-child {
102− border-top-right-radius: 8px;
103− border-bottom-right-radius: 8px;
103+ /* border-top-right-radius: 8px; */
104+ /* border-bottom-right-radius: 8px; */
104105 }
105106
106107 /* empty persistent workspaces */
@@ -164,9 +165,9 @@ window#waybar.hidden {
164165 #custom-notification,
165166 #mpd {
166167 background-color: @base;
167− border-radius: 8px;
168168 padding: 0 12px 0 12px;
169− margin: 5px 5px 5px 0;
169+ margin-left: 10px;
170+
170171 }
171172
172173 /* If workspaces is the leftmost module, omit left margin */
@@ -185,18 +186,22 @@ window#waybar.hidden {
185186
186187 #clock {
187188 color: #eceff4;
189+ box-shadow: inset 0 -1px #eceff4;
188190 }
189191
190192 #custom-date {
191193 color: #b48ead;
194+ box-shadow: inset 0 -1px #b48ead;
192195 }
193196
194197 #battery {
195198 color: #ebcb8b;
199+ box-shadow: inset 0 -1px #ebcb8b;
196200 }
197201
198202 #backlight {
199− color: @teal
203+ color: @teal;
204+ box-shadow: inset 0 -1px @teal;
200205 }
201206
202207 @keyframes blink {
@@ -222,10 +227,12 @@ label:focus {
222227
223228 #cpu {
224229 color: #bf616a;
230+ box-shadow: inset 0 -1px #bf616a;
225231 }
226232
227233 #memory {
228234 color: #a3be8c;
235+ box-shadow: inset 0 -1px #a3be8c;
229236 }
230237
231238 /* #disk {
@@ -246,6 +253,7 @@ label:focus {
246253
247254 #pulseaudio {
248255 color: @text;
256+ box-shadow: inset 0 -1px @text;
249257 }
250258
251259
@@ -259,6 +267,7 @@ label:focus {
259267
260268 #tray {
261269 color: @subtext0;
270+ box-shadow: inset 0 -1px @subtext0;
262271
263272 }
264273