Skip to content

Commit

Permalink
home-manager/hyrpland: upstream deprecated no_gaps_when_only
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagokokada committed Dec 17, 2024
1 parent 6ea7d8a commit dbbf47d
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion home-manager/desktop/wayland/hyprland/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ in
};
master = {
allow_small_split = true;
no_gaps_when_only = 1;
};
input =
let
Expand Down Expand Up @@ -266,7 +265,21 @@ in
", XF86AudioPrev, exec, ${playerctl} previous"
];

workspace = [
# smart_gaps / no_gaps_when_only
"w[t1], gapsout:0, gapsin:0"
"w[tg1], gapsout:0, gapsin:0"
"f[1], gapsout:0, gapsin:0"
];

windowrulev2 = [
# smart_gaps / no_gaps_when_only
"bordersize 0, floating:0, onworkspace:w[t1]"
"rounding 0, floating:0, onworkspace:w[t1]"
"bordersize 0, floating:0, onworkspace:w[tg1]"
"rounding 0, floating:0, onworkspace:w[tg1]"
"bordersize 0, floating:0, onworkspace:f[1]"
"rounding 0, floating:0, onworkspace:f[1]"
# Ignore maximize events
"suppressevent maximize, class:.*"
# Fix download/save image windows in Firefox
Expand Down

0 comments on commit dbbf47d

Please sign in to comment.