From 181d164dd2c41bbe0b402d6b7ac600e7c0bb7ca6 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Thu, 31 Mar 2022 18:01:56 -0700 Subject: swaybar: simplify colors --- users/fcuny/desktop/wm/bar.nix | 35 +++++++++++++++++------------------ 1 file changed, 17 insertions(+), 18 deletions(-) (limited to 'users/fcuny') diff --git a/users/fcuny/desktop/wm/bar.nix b/users/fcuny/desktop/wm/bar.nix index 1637f5c..34dc86c 100644 --- a/users/fcuny/desktop/wm/bar.nix +++ b/users/fcuny/desktop/wm/bar.nix @@ -55,35 +55,34 @@ padding: 0; } #waybar { - background: #000000; - color: white; font-family: Source Code Pro; font-size: 15px; } - #tray { - /* No styles */ - } - #window { - font-weight: bold; + window#waybar { + background-color: rgba(43, 48, 59, 0.5); + color: #ffffff; + transition-property: background-color; + transition-duration: .5s; } #workspaces button { - border-top: #333333; - background-color: #000000; - /* To compensate for the top border and still have vertical centering */ - padding-bottom: 2px; + padding: 0 5px; + background-color: transparent; color: #ffffff; + box-shadow: inset 0 -3px transparent; } - #workspaces button.visible { - border-color: #333333; - background-color: #5f676a; + #workspaces button:hover { + background: rgba(0, 0, 0, 0.2); + box-shadow: inset 0 -3px #ffffff; } #workspaces button.focused { - border-color: #4c7899; - background-color: #285577; + background-color: #64727D; + box-shadow: inset 0 -3px #ffffff; } #workspaces button.urgent { - border-color: #2f343a; - background-color: #900000; + background-color: #eb4d4b; + } + #tray { + /* No styles */ } #clock, #battery, -- cgit 1.4.1