From 0e5188741bef14226c31c0e71d1ab3a81315b812 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Mon, 8 Aug 2022 18:14:10 -0500 Subject: [PATCH] feat(waybar): add persistent workspaces --- dots/.config/waybar/config | 12 ++++++++++++ dots/.config/waybar/style.css | 13 +++++++++++-- 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/dots/.config/waybar/config b/dots/.config/waybar/config index bcd52011..23aefa63 100644 --- a/dots/.config/waybar/config +++ b/dots/.config/waybar/config @@ -156,6 +156,18 @@ "sway/workspaces": { "tooltip": false, "disable-scroll": true, + "all-outputs": true, + "persistent_workspaces": { + "1": [], + "2": [], + "3": [], + "4": [], + "5": [], + "6": [], + "7": [], + "8": [], + "9": [] + } } } ] diff --git a/dots/.config/waybar/style.css b/dots/.config/waybar/style.css index e48488a5..f90554b4 100644 --- a/dots/.config/waybar/style.css +++ b/dots/.config/waybar/style.css @@ -76,6 +76,15 @@ border-radius: 0px; } +#workspaces button.persistent { + transition: none; + margin: 0px; + color: @sakuraPink; + background: transparent; + border-bottom: 2px solid @sakuraPink; + border-radius: 0px; +} + #workspaces button.focused { color: @springGreen; border-bottom: 2px solid @springGreen; @@ -87,8 +96,8 @@ box-shadow: inherit; text-shadow: inherit; border-top: 0px; - border-bottom: 2px solid @peachRed; - color: @sakuraPink; + border-bottom: 2px solid @lightBlue; + color: @lightBlue; border-right: 0px; border-left: 0px; border-radius: 0px;