autostart ghosty with hyprland

This commit is contained in:
lucy 2026-08-03 19:48:14 +02:00
commit e7d03d43c0
2 changed files with 4 additions and 1 deletions

View file

@ -19,13 +19,14 @@ hl.monitor({
}) })
-- Set programs that you use -- Set programs that you use
local terminal = "foot" local terminal = "ghostty +new-window"
local fileManager = "nemo" local fileManager = "nemo"
local menu = "fuzzel" local menu = "fuzzel"
hl.on("hyprland.start", function() hl.on("hyprland.start", function()
hl.exec_cmd("qs") hl.exec_cmd("qs")
hl.exec_cmd("/usr/libexec/hyprpolkitagent") hl.exec_cmd("/usr/libexec/hyprpolkitagent")
hl.exec_cmd("ghostty --gtk-single-instance=true --quit-after-last-window-closed=false --initial-window=false")
end) end)
hl.config({ hl.config({
general = { general = {

View file

@ -7,6 +7,8 @@
settings = { settings = {
window-padding-x = 20; window-padding-x = 20;
window-padding-y = 20; window-padding-y = 20;
gtk-single-instance = true;
quit-after-last-window-closed = false;
}; };
}; };
} }