From a720bc5019f4a9f53c8720fb0d4eed4ae2cd3e7d Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Tue, 14 Mar 2023 19:12:22 -0700 Subject: home/sway: a bunch of small tweaks --- home/wm/waybar/default.nix | 5 ++++- home/wm/waybar/style.css | 21 +++++++-------------- 2 files changed, 11 insertions(+), 15 deletions(-) (limited to 'home/wm/waybar') diff --git a/home/wm/waybar/default.nix b/home/wm/waybar/default.nix index 717d4c0..4a524a8 100644 --- a/home/wm/waybar/default.nix +++ b/home/wm/waybar/default.nix @@ -24,7 +24,10 @@ in margin-bottom = 0; modules-left = [ "sway/workspaces" "sway/mode" ]; modules-right = [ "custom/systemd" "pulseaudio" "network" "battery" "clock" "tray" ]; - "sway/workspaces" = { format = "{name}"; }; + "sway/workspaces" = { + format = "{name}"; + disable-scroll = true; + }; "sway/mode" = { format = "{}"; }; tray = { spacing = 10; }; clock = { format = "{: %a %b %d %R}"; }; diff --git a/home/wm/waybar/style.css b/home/wm/waybar/style.css index e4565c8..16f6a14 100644 --- a/home/wm/waybar/style.css +++ b/home/wm/waybar/style.css @@ -4,29 +4,22 @@ margin: 0; min-height: 0; padding: 0; -} -#waybar { font-family: Source Code Pro; font-size: 15px; } window#waybar { - background-color: rgba(43, 48, 59, 0.9); - color: #ffffff; + background-color: #282A36; + color: #ccc; } #workspaces button { - padding: 0 3px; + padding: 0 5px; background-color: transparent; - color: #888888; + color: #ccc; + border-bottom: 2px solid transparent; } #workspaces button.focused { - background-color: #285577; - border: 1px solid #4c7899; - color: #ffffff; -} -#workspaces button.urgent { - background-color: #900000; - border: 1px solid #2f343a; - color: #ffffff; + background-color: #282A36; + border-bottom: 2px solid #BBBBBB; } #clock, #battery, -- cgit 1.4.1