# # ~/.awesomerc # awesome wm # # man awesomerc for full syntax # # Mod1 = left-alt # Mod2 = enter # Mod3 = right-alt # Mod4 = winkey # screen 0 { styles # global statusbar/titlebar prefs { normal { font = "Terminus 8" fg = "#888888" bg = "#252525" border = "#555555" } focus { fg = "#ffffff" bg = "#000000" border = "#ff5500" } urgent { fg = "#111111" bg = "#ff4500" } } general # general awesomeness { border = 2 # client borders snap = 8 # n pixels to snap when moving floating clients mwfact_lower_limit = 0.1 # lower limit for master window size mwfact_upper_limit = 0.9 # upper limit for master window size resize_hints = false # use resize hinst when resizing tiles--can create gaps new_get_focus = true # new clients get focus automagically new_become_master = false # new clients become master floating_placement = smart # floating client behaviour sloppy_focus = true # focus follows mouse sloppy_focus_raise = false # raise client if given mouse focus opacity_focused = 1.0 # opacity of focused clients (compositing) opacity_unfocused = 1.0 # opacity of unfocused clients (compositing) } titlebar # client titlebar behaviour { position = off # toggle titlebars width = "" # titlebar width height = "" # titlebar height align = auto # alignment of titlebars text_align = left # text alignment of titlebars } tags # desktop names { # golden ratio = 0.618033988769 tag one { layout = floating } tag two { mwfact = 0.618033988769 } tag three { mwfact = 0.618033988769 } tag four { mwfact = 0.618033988769 } tag five { mwfact = 0.618033988769 } tag six { layout = floating } #tag seven { mwfact = 0.618033988769 } #tag eight { mwfact = 0.618033988769 } #tag nine { mwfact = 0.618033988769 } } layouts # available layouts and their icon paths { layout tile { image = "/home/thayer/.awesome/icons/layouts/txt/tile.png" } layout tileleft { image = "/home/thayer/.awesome/icons/layouts/txt/tileleft.png" } layout tilebottom { image = "/home/thayer/.awesome/icons/layouts/txt/tilebottom.png" } #layout tiletop { image = "/usr/share/awesome/icons/layouts/tiletopw.png" } layout max { image = "/home/thayer/.awesome/icons/layouts/txt/max.png" } #layout spiral { image = "/usr/share/awesome/icons/layouts/spiralw.png" } #layout dwindle { image = "/usr/share/awesome/icons/layouts/dwindlew.png" } layout floating { image = "/home/thayer/.awesome/icons/layouts/txt/floating.png" } } statusbar mystatusbar # statusbar settings { position = top # statusbar position width = "" # statusbar width height = "20" # statusbar height taglist mytaglist { mouse { button = "1" command = "tag_view" } mouse { button = "1" modkey = {"Mod4"} command = "client_tag" } mouse { button = "3" command = "tag_toggleview" } mouse { button = "3" modkey = {"Mod4"} command = "client_toggletag" } mouse { button = "4" command = "tag_viewnext" } mouse { button = "5" command = "tag_viewprev" } } layoutinfo mylayoutinfo { mouse { button = "1" command = "tag_setlayout" arg = "+1" } mouse { button = "4" command = "tag_setlayout" arg = "+1" } mouse { button = "3" command = "tag_setlayout" arg = "-1" } mouse { button = "5" command = "tag_setlayout" arg = "-1" } } tasklist mytasklist # statusbar display of open clients { x = "228" # x coordinates of the tasklist y = "" # y coordinates of the tasklist text_align = left # text alignment of tasklist panes show = focus # show x clients in the tasklist show_icons = false # show application icons in the tasklist styles { normal { bg = "#252525" } focus { bg = "#252525" } urgent { } } mouse { button = "4" command = "client_focusnext" } mouse { button = "5" command = "client_focusprev" } mouse { modkey = {"Mod4"} button = "4" command = "client_swapnext" } mouse { modkey = {"Mod4"} button = "5" command = "client_swapprev" } } # conky pipe to awesome statusbar textbox mpd { align = "right" text = " " style { fg = "#FFE677" } } textbox spacer1 { align = "right" text = " | " style { fg = "#515151" } } textbox cpuload { align = "right" text = " " style { fg = "#FFB44B" } } textbox spacer2 { align = "right" text = " | " style { fg = "#515151" } } textbox cputemp { align = "right" text = " " style { fg = "#FF654B" } } textbox spacer3 { align = "right" text = " | " style { fg = "#515151" } } textbox memory { align = "right" text = " " style { fg = "#E895B6" } } textbox spacer4 { align = "right" text = " | " style { fg = "#515151" } } textbox power { align = "right" text = " " style { fg = "#A1DFF5" } } textbox spacer5 { align = "right" text = " | " style { fg = "#515151" } } textbox network { align = "right" text = " " style { fg = "#CFFB7E" } mouse { button = "1" command = "spawn" arg = "exec transmission" } } textbox spacer6 { align = "right" text = " | " style { fg = "#515151" } } textbox email { align = "right" text = " " style { fg = "#FFE455" } mouse { button = "1" command = "spawn" arg = "exec urxvt -e mutt" } } textbox spacer7 { align = "right" text = " | " style { fg = "#515151" } } textbox clock { align = "right" text = " " style { fg = "#ffffff" } } iconbox logo { image = "/home/thayer/.awesome/icons/awesome20w.png" mouse { button = "1" command = "spawn" arg = "exec urxvt -e man awesome" } } } statusbar bottom { position = off width = 0 height = 0 } padding # desktop margins { top = 0 bottom = 0 right = 0 left = 0 } } rules # forced floats and app2tag placements { rule { name = "Firefox" tags = "two" } rule { name = "alsamixer" float = "true" } rule { name = "Gimp" float = "true" tags = "six" } rule { name = "MPlayer" float = "true" } rule { name = "Acroread" float = "true" } rule { name = "Macromedia Fireworks MX" float = "true" tags = "six" } rule { name = "galculator" float = "true" } rule { name = "Gajim" float = "true" } rule { name = "Transmission" float = "true" } rule { name = "volwheel" float = "true" } } mouse { root { button = "3" command = "spawn" arg = "exec urxvt" } root { button = "4" command = "tag_viewnext" } root { button = "5" command = "tag_viewprev" } client { modkey = {"Mod4"} button = "1" command = "client_movemouse" } client { modkey = {"Mod4"} button = "2" command = "client_zoom" } client { modkey = {"Mod4"} button = "3" command = "client_resizemouse" } titlebar { button = "1" command = "client_movemouse" } titlebar { button = "3" command = "client_resizemouse" } } keys { key # web { modkey = {"Mod4"} key = "w" command = "spawn" arg = "exec firefox" } key # email { modkey = {"Mod4"} key = "e" command = "spawn" arg = "exec urxvt -e mutt" } key # file manager { modkey = {"Mod4"} key = "f" command = "spawn" arg = "exec nautilus" } key # volume control { modkey = {"Mod4"} key = "v" command = "spawn" arg = "exec urxvt -e alsamixer" } key # dmenu launcher { modkey = {"Mod4"} key = "p" command = "spawn" arg = "exec /home/thayer/bin/dmenuOB" } key # gmrun launcher { modkey = {"Mod4", "Shift"} key = "p" command = "spawn" arg = "exec gmrun" } key # lock screen { modkey = {"Control", "Mod1"} key = "l" command = "spawn" arg = "xscreensaver-command --lock" } key # reboot { modkey = {"Control", "Mod1"} key = "Delete" command = "spawn" arg = "sudo shutdown -r now" } key # shutdown { modkey = {"Control", "Mod1"} key = "End" command = "spawn" arg = "sudo shutdown -h now" } key # xkill a client { modkey = {"Control", "Mod1", "Shift"} key = "k" command = "spawn" arg = "exec xkill" } key # screenshot { modkey = {"Mod4"} key = "Print" command = "spawn" arg = "scrot %Y%m%d-dublin.png -t 280x175" } key # screenshot timer { modkey = {"Mod4", "Shift"} key = "Print" command = "spawn" arg = "scrot %Y%m%d-dublin.png -d 3 -t 280x175" } key # search man pages { modkey = {"Mod4"} key = "F1" command = "spawn" arg = "for i in /usr/share/man/man?;do ls $i; done | cut -d. -f1 | awesome-menu -e 'urxvt -e man ' 'See manual page for:'" } key # awesome's default launcher { modkey = {"Mod4"} key = "F2" command = "spawn" arg = "find /usr/bin -type f -executable ! -empty | awesome-menu -e 'exec ' Execute:" } key # ssh to: popup { modkey = {"Mod4"} key = "F3" command = "spawn" arg = "cut -d' ' -f1 ~/.ssh/known_hosts | cut -d, -f1 | awesome-menu -e 'urxvt -e ssh ' 'ssh to:'" } key # terminal { modkey = {"Mod4", "Shift"} key = "Return" command = "spawn" arg = "exec urxvt" } key # toggle vertical max { modkey = {"Mod4"} key = "y" command = "client_toggleverticalmax" } key # toggle horizonal max { modkey = {"Mod4"} key = "x" command = "client_togglehorizontalmax" } key { modkey = {"Mod4"} key = "space" command = "tag_setlayout" arg = "+1" } key { modkey = {"Mod4", "Shift"} key = "space" command = "tag_setlayout" arg = "-1" } key { modkey = {"Mod4"} key = "b" command = "statusbar_toggle" } key { modkey = {"Mod4"} key = "j" command = "client_focusnext" } key { modkey = {"Mod4"} key = "k" command = "client_focusprev" } key { modkey = {"Mod4"} key = "Tab" command = "focus_history" arg = "-1" } key { modkey = {"Mod4", "Shift"} key = "j" command = "client_swapnext" } key { modkey = {"Mod4", "Shift"} key = "k" command = "client_swapprev" } key { modkey = {"Mod4", "Control"} key = "j" command = "screen_focus" arg = "+1" } key { modkey = {"Mod4", "Control"} key = "k" command = "screen_focus" arg = "-1" } key { modkey = {"Mod4"} key = "h" command = "tag_setmwfact" arg = "-0.05" } key { modkey = {"Mod4"} key = "l" command = "tag_setmwfact" arg = "+0.05" } key { modkey = {"Mod4", "Shift"} key = "h" command = "tag_setnmaster" arg = "+1" } key { modkey = {"Mod4", "Shift"} key = "l" command = "tag_setnmaster" arg = "-1" } key { modkey = {"Mod4", "Control"} key = "h" command = "tag_setncol" arg = "+1" } key { modkey = {"Mod4", "Control"} key = "l" command = "tag_setncol" arg = "-1" } key { modkey = {"Mod4"} key = "Escape" command = "tag_prev_selected" } key { modkey = {"Mod4"} key = "Left" command = "tag_viewprev" } key { modkey = {"Mod4"} key = "Right" command = "tag_viewnext" } key { modkey = {"Mod4"} key = "z" command = "client_togglemax" } key # swap focused with master { modkey = {"Mod4"} key = "Return" command = "client_zoom" } key # swap focused with master { modkey = {"Mod1"} key = "Return" command = "client_zoom" } key # swap focused with master { modkey = {"Mod3"} key = "Return" command = "client_zoom" } key { modkey = {"Mod4"} key = "t" command = "client_togglefloating" } key { modkey = {"Mod4"} key = "s" command = "client_togglescratch" } key { modkey = {"Mod4", "Control"} key = "s" command = "client_setscratch" } key { modkey = {"Mod4", "Shift"} key = "c" command = "client_kill" } key { modkey = {"Mod4", "Shift"} key = "q" command = "quit" } key { modkey = {"Mod4"} key = "q" command = "restart" } key { modkey = {"Mod4"} key = "0" command = "tag_view" } keylist { modkey = {"Mod4"} command = "tag_view" keylist = { 1, 2, 3, 4, 5, 6, 7, 8, 9 } arglist = { 1, 2, 3, 4, 5, 6, 7, 8, 9 } } key { modkey = {"Mod4", "Control"} key = "0" command = "tag_toggleview" } keylist { modkey = {"Mod4", "Control"} command = "tag_toggleview" keylist = { 1, 2, 3, 4, 5, 6, 7, 8, 9 } arglist = { 1, 2, 3, 4, 5, 6, 7, 8, 9 } } key { modkey = {"Mod4", "Shift"} key = "0" command = "client_tag" } keylist { modkey = {"Mod4", "Shift"} command = "client_tag" keylist = { 1, 2, 3, 4, 5, 6, 7, 8, 9 } arglist = { 1, 2, 3, 4, 5, 6, 7, 8, 9 } } key { modkey = {"Mod4", "Shift", "Control"} key = "0" command = "client_toggletag" } keylist { modkey = {"Mod4", "Shift", "Control"} command = "client_toggletag" keylist = { 1, 2, 3, 4, 5, 6, 7, 8, 9 } arglist = { 1, 2, 3, 4, 5, 6, 7, 8, 9 } } } # vim: filetype=conf