ebind(EventPlaceWindow, placewindows_random)
# run xterm from root clicks
-mbind("1", MC_Root, MouseClick, execute("xterm"))
+mbind("Left", MC_Root, MouseClick, lambda(d): execute("xterm"))
kbind(["A-F4"], KC_All, close)
kbind(["C-S-A-Right"], KC_All, lambda(d): send_to_next_desktop(d))
kbind(["C-S-A-Left"], KC_All, lambda(d): send_to_prev_desktop(d))
-# Python Demo #1!!!!!!! YAY SHRIMPX
-def rev(lst):
- lst.reverse()
- return lst
-
# focus new windows
def focusnew(data):
if not data.client: return