From d4bdb4c9489d7ec3f0144ce0934ae38fe446aebe Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Wed, 13 May 2026 13:43:14 +0100 Subject: feat(sway): add Super+z QR mode (w=write, r=read) --- dot_config/sway/config | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'dot_config') diff --git a/dot_config/sway/config b/dot_config/sway/config index 405b7b4..f802a30 100644 --- a/dot_config/sway/config +++ b/dot_config/sway/config @@ -146,6 +146,15 @@ bindsym $mod+Shift+n exec makoctl dismiss --all # Display mode switching bindsym --no-repeat F7 exec ~/.config/sway/display-toggle.sh +# QR codes (Super+z then r=read or w=write) +mode "qr" { + bindsym r exec ~/.local/bin/rqr, mode "default" + bindsym w exec ~/.local/bin/wqr, mode "default" + bindsym Escape mode "default" + bindsym Return mode "default" +} +bindsym $mod+z mode "qr" + # ── Bar ─────────────────────────────────────────────────────────────────────── bar { swaybar_command waybar -- cgit v1.3.1