summaryrefslogtreecommitdiff
path: root/waybar
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2023-08-02 01:50:48 -0500
committerzachir <zachir@librem.one>2023-08-02 01:51:47 -0500
commit1c07e2121563da0de05ccba3188d9f96bbac7265 (patch)
tree4a796c0c934a8af24de92c8af6759a1569c2c5ee /waybar
parentbada6ae699540b949c2755c2e127b228a2f6b98a (diff)
Make hyprland use 9 workspaces with better waybar
Diffstat (limited to 'waybar')
-rw-r--r--waybar/config13
-rw-r--r--waybar/style.css4
2 files changed, 16 insertions, 1 deletions
diff --git a/waybar/config b/waybar/config
index d762544..63ac30e 100644
--- a/waybar/config
+++ b/waybar/config
@@ -18,7 +18,18 @@
"wlr/workspaces": {
"format": "{name}",
"active-only": false,
- "all-outputs": true,
+ "all-outputs": false,
+ "persistent_workspaces": {
+ "1": [],
+ "2": [],
+ "3": [],
+ "4": [],
+ "5": [],
+ "6": [],
+ "7": [],
+ "8": [],
+ "9": []
+ },
"on-scroll-up": "hyprctl dispatch workspace e+1",
"on-scroll-down": "hyprctl dispatch workspace e-1",
"on-click": "activate"
diff --git a/waybar/style.css b/waybar/style.css
index f002c9b..8b15dfb 100644
--- a/waybar/style.css
+++ b/waybar/style.css
@@ -62,6 +62,10 @@ window#waybar.hidden {
background-color: #eb4d4b;
}
+#workspaces button.persistent {
+ background: black;
+}
+
#mode {
background-color: #64727D;
border-bottom: 3px solid #ffffff;