Fix hyprland config

This commit is contained in:
2026-06-02 23:14:39 +02:00
parent 3945bc3204
commit 2907927036
+21 -22
View File
@@ -114,7 +114,7 @@
# } # }
# ); # );
configType = "lua"; configType = "hyprlang";
systemd = { systemd = {
enable = true; enable = true;
@@ -182,12 +182,11 @@
# Disable animations for selection, fixes screenshots # Disable animations for selection, fixes screenshots
extraConfig = '' extraConfig = ''
# layerrule { layerrule {
# name = no_anim_for_selection name = no_anim_for_selection
# no_anim = on no_anim = on
# match:namespace = selection match:namespace = selection
# } }
layerrule = noanim, selection
''; '';
settings = { settings = {
@@ -222,7 +221,7 @@
# Dwindle layout # Dwindle layout
dwindle = { 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 preserve_split = true; # You probably want this
smart_split = false; smart_split = false;
smart_resizing = false; smart_resizing = false;
@@ -260,7 +259,7 @@
force_default_wallpaper = 0; force_default_wallpaper = 0;
vfr = true; # power saving # vfr = true; # power saving
}; };
cursor = { cursor = {
@@ -280,18 +279,18 @@
}; };
# Window rules # Window rules
windowrulev2 = [ # windowrulev2 = [
"suppressevent maximize, class:.*" # "suppressevent maximize, class:.*"
"workspace 1, class:firefox" # "workspace 1, class:firefox"
"workspace 8, class:Zotero" # "workspace 8, class:Zotero"
"workspace 9, class:nheko" # "workspace 9, class:nheko"
"workspace 9, class:Element" # "workspace 9, class:Element"
"workspace 9, class:discord" # "workspace 9, class:discord"
"workspace 9, class:org.telegram.desktop" # "workspace 9, class:org.telegram.desktop"
"workspace 10, class:thunderbird" # "workspace 10, class:thunderbird"
"float, class:qalculate-gtk" # "float, class:qalculate-gtk"
"tile, class:MATLAB, title:MATLAB" # "tile, class:MATLAB, title:MATLAB"
]; # ];
# Workspace rules # Workspace rules
workspace = workspace =
@@ -327,7 +326,7 @@
"$mod, F, fullscreen," "$mod, F, fullscreen,"
"$mod, X, killactive," "$mod, X, killactive,"
"$mod, -, togglesplit," # dwindle # "$mod, -, togglesplit," # dwindle
# opening applications # opening applications
"$mod, D, exec, wofi --show drun,run" "$mod, D, exec, wofi --show drun,run"