diff --git a/waybar/config b/waybar/config
index aee2a23..0d15c49 100644
--- a/waybar/config
+++ b/waybar/config
@@ -10,26 +10,41 @@
"hyprland/workspaces",
],
"modules-center": [
+ "hyprland/window",
],
"modules-right": [
"tray",
+ "network",
"cpu",
"memory",
"clock"
],
// Modules configuration
"hyprland/workspaces": {
- "format": "{name}",
+ "format": "{id}{icon}",
+ "format-icons": {
+ "default": "",
+ "urgent": "*",
+ },
+ "all-outputs": true,
+ "expand": true,
},
"tray": {
"icon-size": 24,
"spacing": 10
},
+ "network": {
+ "format-ethernet": " {ifname}",
+ "format-wifi": " {ifname}",
+ "format-disconnected": " ",
+ "tooltip-format": "{ipaddr} via {gwaddr}",
+ "tooltip-format-disconnected": "Disconnected",
+ },
"clock": {
"interval": 1,
- "format": "{:%H:%M:%S %d}",
+ "format": "{:%H:%M:%S %a %d}",
// "format": "{:%H:%M:%S %Y-%m-%d}",
- "tooltip-format": "{:%Y %B}\n{calendar}"
+ "tooltip-format": "{calendar}"
},
"cpu": {
"format": " {usage}%",
diff --git a/waybar/style.css b/waybar/style.css
index f0a8950..5850abf 100644
--- a/waybar/style.css
+++ b/waybar/style.css
@@ -50,3 +50,12 @@ button.focused {
#clock {
color: @mauve;
}
+
+#network {
+ color: @lavender;
+}
+
+#network.disabled,
+#network.disconnected {
+ color: @red;
+}