diff --git a/home-manager/hyprland/hyprland.lua b/home-manager/hyprland/hyprland.lua index d63a75b..38e5da2 100644 --- a/home-manager/hyprland/hyprland.lua +++ b/home-manager/hyprland/hyprland.lua @@ -19,13 +19,14 @@ hl.monitor({ }) -- Set programs that you use -local terminal = "foot" +local terminal = "ghostty +new-window" local fileManager = "nemo" local menu = "fuzzel" hl.on("hyprland.start", function() hl.exec_cmd("qs") hl.exec_cmd("/usr/libexec/hyprpolkitagent") + hl.exec_cmd("ghostty --gtk-single-instance=true --quit-after-last-window-closed=false --initial-window=false") end) hl.config({ general = { diff --git a/home-manager/programs/ghostty.nix b/home-manager/programs/ghostty.nix index 73f17cb..b6e608d 100644 --- a/home-manager/programs/ghostty.nix +++ b/home-manager/programs/ghostty.nix @@ -7,6 +7,8 @@ settings = { window-padding-x = 20; window-padding-y = 20; + gtk-single-instance = true; + quit-after-last-window-closed = false; }; }; }