From eb9820065404774e1f44881cbea2a07dc6a38823 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Sun, 22 Oct 2023 12:58:15 +0100 Subject: [PATCH] Revert to 10px corner radius Update waybar style to be a bit more space efficient --- home/hyprland/anyrun.nix | 10 +++++----- home/hyprland/config.nix | 2 +- home/hyprland/mako.nix | 2 +- home/hyprland/waybar/style.css | 26 ++++++++++++++------------ 4 files changed, 21 insertions(+), 19 deletions(-) diff --git a/home/hyprland/anyrun.nix b/home/hyprland/anyrun.nix index 59df6b8b..9d521dce 100644 --- a/home/hyprland/anyrun.nix +++ b/home/hyprland/anyrun.nix @@ -52,7 +52,7 @@ } #match.activatable { - border-radius: 5px; + border-radius: 10px; padding: .3rem .9rem; margin-top: .01rem; } @@ -60,7 +60,7 @@ #match.activatable:last-child { margin-bottom: .6rem; } #plugin:hover #match.activatable { - border-radius: 5px; + border-radius: 10px; padding: .3rem; margin-top: .01rem; margin-bottom: 0; @@ -73,13 +73,13 @@ #entry { background: alpha(${base01}, .05); border: 1px solid ${base03}; - border-radius: 5px; + border-radius: 10px; margin: .3rem; padding: .3rem 1rem; } list > #plugin { - border-radius: 5px; + border-radius: 10px; margin: 0 .3rem; } list > #plugin:first-child { margin-top: .3rem; } @@ -89,7 +89,7 @@ box#main { background: alpha(${base00}, .5); box-shadow: inset 0 0 0 1px alpha(${base05}, .1), 0 0 0 1px alpha(${base00}, .5); - border-radius: 5px; + border-radius: 10px; padding: .3rem; } ''; diff --git a/home/hyprland/config.nix b/home/hyprland/config.nix index 05882c64..453994b9 100644 --- a/home/hyprland/config.nix +++ b/home/hyprland/config.nix @@ -61,7 +61,7 @@ in '' } decoration { - rounding = 5 + rounding = 10 drop_shadow = yes shadow_ignore_window = true shadow_range = 4 diff --git a/home/hyprland/mako.nix b/home/hyprland/mako.nix index 03d50120..2b25fa75 100644 --- a/home/hyprland/mako.nix +++ b/home/hyprland/mako.nix @@ -12,6 +12,6 @@ margin = "20"; padding = "10"; sort = "-time"; - borderRadius = 5; + borderRadius = 10; }; } diff --git a/home/hyprland/waybar/style.css b/home/hyprland/waybar/style.css index 53d14c56..b0c4c5e7 100644 --- a/home/hyprland/waybar/style.css +++ b/home/hyprland/waybar/style.css @@ -11,7 +11,7 @@ window > box { margin: 5px 5px 0px; padding: 0px; border: 1px solid @base03; - border-radius: 5px; + border-radius: 10px; } tooltip { @@ -19,7 +19,7 @@ tooltip { background: alpha(@base00, 0.5); box-shadow: inset 0 0 0 1px alpha(@base0A, 0.1), 0 0 0 1px alpha(@base00, 0.5); border: 1px solid @base0A; - border-radius: 5px; + border-radius: 10px; padding: 5px; margin: 0px; } @@ -39,20 +39,22 @@ tooltip { #tray { color: @base05; margin: 0px; + padding: 1px 5px; +} + +#workspaces button { + border: 1px solid transparent; + border-radius: 10px; + color: @base03; + margin: 0px; padding: 0px 5px; } -#workspaces button, -#tray > .passive { - color: @base03; -} - -#workspaces button.active, -#tray > .active { +#workspaces button.active { color: @base05; } -#workspaces button.urgent, -#tray > .needs-attention { - color: @base07; +#workspaces button.urgent { + border: 1px solid @base07; + color: @base05; }