terminal: add foot to autostart and place it on scratchpad

This commit is contained in:
Fabian Montero 2026-02-16 12:28:36 -06:00
parent 38d35315bd
commit 1242921bad
Signed by: fabian
GPG key ID: 8036F30EDBAC8447
2 changed files with 9 additions and 1 deletions

View file

@ -152,6 +152,9 @@ in {
};
startup = [
{
command = "${lib.getExe pkgs.foot} --app-id scratchterm ${lib.getExe pkgs.tmux}";
}
{
command = "${lib.getExe pkgs.sway} 'workspace 1; exec ${lib.getExe pkgs.firefox}'";
}
@ -170,6 +173,11 @@ in {
}
];
};
extraConfig = ''
for_window [app_id="scratchterm"] floating enable
for_window [app_id="scratchterm"] move to scratchpad
'';
extraSessionCommands = ''
export SDL_VIDEODRIVER=wayland

View file

@ -22,7 +22,7 @@ in {
font-italic = "JetBrainsMono Nerd Font:style=Italic:size=15";
font-bold-italic = "JetBrainsMono Nerd Font:style=Bold Italic:size=15";
dpi-aware = "yes";
initial-window-size-pixels = "1200x600";
initial-window-size-pixels = "1920x1080";
};
cursor = {