NoGrabServer RestartPreviousState DecorateTransients TitleFont "-*-terminus-medium-r-normal-*-12-*-*-*-c-*-*-1" ResizeFont "-*-terminus-medium-r-normal-*-12-*-*-*-c-*-*-1" MenuFont "-*-terminus-medium-r-normal-*-12-*-*-*-c-*-*-1" IconFont "-*-terminus-medium-r-normal-*-12-*-*-*-c-*-*-1" IconManagerFont "-*-terminus-medium-r-normal-*-12-*-*-*-c-*-*-1" #TitleFont "-*-tamsyn-medium-r-normal-*-*-87-*-*-*-*-*-*" #ResizeFont "-*-tamsyn-medium-r-normal-*-*-87-*-*-*-*-*-*" #MenuFont "-*-tamsyn-medium-r-normal-*-*-87-*-*-*-*-*-*" #IconFont "-*-tamsyn-medium-r-normal-*-*-87-*-*-*-*-*-*" #IconManagerFont "-*-tamsyn-medium-r-normal-*-*-87-*-*-*-*-*-*" # reduce titlebar space SqueezeTitle ShowIconManager SortIconManager ForceIcons #ClientBorderWidth 1 BorderWidth 4 IconDirectory "/usr/include/X11/bitmaps" NoTitle { "xconsole" "file-roller" "vlc" "smplayer" "weechat" "xmms2" "weechat-curses" "nitrogen" "lxappearance" "xlogo" "XClock" "XLoad" "XBiff" "rclock" "bash" "irssi" "chrome" "pcmanfm" "geany" "qbittorrent" "rtorrent" "tmux" "mc" } Color { BorderColor "#6E5474" BorderTileForeground "#AA8EB0" BorderTileBackground "#191716" DefaultBackground "#191716" DefaultForeground "#AA8EB0" TitleBackground "#191716" TitleForeground "#AA8EB0" MenuBackground "#191716" MenuForeground "#AA8EB0" MenuBorderColor "#6E5474" MenuTitleBackground "#AA8EB0" MenuTitleForeground "#191716" IconBackground "#191716" IconForeground "#AA8EB0" IconBorderColor "#6E5474" IconManagerBackground "#191716" IconManagerForeground "#AA8EB0" PointerForeground "#191716" PointerBackground "#AA8EB0" } # define key bindings "Tab" = m4 : all : f.circleup "w" = m4 : all : f.exec "chrome &" "f" = m4 : all : f.exec "pcmanfm &" "e" = m4 : all : f.exec "geany &" "l" = m4 : all : f.exec "lxappearance &" "n" = m4 : all : f.exec "nitrogen &" "z" = m4 : all : f.exec "urxvt -e tmux &" "t" = m4 : all : f.exec "urxvt -e /bin/bash &" "c" = m4 : all : f.exec "urxvt -e mc &" "g" = m4 : all : f.exec "gimp" "v" = m4 : all : f.exec "urxvt -e vim" "i" = m4 : all : f.exec "urxvt -e weechat &" "a" = m4 : all : f.exec "file-roller &" "s" = m4 : all : f.exec "smplayer &" "d" = m4 : all : f.delete "x" = m4 : all : f.iconify "p" = m4 : all : f.exec "dmenu_run &" "m" = m4 : all : f.fullzoom "b" = m4 : all : f.exec "qbittorrent &" "r" = m4 : all : f.restart "q" = m4 : all : f.quit # # Define some useful functions for motion-based actions. # MoveDelta 3 Function "move-or-lower" { f.move f.deltastop f.lower } Function "move-or-raise" { f.move f.deltastop f.raise } Function "move-or-iconify" { f.move f.deltastop f.iconify } m # # Set some useful bindings. Sort of uwm-ish, sort of simple-button-ish # Button1 = : root : f.menu "System" Button3 = : root : f.menu "Applications" Button1 = m : window|icon : f.function "move-or-lower" Button2 = c m : window|icon : f.iconify Button3 = m : window|icon : f.function "move-or-raise" Button1 = : title : f.function "move-or-raise" Button2 = : title : f.raiselower Button1 = : icon : f.function "move-or-iconify" Button2 = : icon : f.iconify Button1 = : iconmgr : f.iconify Button2 = : iconmgr : f.iconify Button1 = mod4 : window : f.move Button3 = mod4 : window : f.resize Cursors { Frame "top_left_arrow" Title "top_left_arrow" Icon "top_left_arrow" IconMgr "top_left_arrow" Move "fleur" Resize "fleur" Menu "sb_left_arrow" Button "hand2" Wait "watch" Select "dot" Destroy "pirate" } # # And a menus with the usual things # menu "System" { "System" f.title "Window ops" f.menu "Window Ops" "Windows" f.menu "TwmWindows" "" f.nop "Refresh" f.refresh "Unfocus" f.unfocus "Show Icon Box" f.showiconmgr "Hide Icon Box" f.hideiconmgr "Version" f.version "" f.nop "Restart" f.restart "Logout" f.quit } menu "Window Ops" { "Window Ops" f.title "Lower" f.lower "Raise" f.raise "Resize" f.resize "Move" f.move "Deiconify" f.deiconify "Iconify" f.iconify "Identify" f.identify "Focus" f.focus "Kill" f.destroy } menu "Title Menu" { "Lower" f.lower "Raise" f.raise "Resize" f.resize "Move" f.move "Iconify" f.iconify "Identify" f.identify "Focus" f.focus "Kill" f.destroy "Dismiss" f.delete } menu "Applications" { "Applications" f.title "urxvt" !"urxvt -e /bin/bash &" "mc" !"urxvt -e mc &" "xmms2" !"urxvt -e xmms2 &" "chromium" !"chromium &" "edit" !"geany &" "vim" !"gvim &" "tmux" !"urxvt -e tmux &" "nitrogen" !"nitrogen &" "lxappearance" !"lxappearance &" "gimp" !"gimp &" "file-roller" !"file-roller &" "pcmanfm" !"pcmanfm &" "gmrun" !"gmrun &" } Icons { "Navigator" "xlogo32" "urxvt" "terminal" "geany" "xlogo32" "pcmanfm" "xlogo32" "spacefm" "xlogo32" "file-roller" "xlogo32" "gvim" "xlogo32" "nitrogen" "xlogo32" "lxappearance" "xlogo32" "qbittorrent" "xlogo32" "chrome" "xlogo32" }