aboutsummaryrefslogtreecommitdiff
path: root/users
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-03-31 18:01:56 -0700
committerFranck Cuny <franck@fcuny.net>2022-03-31 18:01:56 -0700
commit181d164dd2c41bbe0b402d6b7ac600e7c0bb7ca6 (patch)
treed74fadf0c93f307d4fa8cbf07de16e842603d89a /users
parentbeets: how to manage soundtracks (diff)
downloadinfra-181d164dd2c41bbe0b402d6b7ac600e7c0bb7ca6.tar.gz
swaybar: simplify colors
Diffstat (limited to 'users')
-rw-r--r--users/fcuny/desktop/wm/bar.nix35
1 files changed, 17 insertions, 18 deletions
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,