From 60ab590e8b08ed984de7a3de519b35a2b68b0d0e Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Fri, 26 Apr 2024 09:31:53 -0400 Subject: [PATCH] sway: port hyprland waybar to sway --- homeManagerModules/desktop/sway/default.nix | 1 - homeManagerModules/desktop/sway/waybar.css | 24 +++++++++++++++++++-- 2 files changed, 22 insertions(+), 3 deletions(-) diff --git a/homeManagerModules/desktop/sway/default.nix b/homeManagerModules/desktop/sway/default.nix index dfa3604b..a38623af 100644 --- a/homeManagerModules/desktop/sway/default.nix +++ b/homeManagerModules/desktop/sway/default.nix @@ -370,7 +370,6 @@ corner_radius 10 shadows enable - layer_effects waybar blur enable layer_effects launcher blur enable layer_effects logout_dialog blur enable ''; diff --git a/homeManagerModules/desktop/sway/waybar.css b/homeManagerModules/desktop/sway/waybar.css index 40abd8ff..da882ea1 100644 --- a/homeManagerModules/desktop/sway/waybar.css +++ b/homeManagerModules/desktop/sway/waybar.css @@ -3,5 +3,25 @@ /* Style overrides for sway */ window#waybar { - background: rgba (35, 38, 52, 1.0); -} \ No newline at end of file + background: rgba (35, 38, 52, 0.0); +} + +#workspaces, +#submap, +#tray, +#clock, +#hardware +{ +border-radius: 10; +background: rgba (35, 38, 52, 0.8); +margin: 5px 10px 0px 10px; +padding: 0px 10px 0px 10px; +} + +#clock { + padding: 0px 20px 0px 20px; +} + +/* #workspaces { + padding: 0px 5px; +} */ \ No newline at end of file