|
@@ -6,8 +6,8 @@
|
|
|
main = {
|
|
main = {
|
|
|
layer = "top";
|
|
layer = "top";
|
|
|
position = "bottom";
|
|
position = "bottom";
|
|
|
- height = 32;
|
|
|
|
|
- spacing = 2;
|
|
|
|
|
|
|
+ height = 16;
|
|
|
|
|
+ spacing = 0;
|
|
|
|
|
|
|
|
modules-left = [
|
|
modules-left = [
|
|
|
"sway/workspaces"
|
|
"sway/workspaces"
|
|
@@ -17,10 +17,12 @@
|
|
|
"clock"
|
|
"clock"
|
|
|
];
|
|
];
|
|
|
modules-right = [
|
|
modules-right = [
|
|
|
|
|
+ "tray"
|
|
|
|
|
+ "custom/cap-left"
|
|
|
"pulseaudio"
|
|
"pulseaudio"
|
|
|
"network"
|
|
"network"
|
|
|
"battery"
|
|
"battery"
|
|
|
- "tray"
|
|
|
|
|
|
|
+ "custom/cap-right"
|
|
|
];
|
|
];
|
|
|
|
|
|
|
|
clock = {
|
|
clock = {
|
|
@@ -45,13 +47,15 @@
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
network = {
|
|
network = {
|
|
|
- format-wifi = "";
|
|
|
|
|
- format-ethernet = "";
|
|
|
|
|
- tooltip-format = "{essid}";
|
|
|
|
|
|
|
+ format-wifi = "";
|
|
|
|
|
+ format-ethernet = "";
|
|
|
|
|
+ format-disconnected = "";
|
|
|
|
|
+ tooltip-format = "{essid}\n{ipaddr}";
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
pulseaudio = {
|
|
pulseaudio = {
|
|
|
- format = "{icon} {volume}%";
|
|
|
|
|
|
|
+ format = "{icon}";
|
|
|
|
|
+ tooltip-format = "{volume}%";
|
|
|
format-icons = {
|
|
format-icons = {
|
|
|
default = [
|
|
default = [
|
|
|
""
|
|
""
|
|
@@ -66,30 +70,35 @@
|
|
|
format-paused = "{artist} - {title}";
|
|
format-paused = "{artist} - {title}";
|
|
|
max-length = 25;
|
|
max-length = 25;
|
|
|
};
|
|
};
|
|
|
|
|
+
|
|
|
|
|
+ "custom/cap-left" = {
|
|
|
|
|
+ format = " ";
|
|
|
|
|
+ tooltip = false;
|
|
|
|
|
+ };
|
|
|
|
|
+
|
|
|
|
|
+ "custom/cap-right" = {
|
|
|
|
|
+ format = " ";
|
|
|
|
|
+ tooltip = false;
|
|
|
|
|
+ };
|
|
|
};
|
|
};
|
|
|
};
|
|
};
|
|
|
style = ''
|
|
style = ''
|
|
|
* {
|
|
* {
|
|
|
border: none;
|
|
border: none;
|
|
|
- font-family: "Roboto", "Material Symbols Rounded";
|
|
|
|
|
- font-size: 14px;
|
|
|
|
|
- min-height: 0;
|
|
|
|
|
|
|
+ font-family: "JetBrainsMono Nerd Font", "Material Symbols Rounded";
|
|
|
|
|
+ font-size: 12px;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
window#waybar {
|
|
window#waybar {
|
|
|
background: rgb(26,28,23);
|
|
background: rgb(26,28,23);
|
|
|
- margin-top: 8px;
|
|
|
|
|
border-radius: 0px;
|
|
border-radius: 0px;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- /* Shared module styling */
|
|
|
|
|
#clock,
|
|
#clock,
|
|
|
- #battery,
|
|
|
|
|
- #network,
|
|
|
|
|
- #pulseaudio,
|
|
|
|
|
#tray,
|
|
#tray,
|
|
|
#mpris,
|
|
#mpris,
|
|
|
- #workspaces {
|
|
|
|
|
|
|
+ #workspaces,
|
|
|
|
|
+ #workspace button {
|
|
|
background: rgb(35,39,29);
|
|
background: rgb(35,39,29);
|
|
|
|
|
|
|
|
color: #e6e1e5;
|
|
color: #e6e1e5;
|
|
@@ -102,6 +111,7 @@
|
|
|
border-radius: 10px;
|
|
border-radius: 10px;
|
|
|
|
|
|
|
|
border: 1px solid rgba(255,255,255,0.08);
|
|
border: 1px solid rgba(255,255,255,0.08);
|
|
|
|
|
+ transition: all 0.2s ease;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
#workspaces {
|
|
#workspaces {
|
|
@@ -113,13 +123,6 @@
|
|
|
margin: 0;
|
|
margin: 0;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- #workspaces button {
|
|
|
|
|
- color: #c4c7c5;
|
|
|
|
|
- padding: 0 10px;
|
|
|
|
|
- border-radius: 10px;
|
|
|
|
|
- transition: all 0.2s ease;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
#workspaces button.active,
|
|
#workspaces button.active,
|
|
|
#workspaces button.focused {
|
|
#workspaces button.focused {
|
|
|
background: rgba(103, 80, 164, 0.4);
|
|
background: rgba(103, 80, 164, 0.4);
|
|
@@ -142,16 +145,45 @@
|
|
|
background: rgba(255,102,42,0.2);
|
|
background: rgba(255,102,42,0.2);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ #pulseaudio,
|
|
|
|
|
+ #network,
|
|
|
#battery {
|
|
#battery {
|
|
|
- }
|
|
|
|
|
|
|
+ background: rgb(35,39,29);
|
|
|
|
|
+ color: #e6e1e5;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
|
|
|
- #network {
|
|
|
|
|
|
|
+ padding: 0 6px;
|
|
|
|
|
+ margin: 2px 0;
|
|
|
|
|
+ border-radius: 0;
|
|
|
|
|
+
|
|
|
|
|
+ border-top: 1px solid rgba(255,255,255,0.08);
|
|
|
|
|
+ border-bottom: 1px solid rgba(255,255,255,0.08);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
#pulseaudio {
|
|
#pulseaudio {
|
|
|
|
|
+ font-size: 18px;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- #clock {
|
|
|
|
|
|
|
+ #custom-cap-left {
|
|
|
|
|
+ background: rgb(35,39,29);
|
|
|
|
|
+ margin: 2px 0 2px 2px;
|
|
|
|
|
+
|
|
|
|
|
+ border-radius: 12px 0 0 12px;
|
|
|
|
|
+ padding: 0 3px;
|
|
|
|
|
+
|
|
|
|
|
+ border: 1px solid rgba(255,255,255,0.08);
|
|
|
|
|
+ border-right: none;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ #custom-cap-right {
|
|
|
|
|
+ background: rgb(35,39,29);
|
|
|
|
|
+ margin: 2px 2px 2px 0;
|
|
|
|
|
+
|
|
|
|
|
+ border-radius: 0 12px 12px 0;
|
|
|
|
|
+ padding: 0 2px;
|
|
|
|
|
+
|
|
|
|
|
+ border: 1px solid rgba(255,255,255,0.08);
|
|
|
|
|
+ border-left: none;
|
|
|
}
|
|
}
|
|
|
'';
|
|
'';
|
|
|
};
|
|
};
|