aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/home/.config/sway
Commit message (Collapse)AuthorAgeFilesLines
* fix: simplify display toggle to laptop-off/side-by-sideLibravatar sommerfeld48 hours2-28/+4
| | | | | | | - Added --no-repeat to F7 binding (key repeat was firing script twice) - Dropped broken mirror mode (sway has no native mirroring support) - Removed wl-mirror dependency - F7 now toggles between laptop-off and side-by-side
* fix: remove set -e that broke display-toggleLibravatar sommerfeld48 hours1-23/+9
| | | | | | swaymsg returns non-zero for benign operations (e.g. output already enabled), causing set -e to abort the script before reaching the disable command. Added || true guards instead.
* fix: add logging and robustness to display-toggleLibravatar sommerfeld48 hours2-6/+25
| | | | | | 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 sommerfeld48 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 sommerfeld48 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 sommerfeld48 hours2-17/+42
| | | | | | | | | 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.
* fix: default to mirror mode on multi-monitor startupLibravatar sommerfeld48 hours1-0/+1
| | | | | Place all outputs at pos 0 0 so sway starts in mirror layout instead of side-by-side when external monitor is connected.
* feat: add sway wayland compositor configLibravatar sommerfeld48 hours2-0/+194
- 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