foo-wm

(Archived) Experimental Zooming IPC-based WM
git clone http://milesalan.com/git/foo-wm
Log | Files | Refs | Mirror | README | LICENSE

commit 9008df92398544353384436bf2f13d50552b6393
parent e307db8a9ad9b945d80c6c1f45f939f97f39c683
Author: Miles Sandlar <miles.sandlar@gmail.com>
Date:   Sat, 23 Jun 2012 10:53:13 -0400

Clean up of xbindkeys config. Add v/h layout set

Diffstat:
Mconfig/.xbindkeysrc | 55++++++++++++-------------------------------------------
Mfifo-wm.c | 2+-
2 files changed, 13 insertions(+), 44 deletions(-)

diff --git a/config/.xbindkeysrc b/config/.xbindkeysrc @@ -3,46 +3,15 @@ m:0x40 + c:36 Mod4 + Enter - - -### Workspaces Switching via FIFO -"echo 'workspace 0' > /home/mil/repos/github/fifo-wm/wm-fifo" - m:0x40 + c:10 - Mod4 + 1 - -"echo 'workspace 1' > /home/mil/repos/github/fifo-wm/wm-fifo" - m:0x40 + c:11 - Mod4 + 2 - -"echo 'workspace 2' > /home/mil/repos/github/fifo-wm/wm-fifo" - m:0x40 + c:12 - Mod4 + 3 - -"echo 'workspace 3' > /home/mil/repos/github/fifo-wm/wm-fifo" - m:0x40 + c:13 - Mod4 + 4 - -"echo 'workspace 4' > /home/mil/repos/github/fifo-wm/wm-fifo" - m:0x40 + c:14 - Mod4 + 5 - -"echo 'workspace 5' > /home/mil/repos/github/fifo-wm/wm-fifo" - m:0x40 + c:15 - Mod4 + 6 - -"echo 'workspace 6' > /home/mil/repos/github/fifo-wm/wm-fifo" - m:0x40 + c:16 - Mod4 + 7 - - -"echo 'workspace 7' > /home/mil/repos/github/fifo-wm/wm-fifo" - m:0x40 + c:17 - Mod4 + 8 - -"echo 'workspace 8' > /home/mil/repos/github/fifo-wm/wm-fifo" - m:0x40 + c:18 - Mod4 + 9 - -"echo 'workspace 9' > /home/mil/repos/github/fifo-wm/wm-fifo" - m:0x40 + c:19 - Mod4 + 0 +"dwb" + m:0x40 + c:51 + Mod4 + backslash + +### WM +"echo 'layout vertical set' > /home/mil/repos/github/fifo-wm/wm-fifo" + m:0x40 + c:55 + Mod4 + v + +"echo 'layout horizontal set' > /home/mil/repos/github/fifo-wm/wm-fifo" + m:0x40 + c:56 + Mod4 + b diff --git a/fifo-wm.c b/fifo-wm.c @@ -62,7 +62,7 @@ void handleCommand(char* request) { char *lastToken, *token; for ( token = strtok_r(request, " ", &lastToken); token; token = strtok_r(NULL, " ", &lastToken)) { tokens[counter++] = token; - fprintf(stderr, "Adding Token %s", token); + fprintf(stderr, "Adding Token %s\n", token); } if (!strcmp(tokens[0], "kill")) {