terminal: add foot to autostart and place it on scratchpad
This commit is contained in:
parent
38d35315bd
commit
1242921bad
2 changed files with 9 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue