diff --git a/home/hyprland/config.nix b/home/hyprland/config.nix index 1b21df3e..6ace37e2 100644 --- a/home/hyprland/config.nix +++ b/home/hyprland/config.nix @@ -81,11 +81,11 @@ in '' } } - $layers = ^(eww-.+|ironbar|waybar|bar|system-menu|anyrun|gtk-layer-shell|swaync-.+)$ + $layers = ^(ironbar|waybar|system-menu|anyrun|gtk-layer-shell|swaync-.+)$ layerrule = blur, $layers - layerrule = ignorealpha 0, $layers - layerrule = ignorealpha 0.5, ^(eww-(music|calendar)|ironbar|waybar|system-menu|anyrun|swaync-.+)$ - layerrule = xray 1, ^(bar|gtk-layer-shell)$ + # layerrule = ignorezero, $layers + layerrule = ignorealpha 0.5, $layers + layerrule = xray 1, ^(ironbar|bar|gtk-layer-shell)$ animations { enabled = yes diff --git a/home/hyprland/ironbar/config/style.css b/home/hyprland/ironbar/config/style.css index 047740fd..d6259977 100644 --- a/home/hyprland/ironbar/config/style.css +++ b/home/hyprland/ironbar/config/style.css @@ -32,9 +32,54 @@ * { color: @text; font-family: "Fira Sans"; - /* border: 1px solid @surface2; */ } -.workspaces { +.background, +#bar { + background: transparent; +} + +#bar { + margin-top: 5px; + margin-left: 10px; + margin-right: 10px; +} + +#bar #start, +#bar #center, +#bar #end, +.popup { + background: rgba(36, 39, 58, .5); + font-size: 16px; + border: 1px solid @surface2; + border-radius: 10px; + padding-top: 5px; + padding-bottom: 5px; +} + +.upower, +.clock, +.workspaces .item, +.launcher .item, +.tray { + background: @surface0; + border-radius: 5px; + margin-left: 5px; + margin-right: 5px; +} + +.workspaces .item, +.launcher .item { + border: 1px solid transparent; font-size: 24px; } + +.workspaces .item.focused, +.launcher .item.focused { + border: 1px solid @lavender; +} + +.tray { + padding-left: 5px; + padding-right: 5px; +} diff --git a/home/hyprland/ironbar/default.nix b/home/hyprland/ironbar/default.nix index c48697b9..a092995d 100644 --- a/home/hyprland/ironbar/default.nix +++ b/home/hyprland/ironbar/default.nix @@ -2,5 +2,8 @@ { home.packages = with pkgs; [ ironbar cava ]; - xdg.configFile.ironbar.source = ./config; + xdg.configFile.ironbar = { + source = ./config; + recursive = true; + }; } diff --git a/home/hyprland/ironbar/README.org b/home/hyprland/ironbar/reference/README.org similarity index 100% rename from home/hyprland/ironbar/README.org rename to home/hyprland/ironbar/reference/README.org diff --git a/hosts/Ronin/home.nix b/hosts/Ronin/home.nix index f312406d..8f78c608 100644 --- a/hosts/Ronin/home.nix +++ b/hosts/Ronin/home.nix @@ -24,8 +24,7 @@ disable_splash_rendering = true } - monitor=eDP-1,preferred,0x190,1 - monitor=desc:Iiyama North America PLB2403WS 0574281251316,preferred,1920x190,1 - monitor=desc:Dell Inc. DELL U2417H 5K9YD872FY1L,preferred,3840x0,1,transform,1 + monitor=eDP-1,preferred,0x190,1.5 + monitor=desc:Iiyama North America PLB2403WS 0574281251316,preferred,1280x190,1 ''; }