<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dotfiles/home/.config/sway/display-toggle.sh, branch master</title>
<subtitle>My linux config and rc files
</subtitle>
<id>https://git.strisemarx.com/dotfiles/atom?h=master</id>
<link rel='self' href='https://git.strisemarx.com/dotfiles/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.strisemarx.com/dotfiles/'/>
<updated>2026-04-17T09:54:07Z</updated>
<entry>
<title>fix: simplify display toggle to laptop-off/side-by-side</title>
<updated>2026-04-17T09:54:07Z</updated>
<author>
<name>sommerfeld</name>
<email>sommerfeld@sommerfeld.dev</email>
</author>
<published>2026-04-17T09:54:07Z</published>
<link rel='alternate' type='text/html' href='https://git.strisemarx.com/dotfiles/commit/?id=f00a83257176cde1c6350a901fca89622938ebc8'/>
<id>urn:sha1:f00a83257176cde1c6350a901fca89622938ebc8</id>
<content type='text'>
- 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
</content>
</entry>
<entry>
<title>fix: remove set -e that broke display-toggle</title>
<updated>2026-04-17T09:54:06Z</updated>
<author>
<name>sommerfeld</name>
<email>sommerfeld@sommerfeld.dev</email>
</author>
<published>2026-04-17T09:54:06Z</published>
<link rel='alternate' type='text/html' href='https://git.strisemarx.com/dotfiles/commit/?id=b3479fa7eeaff6e6f43c942edcf69a463a53032b'/>
<id>urn:sha1:b3479fa7eeaff6e6f43c942edcf69a463a53032b</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>fix: add logging and robustness to display-toggle</title>
<updated>2026-04-17T09:54:06Z</updated>
<author>
<name>sommerfeld</name>
<email>sommerfeld@sommerfeld.dev</email>
</author>
<published>2026-04-17T09:54:06Z</published>
<link rel='alternate' type='text/html' href='https://git.strisemarx.com/dotfiles/commit/?id=5e564b6a5bf7f58550d47c2bf5ca0d23f340a4ca'/>
<id>urn:sha1:5e564b6a5bf7f58550d47c2bf5ca0d23f340a4ca</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>fix: focus workspace 1 after laptop-off switch</title>
<updated>2026-04-17T09:54:05Z</updated>
<author>
<name>sommerfeld</name>
<email>sommerfeld@sommerfeld.dev</email>
</author>
<published>2026-04-17T09:54:05Z</published>
<link rel='alternate' type='text/html' href='https://git.strisemarx.com/dotfiles/commit/?id=2850bd9f630e7fc44c79ad5c226ba6481e534481'/>
<id>urn:sha1:2850bd9f630e7fc44c79ad5c226ba6481e534481</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>fix: fuzzel width and default display mode</title>
<updated>2026-04-17T09:54:05Z</updated>
<author>
<name>sommerfeld</name>
<email>sommerfeld@sommerfeld.dev</email>
</author>
<published>2026-04-17T09:54:05Z</published>
<link rel='alternate' type='text/html' href='https://git.strisemarx.com/dotfiles/commit/?id=3bc5f9676e0f5886eba1c22eddf4ad6157e66026'/>
<id>urn:sha1:3bc5f9676e0f5886eba1c22eddf4ad6157e66026</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>fix: use wl-mirror for true display mirroring</title>
<updated>2026-04-17T09:54:04Z</updated>
<author>
<name>sommerfeld</name>
<email>sommerfeld@sommerfeld.dev</email>
</author>
<published>2026-04-17T09:54:04Z</published>
<link rel='alternate' type='text/html' href='https://git.strisemarx.com/dotfiles/commit/?id=e8a510cc0d0a44823d27346308c8ec65380fe052'/>
<id>urn:sha1:e8a510cc0d0a44823d27346308c8ec65380fe052</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>feat: add sway wayland compositor config</title>
<updated>2026-04-17T09:53:57Z</updated>
<author>
<name>sommerfeld</name>
<email>sommerfeld@sommerfeld.dev</email>
</author>
<published>2026-04-17T09:53:57Z</published>
<link rel='alternate' type='text/html' href='https://git.strisemarx.com/dotfiles/commit/?id=100f6d3a9a018b52cc229b119ff979ab42d6da9d'/>
<id>urn:sha1:100f6d3a9a018b52cc229b119ff979ab42d6da9d</id>
<content type='text'>
- 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
</content>
</entry>
</feed>
