feat: change initial workspace to 1 for sway and i3

This commit is contained in:
Jacob Bachmann 2023-12-12 11:43:37 +01:00
parent e21342857d
commit 88615faff0
Signed by: bchmnn
GPG key ID: 732A612DAD28067D
3 changed files with 8 additions and 0 deletions

View file

@ -183,5 +183,8 @@ in {
"${cfg.modifier}+Shift+a" = "exec ${pkgs.swaynotificationcenter}/bin/swaync-client -t -sw";
};
};
extraConfig = ''
exec --no-startup-id ${pkgs.i3}/bin/i3-msg 'workspace 1'
'';
};
}

View file

@ -310,6 +310,8 @@ in
bindsym ${cfg.modifier}+grave exec swaymsg '[app_id="$ddterm-id"] scratchpad show' || $ddterm && sleep .1 && swaymsg '[app_id="$ddterm-id"] $ddterm-resize'
bindsym ${cfg.modifier}+Escape exec swaymsg '[app_id="$ddterm-id"] scratchpad show' || $ddterm && sleep .1 && swaymsg '[app_id="$ddterm-id"] $ddterm-resize'
# ^-- resize again, case moving to different output
workspace 1
'';
};