# == Options set :step, 5 set :snap, 10 set :gravity, :top_left set :urgent, false set :resize, false set :tiling, false set :font, "xft:inconsolata:size=14:antialias=false" set :separator, "||" # == Screen screen 1 do top [ :title, :center, :views, :center, :spacer, :mpd, :clock ] end # == Styles term_bg = "#1c1c1c" term_white = "#ccccc6" term_green = "#6eb047" term_red = "#b94b64" term_blue = "#4e89b0" style :all do background term_bg border "#303030", 0 padding 0, 3 end style :views do style :focus do foreground term_green end style :urgent do foreground term_red end style :occupied do foreground term_white end style :unoccupied do foreground "#757575" end end style :sublets do foreground "#757575" end style :separator do foreground "#757575" end style :title do foreground term_blue end style :clients do active "#303030", 2 inactive "#202020", 2 margin 0 width 50 end style :subtle do margin 0, 0, 0, 0 panel term_bg #background "#3d3d3d" stipple "#757575" end # == Gravities gravity :top_left, [ 0, 0, 50, 50 ] gravity :top_left66, [ 0, 0, 50, 67 ] gravity :top_left33, [ 0, 0, 50, 33 ] gravity :top, [ 0, 0, 100, 50 ] gravity :top66, [ 0, 0, 100, 66 ] gravity :top33, [ 0, 0, 100, 33 ] gravity :top_right, [ 50, 0, 50, 50 ] gravity :top_right66, [ 50, 0, 50, 67 ] gravity :top_right33, [ 50, 0, 50, 33 ] gravity :left, [ 0, 0, 50, 100 ] gravity :left66, [ 0, 0, 67, 100 ] gravity :left33, [ 0, 0, 33, 100 ] gravity :center, [ 0, 0, 100, 100 ] gravity :center66, [ 17, 17, 66, 66 ] gravity :center33, [ 33, 33, 33, 33 ] gravity :right, [ 50, 0, 50, 100 ] gravity :right66, [ 33, 0, 67, 100 ] gravity :right33, [ 67, 50, 33, 100 ] gravity :bottom_left, [ 0, 50, 50, 50 ] gravity :bottom_left66, [ 0, 33, 50, 67 ] gravity :bottom_left33, [ 0, 67, 50, 33 ] gravity :bottom, [ 0, 50, 100, 50 ] gravity :bottom66, [ 0, 34, 100, 66 ] gravity :bottom33, [ 0, 67, 100, 33 ] gravity :bottom_right, [ 50, 50, 50, 50 ] gravity :bottom_right66, [ 50, 33, 50, 67 ] gravity :bottom_right33, [ 50, 67, 50, 33 ] gravity :misc_top, [ 67, 0, 33, 50 ] gravity :misc_top66, [ 67, 0, 33, 67 ] gravity :misc_top33, [ 67, 0, 33, 33 ] gravity :misc_cent, [ 67, 33, 33, 34 ] gravity :misc_bot, [ 67, 50, 33, 50 ] gravity :misc_bot66, [ 67, 33, 33, 67 ] gravity :misc_bot33, [ 67, 67, 33, 33 ] gravity :gimp_image, [ 10, 0, 80, 100 ] gravity :gimp_toolbox, [ 0, 0, 10, 100 ] gravity :gimp_dock, [ 90, 0, 10, 100 ] # == Grabs grab "W-1", :ViewJump1 grab "W-2", :ViewJump2 grab "W-3", :ViewJump3 grab "W-4", :ViewJump4 grab "W-5", :ViewJump5 grab "W-Return", :ViewNext grab "W-BackSpace", :ViewPrev grab "W-C-r", :SubtleReload grab "W-C-S-r", :SubtleRestart grab "W-C-q", :SubtleQuit grab "W-B1", :WindowMove grab "W-B3", :WindowResize grab "W-f", :WindowFloat grab "W-space", :WindowFull grab "W-t", :WindowStick grab "KP_Add", :WindowRaise grab "KP_Subtract", :WindowLower grab "W-h", :WindowLeft grab "W-j", :WindowDown grab "W-k", :WindowUp grab "W-l", :WindowRight grab "W-S-k", :WindowKill # Gravity grabs grab "W-q", [ :top_left, :top_left66, :top_left33 ] grab "W-w", [ :top, :top66, :top33 ] grab "W-e", [ :top_right, :top_right66, :top_right33 ] grab "W-a", [ :left, :left66, :left33 ] grab "W-s", [ :center, :center66, :center33 ] grab "W-d", [ :right, :right66, :right33 ] grab "W-z", [ :bottom_left, :bottom_left66, :bottom_left33 ] grab "W-x", [ :bottom, :bottom66, :bottom33 ] grab "W-c", [ :bottom_right, :bottom_right66, :bottom_right33 ] grab "W-S-e", [ :misc_top, :misc_top66, :misc_top33 ] grab "W-S-d", [ :misc_cent ] grab "W-S-c", [ :misc_bot, :misc_bot66, :misc_bot33 ] # Application grabs grab "A-Home", <