aboutsummaryrefslogtreecommitdiff
path: root/autostart
diff options
context:
space:
mode:
authorMatias Linares <matiaslina@openmailbox.org>2015-11-28 22:16:43 -0300
committerMatias Linares <matiaslina@openmailbox.org>2015-11-28 22:16:43 -0300
commite1ec354306742a5804a20e2651cf49945cd17287 (patch)
tree7f607096fa43f96680d933b7a046f603227e566c /autostart
parent901d03b3a8ac0b7d8533fd9a8d43238d665d9cb8 (diff)
downloaddotwm-e1ec354306742a5804a20e2651cf49945cd17287.tar.gz
Better socket handling
The socket interface now allows almost everything that vould be done by the internals of the window manager. Also the Window manager now closes fine (on a success exit).
Diffstat (limited to 'autostart')
-rwxr-xr-xautostart24
1 files changed, 18 insertions, 6 deletions
diff --git a/autostart b/autostart
index 1e98405..a0b4919 100755
--- a/autostart
+++ b/autostart
@@ -1,10 +1,22 @@
#!/bin/mksh
netcat -U dotwm.sock <<EOF
-add-binding Mod4Mask p exec dmenu_run
-add-binding Mod4Mask h move_win -10 0
-add-binding Mod4Mask j move_win 0 10
-add-binding Mod4Mask k move_win 0 -10
-add-binding Mod4Mask l move_win 10 0
-add-binding Mod4Mask Return exec xterm
+bind Mod4 p exec dmenu_run
+bind Mod4 h move-win -10 0
+bind Mod4 j move-win 0 10
+bind Mod4 k move-win 0 -10
+bind Mod4 l move-win 10 0
+bind Mod4 Return exec xterm
+
+bind Mod4-Control h resize-win -10 0
+bind Mod4-Control j resize-win 0 10
+bind Mod4-Control k resize-win 0 -10
+bind Mod4-Control l resize-win 10 0
+
+bind Mod4-Shift h move-win-to 0 0
+bind Mod4-Shift j move-win-to 100 100
+bind Mod4-Shift k move-win-to 200 200
+bind Mod4-Shift l move-win-to 0 1000
+
+bind Mod4 Tab focus-next
EOF