From a64babe620131a177e09ca093185cc9b719b787b Mon Sep 17 00:00:00 2001 From: Benjamin Palko Date: Mon, 25 Mar 2024 16:47:06 -0500 Subject: [PATCH] style workspaces --- .scripts/install-spicetify.sh | 2 ++ .zshrc | 2 ++ waybar/config.jsonc | 7 +++++++ waybar/style.css | 1 - waybar/styles/modules/window.css | 7 +------ waybar/styles/modules/workspaces.css | 28 ++++++++-------------------- 6 files changed, 20 insertions(+), 27 deletions(-) create mode 100644 .scripts/install-spicetify.sh diff --git a/.scripts/install-spicetify.sh b/.scripts/install-spicetify.sh new file mode 100644 index 0000000..494832a --- /dev/null +++ b/.scripts/install-spicetify.sh @@ -0,0 +1,2 @@ +curl -fsSL https://raw.githubusercontent.com/spicetify/spicetify-cli/master/install.sh | sh + diff --git a/.zshrc b/.zshrc index b3a081b..c570de3 100644 --- a/.zshrc +++ b/.zshrc @@ -124,3 +124,5 @@ compinit neofetch + +export PATH=$PATH:/home/benjamin/.spicetify diff --git a/waybar/config.jsonc b/waybar/config.jsonc index 67f67e7..7ab6836 100644 --- a/waybar/config.jsonc +++ b/waybar/config.jsonc @@ -34,6 +34,13 @@ "deactivated": "󰔛" } }, + "hyprland/workspaces": { + "active-only": false, + "format": "{icon}", + "format-icons": { + "default": "" + } + }, "hyprland/window": { "format": "{}", "rewrite": { diff --git a/waybar/style.css b/waybar/style.css index 638d1dc..d0bb862 100644 --- a/waybar/style.css +++ b/waybar/style.css @@ -4,7 +4,6 @@ text-shadow: none; transition: color 0.5s ease-in-out; transition: background-color 0.5s ease-in-out; - color: @color15; } /* diff --git a/waybar/styles/modules/window.css b/waybar/styles/modules/window.css index 3d74dc8..3ea826b 100644 --- a/waybar/styles/modules/window.css +++ b/waybar/styles/modules/window.css @@ -6,15 +6,10 @@ } window#waybar.kitty { - background-color: #111111; + background-color: transparent; color: #ffffff; } -window#waybar.chromium { - background-color: #eeeeee; - color: #000000; -} - /* make window module transparent when no windows present */ window#waybar.empty #window { background-color: transparent; diff --git a/waybar/styles/modules/workspaces.css b/waybar/styles/modules/workspaces.css index f22f1b7..eaa9f04 100644 --- a/waybar/styles/modules/workspaces.css +++ b/waybar/styles/modules/workspaces.css @@ -1,43 +1,31 @@ #workspaces { padding: 0; - border: 2px solid @color4; + /* border: 2px solid @color4; */ } #workspaces button { - padding: 0 4px; + padding: 0 9px 0 4px; box-shadow: none; border: none; - border-radius: 0; -} - -#workspaces button:first-child { - padding-left: 8px; - border-radius: 9999px 0 0 9999px; -} - -#workspaces button:last-child { - padding-right: 8px; - border-radius: 0 9999px 9999px 0; -} - -#workspaces button:only-child { border-radius: 9999px; + color: @color2; } #workspaces button.active { - background: @color4; + color: @color5; } #workspaces button:hover { - background: @color4; + background: transparent; + color: @color5; } #workspaces button.focused { - background-color: @color5; + color: @color4; } #workspaces button.urgent { - background-color: #bf616a; + color: #bf616a; }