From 3a692719f2d9ebe4386000ea92366784d7ae8a2a Mon Sep 17 00:00:00 2001 From: chem Date: Thu, 28 Aug 2025 14:15:29 -0600 Subject: [PATCH 1/2] waybar: fix weird jump when changing workspace --- home/modules/gui/waybar.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home/modules/gui/waybar.nix b/home/modules/gui/waybar.nix index 9aa66a1..ef36115 100644 --- a/home/modules/gui/waybar.nix +++ b/home/modules/gui/waybar.nix @@ -118,11 +118,11 @@ in { #workspaces button.focused { background: rgba(255, 255, 255, 0.10); color: #ffffff; - border-bottom: 2px solid #ffffff; + box-shadow: inset 0 -2px #ffffff; } #workspaces button.urgent { background: rgba(255, 80, 80, 0.25); - border-bottom: 2px solid #ff5050; + box-shadow: inset 0 -2px #ff5050; } /* Focused window title: single line, no glow */ From 935c82cced13fdf1fac6dbc9fd40c0ed149fc2a9 Mon Sep 17 00:00:00 2001 From: chem Date: Thu, 28 Aug 2025 14:16:46 -0600 Subject: [PATCH 2/2] waybar: resolve random TODOs --- home/modules/baseline.nix | 1 - home/modules/gui/sway.nix | 2 +- home/modules/gui/waybar.nix | 8 ++++---- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/home/modules/baseline.nix b/home/modules/baseline.nix index 1d4f0b1..b4bdc1f 100644 --- a/home/modules/baseline.nix +++ b/home/modules/baseline.nix @@ -34,7 +34,6 @@ in { zip ]; keyboard = { - #TODO switch to normal people variant layout = "us"; variant = "altgr-intl"; }; diff --git a/home/modules/gui/sway.nix b/home/modules/gui/sway.nix index 90e0109..0bb16dc 100644 --- a/home/modules/gui/sway.nix +++ b/home/modules/gui/sway.nix @@ -57,7 +57,7 @@ in { input = { "*" = { xkb_layout = "us"; - xkb_variant = "altgr-intl"; #TODO change to normal ppl keeb too + xkb_variant = "altgr-intl"; }; }; diff --git a/home/modules/gui/waybar.nix b/home/modules/gui/waybar.nix index ef36115..eb73361 100644 --- a/home/modules/gui/waybar.nix +++ b/home/modules/gui/waybar.nix @@ -65,7 +65,7 @@ in { icon-size = 12; }; }; - }; #TODO font negro n shit + }; style = '' * { font-family: "JetBrains Mono", monospace; @@ -75,9 +75,9 @@ in { box-shadow: none; } - /* Entire bar: fully transparent, no border */ + /* Entire bar: blacc, no border */ window#waybar { - background: transparent; + background: #000000; color: #eaeaea; margin: 0; padding: 0; @@ -145,7 +145,7 @@ in { #clock, #battery, #network, #pulseaudio, #backlight, #cpu, #memory, #temperature, #tray { padding: 0 6px; margin: 0; - background: transparent; + background: #000000; color: #eaeaea; }