From fcd381b368c1498034f8d0170268dc5613ba23f8 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Wed, 9 Feb 2022 00:11:14 +0100 Subject: sway: put xkb config into env vars to make them work cross-compositor --- .config/sway/env | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.config/sway/env') diff --git a/.config/sway/env b/.config/sway/env index d091809..93c4421 100644 --- a/.config/sway/env +++ b/.config/sway/env @@ -1,5 +1,9 @@ #!/bin/sh +export XKB_DEFAULT_OPTIONS='caps:hyper,eurosign:5' +export XKB_DEFAULT_LAYOUT='us' +export XKB_DEFAULT_VARIANT='mac' + export GDK_BACKEND=wayland export CLUTTER_BACKEND=wayland export QT_QPA_PLATFORM=wayland-egl -- cgit 1.4.1