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
|
||||
|
|
|
|||
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue