autostart ghosty with hyprland
This commit is contained in:
parent
3697b33fff
commit
e7d03d43c0
2 changed files with 4 additions and 1 deletions
|
|
@ -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 = {
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue