mirror of
https://github.com/fscotto/infra.git
synced 2026-05-30 23:49:56 +00:00
nymph: add kanshi profiles for laptop / dock switching
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>
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
set $terminal ~/.local/bin/prime-run /usr/bin/alacritty
|
||||
|
||||
gaps inner 10
|
||||
gaps outer 5
|
||||
corner_radius 10
|
||||
# Multi-monitor profile switching (laptop standalone vs dock)
|
||||
exec kanshi
|
||||
|
||||
workspace 1 output eDP-1
|
||||
workspace 2 output DP-1
|
||||
|
||||
Reference in New Issue
Block a user