My dual function keys mapping
To make my hotkeys react differently to short press and long press I use interception – dual function keys and configure it in /etc/interception/my-mappings.yaml Short press right Control translates to CTRL+Shift+L to open my password manager. Short press on right Alt translates Meta+Shift+P, that is set in sway config to “exec copyq toggle”