diff options
author | Vaxry <[email protected]> | 2024-10-14 00:19:10 +0100 |
---|---|---|
committer | Vaxry <[email protected]> | 2024-10-14 00:19:10 +0100 |
commit | 8e51a36c7fd500e865e34f08ab4dc4331dca59cf (patch) | |
tree | e30be9da1b9b802f85c422aac55abe865a945143 | |
parent | 5c3bd8e93d9f25be3e16a0445ba6fce8d30b6d73 (diff) | |
download | Hyprland-8e51a36c7fd500e865e34f08ab4dc4331dca59cf.tar.gz Hyprland-8e51a36c7fd500e865e34f08ab4dc4331dca59cf.zip |
config/example: add optional smart gaps to the default config
ref #8106 #8114
-rw-r--r-- | example/hyprland.conf | 7 | ||||
-rw-r--r-- | src/config/defaultConfig.hpp | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/example/hyprland.conf b/example/hyprland.conf index 3478bcff..6d7bddb8 100644 --- a/example/hyprland.conf +++ b/example/hyprland.conf @@ -117,6 +117,13 @@ animations { animation = workspaces, 1, 6, default } +# Ref https://wiki.hyprland.org/Configuring/Workspace-Rules/ +# "Smart gaps" / "No gaps when only" +# uncomment all three if you wish to use that. +# workspace = w[t1], gapsout:0, gapsin:0, border: 0, rounding:0 +# workspace = w[tg1], gapsout:0, gapsin:0, border: 0, rounding:0 +# workspace = f[1], gapsout:0, gapsin:0, border: 0, rounding:0 + # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more dwindle { pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below diff --git a/src/config/defaultConfig.hpp b/src/config/defaultConfig.hpp index 54ce6642..5c8b0e68 100644 --- a/src/config/defaultConfig.hpp +++ b/src/config/defaultConfig.hpp @@ -130,6 +130,13 @@ animations { animation = workspaces, 1, 6, default } +# Ref https://wiki.hyprland.org/Configuring/Workspace-Rules/ +# "Smart gaps" / "No gaps when only" +# uncomment all three if you wish to use that. +# workspace = w[t1], gapsout:0, gapsin:0, border: 0, rounding:0 +# workspace = w[tg1], gapsout:0, gapsin:0, border: 0, rounding:0 +# workspace = f[1], gapsout:0, gapsin:0, border: 0, rounding:0 + # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more dwindle { pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below |