about summary refs log tree commit diff
path: root/home/wm/waybar
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-03-14 19:12:22 -0700
committerFranck Cuny <franck@fcuny.net>2023-03-14 19:13:02 -0700
commita720bc5019f4a9f53c8720fb0d4eed4ae2cd3e7d (patch)
tree2e488cd26fe2fe70bb9df2b80cf0b9b8e5435e39 /home/wm/waybar
parentmodules/fonts: add more fonts (diff)
downloadworld-a720bc5019f4a9f53c8720fb0d4eed4ae2cd3e7d.tar.gz
home/sway: a bunch of small tweaks
Diffstat (limited to '')
-rw-r--r--home/wm/waybar/default.nix5
-rw-r--r--home/wm/waybar/style.css21
2 files changed, 11 insertions, 15 deletions
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,