ghostty: fix???
This commit is contained in:
@@ -55,6 +55,13 @@
|
||||
# cursor
|
||||
cursor-style = "underline";
|
||||
|
||||
# always open new windows at $HOME instead of inheriting whatever cwd the
|
||||
# currently-focused ghostty window has. with gtk-single-instance, the
|
||||
# focused-window inherit rule otherwise sticks the daemon's first cwd to
|
||||
# every subsequent niri Mod+T launch.
|
||||
window-inherit-working-directory = false;
|
||||
working-directory = "home";
|
||||
|
||||
# keep one daemon alive so subsequent launches (e.g. niri Mod+T) are
|
||||
# instant instead of paying GTK + wgpu init each time. relies on the
|
||||
# dbus-activated systemd user service that the HM module wires up.
|
||||
|
||||
@@ -115,12 +115,8 @@ in
|
||||
|
||||
"Mod+O".action = toggle-overview;
|
||||
|
||||
# open a terminal — pass --working-directory=home so the gtk-single-instance
|
||||
# daemon doesn't keep handing back whatever cwd the focused window has.
|
||||
"Mod+T".action = spawn [
|
||||
config.home.sessionVariables.TERMINAL
|
||||
"--working-directory=home"
|
||||
];
|
||||
# open a terminal
|
||||
"Mod+T".action = spawn config.home.sessionVariables.TERMINAL;
|
||||
|
||||
# lock the screen
|
||||
"Mod+X".action = spawn (lib.getExe pkgs.swaylock);
|
||||
|
||||
Reference in New Issue
Block a user