From 1b35ec79699afbfc7c226626dd01a596fb061820 Mon Sep 17 00:00:00 2001 From: larstvei Date: Tue, 16 Sep 2025 21:17:44 +0200 Subject: [PATCH] No gaps with only one window --- modules/desktop/hyprland/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/desktop/hyprland/default.nix b/modules/desktop/hyprland/default.nix index a5bb733..39428fb 100644 --- a/modules/desktop/hyprland/default.nix +++ b/modules/desktop/hyprland/default.nix @@ -7,15 +7,16 @@ settings = { - misc = { - disable_hyprland_logo = true; - }; + misc.disable_hyprland_logo = true; general = { border_size = 2; layout = "master"; }; + # No borders or gaps when there is only one window + workspace = "w[t1], gapsin:0, gapsout:0, border:0"; + decoration = { rounding = 15; inactive_opacity = 0.75;