mirror of
https://github.com/fscotto/infra.git
synced 2026-05-30 15:39:58 +00:00
Two profiles, auto-selected from connected outputs: - solo: only eDP-1, all workspaces routed there. - dual: eDP-1 + DP-1 (3440x1440@100Hz dock), workspace 1 on the laptop panel and 2-10 on the dock; each profile reissues swaymsg "workspace N, move workspace to output X" on activation so workspaces follow. host.conf autostarts kanshi and drops the redundant gaps/corner_radius overrides, leaving the base sway/config values in effect. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
18 lines
1.3 KiB
Plaintext
18 lines
1.3 KiB
Plaintext
profile solo {
|
|
output DP-1 disable
|
|
output DP-2 disable
|
|
output HDMI-A-1 disable
|
|
output HDMI-A-2 disable
|
|
output eDP-1 enable mode 1920x1080 position 0,0
|
|
exec swaymsg "workspace 1, move workspace to output eDP-1; workspace 2, move workspace to output eDP-1; workspace 3, move workspace to output eDP-1; workspace 4, move workspace to output eDP-1; workspace 5, move workspace to output eDP-1; workspace 6, move workspace to output eDP-1; workspace 7, move workspace to output eDP-1; workspace 8, move workspace to output eDP-1; workspace 9, move workspace to output eDP-1; workspace 10, move workspace to output eDP-1"
|
|
}
|
|
|
|
profile dual {
|
|
output DP-2 disable
|
|
output HDMI-A-1 disable
|
|
output HDMI-A-2 disable
|
|
output eDP-1 enable mode 1920x1080 position 0,0
|
|
output DP-1 enable mode 3440x1440@100Hz position 1920,0
|
|
exec swaymsg "workspace 1, move workspace to output eDP-1; workspace 2, move workspace to output DP-1; workspace 3, move workspace to output DP-1; workspace 4, move workspace to output DP-1; workspace 5, move workspace to output DP-1; workspace 6, move workspace to output DP-1; workspace 7, move workspace to output DP-1; workspace 8, move workspace to output DP-1; workspace 9, move workspace to output DP-1; workspace 10, move workspace to output DP-1"
|
|
}
|