feat(waybar): full, instead of only left, center and right mods

This commit is contained in:
João Dias
2024-11-17 16:05:32 -03:00
parent e53e248921
commit 3043242b4c
3 changed files with 17 additions and 23 deletions
+5 -5
View File
@@ -2,7 +2,7 @@
"position": "top",
"layer": "top",
"spacing": 0,
"margin": 0,
"margin": 6,
"reload_style_on_change": true,
"modules-left": [
"custom/logo",
@@ -85,7 +85,7 @@
},
"custom/logo": {
"format": "", // Change to desired logo
"format": "", // Change to desired logo
"tooltip": false,
"escape": true,
"on-click": "anyrun" // Change to desired action
@@ -177,7 +177,7 @@
"network": {
// "interface": "wlp2*", // (Optional) To force the use of this interface
"format-wifi": "{icon}",
"format-ethernet": "",
"format-ethernet": "",
"tooltip-format": "<tt>{ifname}\t{ipaddr}\n {bandwidthUpBits}\n {bandwidthDownBits}</tt>",
"tooltip-format-disconnected": "<tt>Disconnected</tt>",
"tooltip-format-wifi": "<tt>󰤨 {essid}\n {bandwidthUpBits}\n {bandwidthDownBits}</tt>",
@@ -192,8 +192,8 @@
"format-muted": "",
"format-icons": {
"headphone": "",
"hands-free": "",
"headset": "",
"hands-free": "󰥰",
"headset": "󰋎",
"phone": "",
"phone-muted": "",
"portable": "",
+8 -6
View File
@@ -3,14 +3,12 @@
/* Distro Logo */
#custom-logo {
padding-left: 12px;
padding-right: 18px;
padding: 0 12px;
font-size: 15.2px;
transition: 110ms ease-in;
margin-right: 6px;
}
/* Workspace Indicator */
#workspaces {
padding: 5px 0;
@@ -28,8 +26,7 @@
#workspaces > button.active {
background: @foreground;
padding-left: 14px;
padding-right: 14px;
padding-right: 24px;
}
#workspaces > button.urgent {
@@ -89,10 +86,15 @@ window.empty #window {
animation-direction: alternate;
}
#network {
padding-right: 11px
}
/* Network and Wi-Fi */
#network.disconnected {
padding-right: 15px;
font-size: 14px;
padding-left: 11px;
padding-right: 12px;
}
+4 -12
View File
@@ -11,22 +11,14 @@ window#waybar {
font-family: "Noto Sans", "Font Awesome", sans-serif;
font-size: 12px;
color: @foreground;
border-radius: 16px;
background: transparent;
}
window > * > * {
window#waybar > * {
padding: 4px;
margin-bottom: 8px;
}
.modules-left,
.modules-center,
.modules-right {
background: alpha(@background, .74);
border-radius: 16px;
margin: 6px;
box-shadow: 0 0 2px 0 black;
background: alpha(@background, .85);
margin-bottom: 4px;
border-radius: 14px;
}
.module {