aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/home/.config/sway/display-toggle.sh
Commit message (Collapse)AuthorAgeFilesLines
* fix: add logging and robustness to display-toggleLibravatar sommerfeld46 hours1-5/+24
| | | | | | Added logging to $XDG_RUNTIME_DIR/display-toggle.log for debugging. Single swaymsg call for output detection, proper error handling, increased startup delay to 2s.
* fix: focus workspace 1 after laptop-off switchLibravatar sommerfeld46 hours1-0/+1
| | | | | | Sway assigns workspace 1 to laptop, 2 to external on boot. When laptop gets disabled, focus stays on workspace 2. Now explicitly switches to workspace 1 after disabling laptop output.
* fix: fuzzel width and default display modeLibravatar sommerfeld46 hours1-5/+5
| | | | | | fuzzel width is in characters, not pixels — 600 was absurdly wide. Changed default display mode to laptop-off when external connected. Cycle order: laptop-off → side-by-side → mirror → laptop-off.
* fix: use wl-mirror for true display mirroringLibravatar sommerfeld46 hours1-16/+40
| | | | | | | | | The pos 0 0 hack created two independent overlapping outputs, causing workspace duplication and fuzzel rendering across wrong boundaries. Now uses wl-mirror to properly duplicate laptop screen to external display. Script runs at startup (with 'init' arg) and cycles on F7. Added wl-mirror to metapackage, fullscreen window rule for wl-mirror.
* feat: add sway wayland compositor configLibravatar sommerfeld46 hours1-0/+38
- Full sway config with vanilla defaults + personal keybinds - Gruvbox dark theme, pixel borders, caps:escape, vim navigation - Window rules (feh/imv floating via class/app_id) - Session env import for systemd/dbus portals - Display mode toggle script (F7): mirror/laptop-off/side-by-side - Dynamic output positioning based on laptop panel width