summaryrefslogtreecommitdiff
path: root/waybar
diff options
context:
space:
mode:
authorJoshua Yun <joshua@joshuayun.com>2025-10-28 09:48:28 -0500
committerJoshua Yun <joshua@joshuayun.com>2025-10-28 09:48:28 -0500
commitc186740ee0c30cd9df45292ac8ce15ebcb8f4cd9 (patch)
tree6e5be639927afe743d3aa18c8f3177118f268358 /waybar
parent4be043631736c29f822524465944f632621e06da (diff)
downloadconfig-c186740ee0c30cd9df45292ac8ce15ebcb8f4cd9.tar.gz
waybar changes for niri
Diffstat (limited to 'waybar')
-rw-r--r--waybar/config50
-rw-r--r--waybar/style.css19
2 files changed, 41 insertions, 28 deletions
diff --git a/waybar/config b/waybar/config
index 6e2f288..319fcca 100644
--- a/waybar/config
+++ b/waybar/config
@@ -1,6 +1,6 @@
{
"layer": "top",
- "modules-left": ["hyprland/workspaces"],
+ "modules-left": ["niri/workspaces"],
"modules-center": ["hyprland/window"],
"modules-right": ["cpu", "memory", "temperature", "pulseaudio", "clock", "tray"],
@@ -39,23 +39,33 @@
"interval": 1
},
- "hyprland/workspaces": {
- "all-outputs": false,
- "format": "{icon}",
- "format-icons": {
- "11": "1",
- "12": "2",
- "13": "3",
- "14": "4",
- "15": "5",
- "16": "6",
- "17": "7",
- "18": "8",
- "19": "9",
- },
- "persistent-workspaces": {
- "DP-2": [ 1, 2, 3, 4, 5, 6, 7, 8, 9],
- "HDMI-A-1": [11, 12, 13, 14, 15, 16, 17, 18, 19]
- }
- }
+ "niri/workspaces": {
+ "format": "{value}",
+ "format-icons": {
+ // Named workspaces
+ // (you need to configure them in niri)
+ "browser": "",
+ "discord": "",
+ "chat": "<b></b>",
+ // Icons by state
+ "active": "",
+ "default": ""
+ }
+ },
+
+ // "hyprland/workspaces": {
+ // "all-outputs": false,
+ // "format": "{icon}",
+ // "format-icons": {
+ // "10": "1",
+ // "11": "2",
+ // "12": "3",
+ // "13": "4",
+ // "14": "5",
+ // "15": "6",
+ // "16": "7",
+ // "17": "8",
+ // "18": "9",
+ // },
+ // }
}
diff --git a/waybar/style.css b/waybar/style.css
index 32e1cbb..30bf107 100644
--- a/waybar/style.css
+++ b/waybar/style.css
@@ -53,10 +53,6 @@ button:hover {
box-shadow: inset 0 -3px #ffffff;
}
-#workspaces button.persistent {
- background-color: #3b4252;
-}
-
#workspaces button.empty {
background-color: #4c566a;
}
@@ -67,14 +63,21 @@ button:hover {
color: #ffffff;
}
+#workspaces button.active {
+ background-color: #2e3440;
+ box-shadow: inset 0 -3px #ffffff;
+}
+
+/*
+#workspaces button.persistent {
+ background-color: #3b4252;
+}
+
#workspaces button:hover {
background: rgba(0, 0, 0, 0.2);
}
-#workspaces button.visible {
- background-color: #2e3440;
- box-shadow: inset 0 -3px #ffffff;
-}
+*/
#workspaces button.urgent {
background-color: #eb4d4b;