# Configuration file for awesome screen 0 { general { resize_hints = false } styles { normal { font = "sans 7" fg = "#eeeeee" bg = "#111111" } focus { fg = "#ffffff" bg = "#6666ff" border = "#6666ff" } urgent { fg = "#ffffff" bg = "#ff0000" } } tags { tag term { nmaster = 2 layout = "tile" } tag ssh { layout = "max" } tag www { layout = "max" } tag editor { layout = "max" } tag scratch0 { layout = "floating" } tag scratch1 { layout = "floating" } tag scratch2 { layout = "floating" } tag scratch3 { layout = "floating" } } layouts { layout tile { image = "/usr/local/share/awesome/icons/layouts/tilew.png" } layout tileleft { image = "/usr/local/share/awesome/icons/layouts/tileleftw.png" } layout tilebottom { image = "/usr/local/share/awesome/icons/layouts/tilebottomw.png" } layout tiletop { image = "/usr/local/share/awesome/icons/layouts/tiletopw.png" } layout max { image = "/usr/local/share/awesome/icons/layouts/maxw.png" } layout spiral { image = "/usr/local/share/awesome/icons/layouts/spiralw.png" } layout dwindle { image = "/usr/local/share/awesome/icons/layouts/dwindlew.png" } layout floating { image = "/usr/local/share/awesome/icons/layouts/floatingw.png" } } statusbar mystatusbar { position = "top" 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" args = {"+1"} } mouse { button = "4" command = "tag_setlayout" args = {"+1"} } mouse { button = "3" command = "tag_setlayout" args = {"-1"} } mouse { button = "5" command = "tag_setlayout" args = {"-1"} } } tasklist mytasklist { mouse { button = "4" command = "client_focus" args = {"+1"} } mouse { button = "5" command = "client_focus" args = {"-1"} } mouse { modkey = {"Mod4"} button = "4" command = "client_swapnext" } mouse { modkey = {"Mod4"} button = "5" command = "client_swapprev" } } } statusbar mystatusbar2 { position = "bottom" textbox memory_text { text = "MEM " } progressbar memory { data usage { fg = "#c5f779" fg_center = "#c5f779" fg_end = "#ff0000" bordercolor = "#6666ff" bg = "#101010" } width = 100 ticks_count= "20" } textbox cpu_text { text = "CPU [" } textbox cpu_info { } textbox cpu_info_text2 { text = "Mhz] " } graph cpu_usage { data cpu { fg = "#c5f779" fg_center = "#c5f779" fg_end = "#ff0000" vertical_gradient = true } bg = "#101010" bordercolor = "#6666ff" width = 100 grow = "right" } iconbox battery_usage_icon { image = "/usr/share/icons/Tango/32x32/devices/battery.png" } progressbar battery_usage { data battery { fg = "#c5f779" fg_center = "#c5f779" fg_end = "#ff0000" bordercolor = "#6666ff" bg = "#101010" } width = 150 ticks_count= "40" } textbox file_system_root_text { text = " /" } progressbar file_system_root { data space { fg = "#c5f779" fg_center = "#c5f779" fg_end = "#ff0000" bordercolor = "#6666ff" bg = "#101010" } width = 150 ticks_count= "40" } textbox file_system_src_text { text = " /src " } progressbar file_system_src { data space { fg = "#c5f779" fg_center = "#c5f779" fg_end = "#ff0000" bordercolor = "#6666ff" bg = "#101010" } width = 150 ticks_count= "40" } textbox file_system_share_text { text = " /share " } progressbar file_system_share { data space { fg = "#c5f779" fg_center = "#c5f779" fg_end = "#ff0000" bordercolor = "#6666ff" bg = "#101010" } width = 150 ticks_count= "40" } textbox file_system_home_text { text = " /home " } progressbar file_system_home { data space { fg = "#c5f779" fg_center = "#c5f779" fg_end = "#ff0000" bordercolor = "#6666ff" bg = "#101010" } width = 150 ticks_count= "40" } iconbox net_download_icon { image = "/usr/share/icons/Tango/32x32/actions/down.png" } graph net_traffic_download { data download { fg = "#c5f779" fg_center = "#c5f779" fg_end = "#ff0000" vertical_gradient = true } bg = "#101010" bordercolor = "#6666ff" width = 75 grow = "right" } iconbox net_upload_icon { image = "/usr/share/icons/Tango/32x32/actions/up.png" } graph net_traffic_upload { data upload { fg = "#c5f779" fg_center = "#c5f779" fg_end = "#ff0000" vertical_gradient = true } bg = "#101010" bordercolor = "#6666ff" width = 75 grow = "right" } textbox clock { align = "right" } } } rules { rule { name = "Gimp" tags = "scratch0" float = true } rule { name = "MPlayer" float = true } rule { name = "Emacs" tags = "editor" float = false } rule { name = "VLC" float = true } rule { name = "Iceweasel" tags = "www" float = false } rule { name = "Epiphany-gecko" tags = "www" float = false } rule { name = "Navigator" tags = "www" float = false } rule { name = "Ssh" tags = "ssh" float = false } } mouse { root { button = "3" command = "spawn" args = {"exec x-terminal-emulator"} } root { button = "4" command = "tag_viewnext" } root { button = "5" command = "tag_viewprev" } client { modkey = {"Mod1"} button = "1" command = "client_movemouse" } client { modkey = {"Mod1", "Shift"} button = "1" command = "client_moveresize" } client { modkey = {"Mod1"} button = "3" command = "client_resizemouse" } } keys { key { modkey = {"Mod1", "Control"} key = "r" command = "exec" args = {"awesome"} } key { modkey = {"Mod1"} key = "Tab" command = "focus_history" args = {"-1"} } key { modkey = {"Mod1"} key = "Return" command = "spawn" args = {"exec urxvtc"} } key { modkey = {"Mod1", "Shift"} key = "b" command = "statusbar_toggle" } key { modkey = {"Mod1", "Control"} key = "j" command = "screen_focus" args = {"+1"} } key { modkey = {"Mod1", "Control"} key = "k" command = "screen_focus" args = {"-1"} } key { modkey = {"Mod1"} key = "F1" command = "spawn" args = {"for i in /usr/share/man/man?;do ls $i; done | cut -d. -f1 | awesome-menu -e 'urxvtcd -e man ' 'See manual page for:'"} } key { modkey = {"Mod1"} key = "F2" command = "spawn" args = {"ls /usr/bin /usr/local/bin | awesome-menu -e 'exec ' Execute:"} } key { modkey = {"Mod1"} key = "F3" command = "spawn" args = {"cut -d' ' -f1 ~/.ssh/known_hosts | cut -d, -f1 | awesome-menu -e 'urxvtcd -name Ssh -e ssh ' 'ssh to:'"} } key { modkey = {"Mod1"} key = "space" command = "tag_setlayout" args = {"+1"} } key { modkey = {"Mod1", "Shift"} key = "space" command = "tag_setlayout" args = {"-1"} } key { modkey = {"Mod1"} key = "n" command = "client_focus" args = {"+1"} } key { modkey = {"Mod1"} key = "p" command = "client_focus" args = {"-1"} } key { modkey = {"Mod1", "Shift"} key = "j" command = "client_swap" args = {"+1"} } key { modkey = {"Mod1", "Shift"} key = "k" command = "client_swap" args = {"-1"} } key { modkey = {"Mod1"} key = "h" command = "tag_setmwfact" args = {"-0.05"} } key { modkey = {"Mod1"} key = "l" command = "tag_setmwfact" args = {"+0.05"} } key { modkey = {"Mod1", "Shift"} key = "h" command = "tag_setnmaster" args = {"+1"} } key { modkey = {"Mod1", "Shift"} key = "l" command = "tag_setnmaster" args = {"-1"} } key { modkey = {"Mod1", "Control"} key = "h" command = "tag_setncol" args = {"+1"} } key { modkey = {"Mod1", "Control"} key = "l" command = "tag_setncol" args = {"-1"} } key { modkey = {"Mod1"} key = "Escape" command = "tag_prev_selected" } key { modkey = {"Mod1", "Control"} key = "Left" command = "tag_viewprev" } key { modkey = {"Mod1", "Control"} key = "Right" command = "tag_viewnext" } key { modkey = {"Mod1"} key = "m" command = "client_togglemax" } key { modkey = {"Mod1", "Control"} key = "Return" command = "client_swap" args = {"0"} } key { modkey = {"Mod1", "Control"} key = "space" command = "client_togglefloating" } key { modkey = {"Mod1", "Shift"} key = "c" command = "client_kill" } key { modkey = {"Mod1", "Shift"} key = "q" command = "quit" } key { modkey = {"Mod1"} key = "agrave" command = "tag_view" } key { modkey = {"Mod1"} key = "ampersand" args = { "1" } command = "tag_view" } key { modkey = {"Mod1"} key = "eacute" args = { "2" } command = "tag_view" } key { modkey = {"Mod1"} key = "quotedbl" args = { "3" } command = "tag_view" } key { modkey = {"Mod1"} key = "apostrophe" args = { "4" } command = "tag_view" } key { modkey = {"Mod1"} key = "parenleft" args = { "5" } command = "tag_view" } key { modkey = {"Mod1"} key = "minus" args = { "6"} command = "tag_view" } key { modkey = {"Mod1"} key = "egrave" args = { "7" } command = "tag_view" } key { modkey = {"Mod1"} key = "underscore" args = { "8"} command = "tag_view" } key { modkey = {"Mod1", "Control"} key = "agrave" command = "tag_toggleview" } key { modkey = {"Mod1", "Control"} key = "ampersand" args = { "1" } command = "tag_toggleview" } key { modkey = {"Mod1", "Control"} key = "eacute" args = { "2" } command = "tag_toggleview" } key { modkey = {"Mod1", "Control"} key = "quotedbl" args = { "3" } command = "tag_toggleview" } key { modkey = {"Mod1", "Control"} key = "apostrophe" args = { "4" } command = "tag_toggleview" } key { modkey = {"Mod1", "Control"} key = "parenleft" args = { "5" } command = "tag_toggleview" } key { modkey = {"Mod1", "Control"} key = "minus" args = { "6"} command = "tag_toggleview" } key { modkey = {"Mod1", "Control"} key = "egrave" args = { "7" } command = "tag_toggleview" } key { modkey = {"Mod1", "Control"} key = "underscore" args = { "8"} command = "tag_toggleview" } key { modkey = {"Mod1", "Shift"} key = "agrave" command = "client_tag" } key { modkey = {"Mod1", "Shift"} key = "ampersand" args = { "1" } command = "client_tag" } key { modkey = {"Mod1", "Shift"} key = "eacute" args = { "2" } command = "client_tag" } key { modkey = {"Mod1", "Shift"} key = "quotedbl" args = { "3" } command = "client_tag" } key { modkey = {"Mod1", "Shift"} key = "apostrophe" args = { "4" } command = "client_tag" } key { modkey = {"Mod1", "Shift"} key = "parenleft" args = { "5" } command = "client_tag" } key { modkey = {"Mod1", "Shift"} key = "minus" args = { "6"} command = "client_tag" } key { modkey = {"Mod1", "Shift"} key = "egrave" args = { "7" } command = "client_tag" } key { modkey = {"Mod1", "Shift"} key = "underscore" args = { "8"} command = "client_tag" } key { modkey = {"Mod1", "Shift", "Control"} key = "agrave" command = "client_toggletag" } key { modkey = {"Mod1", "Shift", "Control"} key = "ampersand" args = { "1" } command = "client_toggletag" } key { modkey = {"Mod1", "Shift", "Control"} key = "eacute" args = { "2" } command = "client_toggletag" } key { modkey = {"Mod1", "Shift", "Control"} key = "quotedbl" args = { "3" } command = "client_toggletag" } key { modkey = {"Mod1", "Shift", "Control"} key = "apostrophe" args = { "4" } command = "client_toggletag" } key { modkey = {"Mod1", "Shift", "Control"} key = "parenleft" args = { "5" } command = "client_toggletag" } key { modkey = {"Mod1", "Shift", "Control"} key = "minus" args = { "6"} command = "client_toggletag" } key { modkey = {"Mod1", "Shift", "Control"} key = "egrave" args = { "7" } command = "client_toggletag" } key { modkey = {"Mod1", "Shift", "Control"} key = "underscore" args = { "8"} command = "client_toggletag" } key { modkey = {"Mod1"} key = "r" command = "client_redraw" } key { modkey = {"Mod1"} key = "s" command = "client_togglescratch" } key { modkey = {"Mod1", "Control"} key = "s" command = "client_setscratch" } key { modkey = {"Shift"} key = "F1" command = "spawn" args = {"exec urxvtc -name Ssh -title scoobidee -e ssh scoobidee.mini-dweeb.org"} } key { modkey = {"Shift"} key = "F2" command = "spawn" args = {"exec urxvtc -name Ssh -title orfeo -e ssh orfeo.duckcorp.org"} } key { modkey = {"Shift"} key = "F3" command = "spawn" args = {"exec urxvtc -name Ssh -title velma -e ssh mi"} } key { modkey = {"Shift"} key = "F4" command = "spawn" args = {"exec urxvtc -name Ssh -title scoubidou -e ssh scoubidou"} } key { modkey = {"Control"} key = "F9" command = "spawn" args = {"exec /usr/bin/emacsclient -e '(emms-stop)'"} } key { modkey = {"Control"} key = "F10" command = "spawn" args = {"exec /usr/bin/emacsclient -e '(emms-start)'"} } key { modkey = {"Control"} key = "F12" command = "spawn" args = {"exec /usr/bin/emacsclient -e '(emms-pause)'"} } key { modkey = {"Control"} key = "XF86AudioNext" command = "spawn" args = {"exec /usr/bin/emacsclient -e '(emms-next)'"} } key { modkey = {"Control"} key = "XF86AudioPrev" command = "spawn" args = {"exec /usr/bin/emacsclient -e '(emms-previous)'"} } key { modkey = {"Mod1"} key = "F11" command = "spawn" args = {"exec sudo /usr/sbin/radeontool light off"} } key { modkey = {"Mod1"} key = "F12" command = "spawn" args = {"exec sudo /usr/sbin/radeontool light on"} } } rules { rule { name = "Gimp" tags = "5" float = true } rule { name = "MPlayer" tags = "scratch" float = true } rule { name = "Emacs" tags = "editor" float = false } rule { name = "VLC" tags = "scratch" float = true } rule { name = "Iceweasel" tags = "www" float = false } rule { name = "Epiphany-gecko" tags = "www" float = false } rule { name = "Navigator" tags = "www" float = false } rule { name = "Ssh" tags = "ssh" float = false } }