Fix hyprland config
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user