From a0a94eacd6e074c3bd678cc9749c8ec32702d5dd Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Thu, 14 Nov 2024 11:00:31 -0500 Subject: [PATCH] hpylrand: migrate settings to 0.45 --- homeManagerModules/desktop/hyprland/settings.nix | 9 ++++++--- homes/aly/windowManagers/default.nix | 10 +++++++--- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/homeManagerModules/desktop/hyprland/settings.nix b/homeManagerModules/desktop/hyprland/settings.nix index aedc75e8..d31cc4f6 100644 --- a/homeManagerModules/desktop/hyprland/settings.nix +++ b/homeManagerModules/desktop/hyprland/settings.nix @@ -105,7 +105,6 @@ in { }; dim_special = 0.5; - drop_shadow = true; layerrule = [ "blur,gtk-layer-shell" @@ -123,8 +122,12 @@ in { ]; rounding = cfg.theme.borders.radius; - shadow_range = 4; - shadow_render_power = 3; + + shadow = { + enabled = true; + range = 4; + render_power = 3; + }; }; dwindle.preserve_split = true; diff --git a/homes/aly/windowManagers/default.nix b/homes/aly/windowManagers/default.nix index 9dff19a8..93742d9f 100644 --- a/homes/aly/windowManagers/default.nix +++ b/homes/aly/windowManagers/default.nix @@ -72,23 +72,27 @@ "SUPER,P,exec,${lib.getExe pkgs.rofi-rbw-wayland}" ]; - dwindle.no_gaps_when_only = "1"; - input.kb_options = "ctrl:nocaps"; windowrulev2 = [ + "bordersize 0,floating:0,onworkspace:f[1]" + "bordersize 0,floating:0,onworkspace:w[tv1]" "center(1),class:(Bitwarden)" "center(1),class:(org.keepassxc.KeePassXC)" "float,class:(Bitwarden)" "float,class:(org.keepassxc.KeePassXC)" + "rounding 0,floating:0,onworkspace:f[1]" + "rounding 0,floating:0,onworkspace:w[tv1]" "size 80% 80%,class:(Bitwarden)" "size 80% 80%,class:(org.keepassxc.KeePassXC)" - "workspace special:magic,class:(vesktop)" "workspace special:magic,class:(org.gnome.Fractal)" + "workspace special:magic,class:(vesktop)" ]; workspace = [ + "f[1],gapsout:0,gapsin:0" "special:magic,on-created-empty:${lib.getExe pkgs.fractal}" + "w[tv1],gapsout:0,gapsin:0" ]; }; };