diff options
| author | 2026-04-17 10:54:04 +0100 | |
|---|---|---|
| committer | 2026-04-17 10:54:04 +0100 | |
| commit | e8a510cc0d0a44823d27346308c8ec65380fe052 (patch) | |
| tree | de5c206c3fd4eab761deb453c690db7b55716248 /home/.config/sway/config | |
| parent | c62507746d1ea90c6f36647c184b640cf682cbc5 (diff) | |
| download | dotfiles-e8a510cc0d0a44823d27346308c8ec65380fe052.tar.gz dotfiles-e8a510cc0d0a44823d27346308c8ec65380fe052.tar.bz2 dotfiles-e8a510cc0d0a44823d27346308c8ec65380fe052.zip | |
fix: use wl-mirror for true display mirroring
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.
Diffstat (limited to 'home/.config/sway/config')
| -rw-r--r-- | home/.config/sway/config | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/home/.config/sway/config b/home/.config/sway/config index b8c10c7..2d85a6c 100644 --- a/home/.config/sway/config +++ b/home/.config/sway/config @@ -37,12 +37,12 @@ seat * hide_cursor 3000 # ── Output ──────────────────────────────────────────────────────────────────── output * bg #282828 solid_color -output * pos 0 0 # ── Window rules ────────────────────────────────────────────────────────────── for_window [class="feh"] floating enable for_window [app_id="imv"] floating enable for_window [class="Tor Browser"] floating enable +for_window [app_id="at.yrlf.wl_mirror"] fullscreen enable # ── Standard keybinds (sway defaults) ───────────────────────────────────────── bindsym $mod+Return exec $term @@ -155,3 +155,4 @@ bar { exec systemctl --user import-environment WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP exec mako +exec "sleep 1 && ~/.config/sway/display-toggle.sh init" |
