aboutsummaryrefslogtreecommitdiff
path: root/autostart
diff options
context:
space:
mode:
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