sway: disable mouse warping and use the right ctrl for win
authorAmin Bandali <bandali@gnu.org>
Fri, 20 Sep 2019 16:50:45 +0000 (12:50 -0400)
committerAmin Bandali <bandali@gnu.org>
Fri, 20 Sep 2019 16:50:45 +0000 (12:50 -0400)
.config/sway/config
.config/sway/darrud

index bea5259..10a0fef 100644 (file)
@@ -77,6 +77,8 @@ mode "$mode_launch" {
     # mouse button for dragging.
     floating_modifier $mod normal
 
+    mouse_warping none
+
     # reload the configuration file
     bindsym $mod+Shift+c reload
 
index 90185c7..e1fc33c 100644 (file)
@@ -15,5 +15,5 @@ input "1:1:AT_Translated_Set_2_keyboard" {
     repeat_delay 200
     repeat_rate 45
     xkb_layout us,ir
-    xkb_options ctrl:nocaps,altwin:swap_alt_win,ctrl:rctrl_ralt,grp:shifts_toggle
+    xkb_options ctrl:nocaps,ctrl:swap_rwin_rctl,grp:shifts_toggle
 }