From 2907927036504c82a9e69364f13a763f68ddb8f9 Mon Sep 17 00:00:00 2001 From: Julian Mutter Date: Tue, 2 Jun 2026 23:14:39 +0200 Subject: [PATCH] Fix hyprland config --- homes/julian/features/hyprland/default.nix | 43 +++++++++++----------- 1 file changed, 21 insertions(+), 22 deletions(-) diff --git a/homes/julian/features/hyprland/default.nix b/homes/julian/features/hyprland/default.nix index 95d567f..26c5f1e 100644 --- a/homes/julian/features/hyprland/default.nix +++ b/homes/julian/features/hyprland/default.nix @@ -114,7 +114,7 @@ # } # ); - configType = "lua"; + configType = "hyprlang"; systemd = { enable = true; @@ -182,12 +182,11 @@ # Disable animations for selection, fixes screenshots extraConfig = '' - # layerrule { - # name = no_anim_for_selection - # no_anim = on - # match:namespace = selection - # } - layerrule = noanim, selection + layerrule { + name = no_anim_for_selection + no_anim = on + match:namespace = selection + } ''; settings = { @@ -222,7 +221,7 @@ # Dwindle layout dwindle = { - pseudotile = true; # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below + # pseudotile = true; # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below preserve_split = true; # You probably want this smart_split = false; smart_resizing = false; @@ -260,7 +259,7 @@ force_default_wallpaper = 0; - vfr = true; # power saving + # vfr = true; # power saving }; cursor = { @@ -280,18 +279,18 @@ }; # Window rules - windowrulev2 = [ - "suppressevent maximize, class:.*" - "workspace 1, class:firefox" - "workspace 8, class:Zotero" - "workspace 9, class:nheko" - "workspace 9, class:Element" - "workspace 9, class:discord" - "workspace 9, class:org.telegram.desktop" - "workspace 10, class:thunderbird" - "float, class:qalculate-gtk" - "tile, class:MATLAB, title:MATLAB" - ]; + # windowrulev2 = [ + # "suppressevent maximize, class:.*" + # "workspace 1, class:firefox" + # "workspace 8, class:Zotero" + # "workspace 9, class:nheko" + # "workspace 9, class:Element" + # "workspace 9, class:discord" + # "workspace 9, class:org.telegram.desktop" + # "workspace 10, class:thunderbird" + # "float, class:qalculate-gtk" + # "tile, class:MATLAB, title:MATLAB" + # ]; # Workspace rules workspace = @@ -327,7 +326,7 @@ "$mod, F, fullscreen," "$mod, X, killactive," - "$mod, -, togglesplit," # dwindle + # "$mod, -, togglesplit," # dwindle # opening applications "$mod, D, exec, wofi --show drun,run"