summary refs log tree commit diff
path: root/.config/sway/env
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2022-02-09 00:11:14 +0100
committerRobert Günzler <r@gnzler.io>2022-02-09 00:11:14 +0100
commitfcd381b368c1498034f8d0170268dc5613ba23f8 (patch)
tree8928266f6c4d6f53e724441e730503a6722f48e2 /.config/sway/env
parent15927f85498a5db739710322f6ea9fe075780771 (diff)
sway: put xkb config into env vars to make them work cross-compositor
Diffstat (limited to '.config/sway/env')
-rw-r--r--.config/sway/env4
1 files changed, 4 insertions, 0 deletions
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