summary refs log tree commit diff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/sway/env4
-rw-r--r--.config/sway/input.conf11
2 files changed, 9 insertions, 6 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
diff --git a/.config/sway/input.conf b/.config/sway/input.conf
index 0d0a335..6d7eade 100644
--- a/.config/sway/input.conf
+++ b/.config/sway/input.conf
@@ -1,9 +1,8 @@
 # vim: ft=i3config fdm=marker fen
 
+seat * hide_cursor when-typing enable
+
 input type:keyboard {
-	xkb_layout us
-	xkb_variant mac
-	xkb_options 'caps:hyper,lvl3:ralt_switch_multikey,eurosign:5'
 
 	repeat_rate 70
 	repeat_delay 200
@@ -22,9 +21,6 @@ input type:touchpad {
 
   #events disabled
 }
-#input type:tablet_tool {
-#	accel_profile flat
-#}
 
 set {
 	$keyboard 1:1:AT_Translated_Set_2_keyboard
@@ -62,3 +58,6 @@ bindsym --input-device=$slimblade --whole-window button3 seat - cursor press but
 input $pen {
   accel_profile flat
 }
+input "10429:148:XP-PEN_STAR_G640_Mouse" {
+  events disabled
+}