diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e3c61ae --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +mwm diff --git a/mwm-custom.c b/mwm-custom.c index e2b4b8f..4bdd2f9 100644 --- a/mwm-custom.c +++ b/mwm-custom.c @@ -19,7 +19,7 @@ int main() { XSetInputFocus(d, e.xmaprequest.window, 2, 0)) on(KeyPress, map("n", XCirculateSubwindowsUp(d, r); XSetInputFocus(d, e.xkey.window, 2, 0)) map("q", XKillClient(d, e.xkey.subwindow)) - map("w", system("chromium &")) + map("w", system("firefox &")) map("t", system("xterm &")) map("l", system("rotK")) map("u", system("vol 5%-")) diff --git a/mwm.c b/mwm.c index e8cf603..7de50fd 100644 --- a/mwm.c +++ b/mwm.c @@ -10,7 +10,7 @@ int main() { Display *d = XOpenDisplay(0); Window r = DefaultRootWindow(d); XEvent e; XSelectInput(d, r, SubstructureRedirectMask); - grab("n", "q", "e"); + grab("n", "q", "e", "t"); while (!XNextEvent (d, &e)) { on(ConfigureRequest, XMoveResizeWindow(d, e.xconfigure.window, 0, 0, e.xconfigure.width, e.xconfigure.height)); @@ -18,6 +18,7 @@ int main() { XSetInputFocus(d, e.xmaprequest.window, 2, 0)); on(KeyPress, map("n", XCirculateSubwindowsUp(d, r); XSetInputFocus(d, e.xkey.window, 2, 0)) map("q", XKillClient(d, e.xkey.subwindow)) + map("t", system("st -g 232x62+0+0 &")) map("e", system("dmenu_run &"))); } }