Mortini Simple Laptop Theme



This is a simple green-ish theme I use on my laptop. I use the example disk usage and clock script to create two simple widgets.

Theme/config overview:


 * Rules for various apps that I use, and a simplified tag system.
 * The Silkscreen TTF, a very readable small font, is utilized. This font is available from kottke.org.
 * Use awesome-menu with a Mod4-p keybinding - The Awesome-menu wiki setup is used.
 * Using stalonetray for a system tray.

# awesomerc for 2.3 screen 0 {   general {       # make windows extend to the full height of the screen resize_hints = false }   styles {       ####        # colors in this theme # #604040 Maroon # #606040 Dark Olive Green # #222211 Darker Olive Green # #a0a0a0 Light Grey # #402020       ####        normal {           #font = "sans 8" # use the silkscreen font from kottke.org font = "silkscreen 6" fg = "#808080" bg = "#222211" border = "#222222" }       focus {           fg = "#a0a0a0" bg = "#606040" border = "#FFFFFF" }       urgent {           fg = "#FFFFFF" bg = "#D53737" }    }    tags {       tag a { } tag b { } tag c { } tag d { layout = "floating" } tag e { } tag f { layout = "floating" } }   titlebar {        position = "left" text_align = "center" styles {            normal {                shadow = "#111111" shadow_offset = "1" }            focus {                bg = "#606040" shadow = "#111111" shadow_offset = "1" }        }        height = "12" }   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 = "bottom"

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 {           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" }       }   emptybox spacer {    style {} width = 25 }  progressbar diskusage {      data "disk" {          bordercolor = "#000000" bg         = "#000000" fg         = "#604040" fg_center  = "#222211" fg_end     = "#402020" }      width = 100 align = "right" }  textbox clock {            align = "right" width = "150" style { fg = "#a0a0a0" shadow = "#111111" shadow_offset = "1" }        }   iconbox logo {           image = "/usr/local/share/awesome/icons/awesome16.png" mouse {               button = "1" command = "spawn" arg = "exec xterm -e man awesome" }       }    }  }

rules {   rule { name = "Firefox" tags = "b" }   rule { name = "VLC" float = true }   rule { name = "Buddy List" tags = "d" float = true }   rule { name = "vnc" tags = "f" float = true }   rule { name = "Pidgin" tags = "d" float = true }   rule { name = "gimp" tags = "d" float = true }   rule { name = "stalonetray" tags = "0" float = true }   rule { name = "tester" tags = "d" float = true }

}

mouse {   root {       button = "3" command = "spawn" arg = "exec ~/.awesome/bin/rxvt" }   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 {       modkey = {"Mod4"} key = "F1" command = "spawn" arg = "for i in /usr/share/man/man?;do ls $i; done | cut -d. -f1 | awesome-menu -e 'xterm -e man ' 'See manual page for:'" }   key {       modkey = {"Mod4"} key = "F2" command = "spawn" arg = "find /usr/bin -type f -executable ! -empty | awesome-menu -e 'exec ' Execute:" }   key {       modkey = {"Mod4"} key = "F3" command = "spawn" arg = "cut -d' ' -f1 ~/.ssh/known_hosts | cut -d, -f1 | awesome-menu -e 'xterm -e ssh ' 'ssh to:'" }   key {       modkey = {"Mod4"} key = "Return" command = "spawn" arg = "exec ~/.awesome/bin/rxvt" }   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 = "m" command = "client_togglemax" }   key {       modkey = {"Mod4", "Control"} key = "Return" command = "client_zoom" }   key {       modkey = {"Mod4", "Control"} key = "space" 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", "Control"} key = "r" command = "restart" }   key {       modkey = {"Mod4"} key = "p" command = "spawn" arg = "exec `~/.awesome/bin/awesome-menu-builder`" }   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