diff options
author | Matias Linares <matiaslina@openmailbox.org> | 2015-11-28 22:16:43 -0300 |
---|---|---|
committer | Matias Linares <matiaslina@openmailbox.org> | 2015-11-28 22:16:43 -0300 |
commit | e1ec354306742a5804a20e2651cf49945cd17287 (patch) | |
tree | 7f607096fa43f96680d933b7a046f603227e566c /autostart | |
parent | 901d03b3a8ac0b7d8533fd9a8d43238d665d9cb8 (diff) | |
download | dotwm-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-x | autostart | 24 |
1 files changed, 18 insertions, 6 deletions
@@ -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 |