aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorMichael Stapelberg <michael@stapelberg.de>2022-10-16 17:42:17 +0200
committerMichael Stapelberg <stapelberg@users.noreply.github.com>2022-10-16 18:21:08 +0200
commit55d400b17d786cb60ce2af5229c18177d74aa0ba (patch)
treed5a3140c86d5dbe6a5d8b02979cfa5f335ce35bc /etc
parent2ba393f08493c8efedca300dfdbfbfe1cc712f0c (diff)
downloadi3-55d400b17d786cb60ce2af5229c18177d74aa0ba.tar.gz
i3-55d400b17d786cb60ce2af5229c18177d74aa0ba.zip
make tiling drag configurable
fixes https://github.com/i3/i3/issues/5155
Diffstat (limited to 'etc')
-rw-r--r--etc/config4
-rw-r--r--etc/config.keycodes4
2 files changed, 8 insertions, 0 deletions
diff --git a/etc/config b/etc/config
index 51902f08..40076ca9 100644
--- a/etc/config
+++ b/etc/config
@@ -49,6 +49,10 @@ set $right semicolon
# use Mouse+Mod1 to drag floating windows to their wanted position
floating_modifier Mod1
+# move tiling windows via drag & drop by left-clicking into the title bar,
+# or left-clicking anywhere into the window while holding the floating modifier.
+tiling_drag modifier titlebar
+
# start a terminal
bindsym Mod1+Return exec i3-sensible-terminal
diff --git a/etc/config.keycodes b/etc/config.keycodes
index 11a7d46f..7bc5d60a 100644
--- a/etc/config.keycodes
+++ b/etc/config.keycodes
@@ -43,6 +43,10 @@ bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOU
# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod
+# move tiling windows via drag & drop by left-clicking into the title bar,
+# or left-clicking anywhere into the window while holding the floating modifier.
+tiling_drag modifier titlebar
+
# start a terminal
bindcode $mod+36 exec i3-sensible-terminal