summaryrefslogtreecommitdiffstats
path: root/.config/sway
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2019-09-20 12:50:45 -0400
committerAmin Bandali <bandali@gnu.org>2019-09-20 12:50:45 -0400
commitbae7970cfc520d0203b03eeacc87d521a1b30651 (patch)
tree149cd0199c5e8675abdc1b09d7cad7995996480f /.config/sway
parentd41aeafcd705924641f8057ea556995c4e10946e (diff)
downloadconfigs-bae7970cfc520d0203b03eeacc87d521a1b30651.tar.gz
configs-bae7970cfc520d0203b03eeacc87d521a1b30651.tar.xz
configs-bae7970cfc520d0203b03eeacc87d521a1b30651.zip
sway: disable mouse warping and use the right ctrl for win
Diffstat (limited to '.config/sway')
-rw-r--r--.config/sway/config2
-rw-r--r--.config/sway/darrud2
2 files changed, 3 insertions, 1 deletions
diff --git a/.config/sway/config b/.config/sway/config
index bea5259..10a0fef 100644
--- a/.config/sway/config
+++ b/.config/sway/config
@@ -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
diff --git a/.config/sway/darrud b/.config/sway/darrud
index 90185c7..e1fc33c 100644
--- a/.config/sway/darrud
+++ b/.config/sway/darrud
@@ -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
}