[BACK]Return to .awesomerc CVS log [TXT][DIR] Up to [local] / mycfg

File: [local] / mycfg / .awesomerc (download)

Revision 1.1, Fri Jul 18 20:43:25 2008 UTC (11 years, 2 months ago) by nbrk
Branch: MAIN
CVS Tags: HEAD

WindowMaker sucks.
awesome rules.

screen 0
{
    styles
    {
        normal
        {
            font = "sans 8"
            fg = "#dddddd"
            bg = "#444444"
            border = "#555555"
        }
        focus
        {
            fg = "#000000"
            bg = "#535d6c"
            border = "#535d6c"
        }
        urgent
        {
            fg = "#111111"
            bg = "#ff4500"
        }
    }
    tags
    {
        tag one { }
        tag two { }
        tag three { }
        tag four { }
        tag five { }
        tag six { }
        tag seven { }
        tag eight { }
        tag nine { }
    }
    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 = {"Mod1"}
                command = "client_tag"
            }
            mouse
            {
                button = "3"
                command = "tag_toggleview"
            }
            mouse
            {
                button = "3"
                modkey = {"Mod1"}
                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 = {"Mod1"}
                button = "4"
                command = "client_swapnext"
            }
            mouse
            {
                modkey = {"Mod1"}
                button = "5"
                command = "client_swapprev"
            }
        }
        iconbox logo
        {
            image = "/usr/local/share/awesome/icons/awesome16.png"
            mouse
            {
                button = "1"
                command = "spawn"
                arg = "exec xterm -bg black -fg white -e man awesome"
            }
        }
    }
}

rules
{
    rule { name = "Gimp" float = true }
    rule { name = "MPlayer" float = true }
    rule { name = "Acroread" float = true }
    rule { name = "pinentry" float = true }
    rule { name = "firefox" float = true }
}

mouse
{
    root
    {
        button = "3"
        command = "spawn"
        arg = "exec xterm -tn xterm-color -bg black -fg white"
    }
    root
    {
        button = "4"
        command = "tag_viewnext"
    }
    root
    {
        button = "5"
        command = "tag_viewprev"
    }
    client
    {
        modkey = {"Mod1"}
        button = "1"
        command = "client_movemouse"
    }
    client
    {
        modkey = {"Mod1"}
        button = "2"
        command = "client_zoom"
    }
    client
    {
        modkey = {"Mod1"}
        button = "3"
        command = "client_resizemouse"
    }
    titlebar
    {
        button = "1"
        command = "client_movemouse"
    }
    titlebar
    {
        button = "3"
        command = "client_resizemouse"
    }
}

keys
{
    key
    {
        modkey = {"Mod1"}
        key = "F1"
        command = "spawn"
        arg = "for i in /usr/share/man/man?;do ls $i; done | cut -d. -f1 | awesome-menu -e 'xterm -bg black -fg white -e man ' 'See manual page for:'"
    }
    key
    {
        modkey = {"Mod1"}
        key = "F2"
        command = "spawn"
        arg = "/usr/local/bin/awesome-dmenu | awesome-menu -e 'exec ' Execute:"
    }
    key
    {
        modkey = {"Mod1"}
        key = "F3"
        command = "spawn"
        arg = "cut -d' ' -f1 ~/.ssh/known_hosts | cut -d, -f1 | awesome-menu -e 'xterm -tn xterm-color -bg black -fg white -e ssh ' 'ssh to:'"
    }
    key
    {
        modkey = {"Mod1"}
        key = "Return"
        command = "spawn"
        arg = "exec xterm -tn xterm-color -bg black -fg white"
    }
    key
    {
        modkey = {"Mod1"}
        key = "space"
        command = "tag_setlayout"
        arg = "+1"
    }
    key
    {
        modkey = {"Mod1", "Shift"}
        key = "space"
        command = "tag_setlayout"
        arg = "-1"
    }
    key
    {
        modkey = {"Mod1"}
        key = "s"
        command = "statusbar_toggle"
    }
    key
    {
        modkey = {"Mod1"}
        key = "j"
        command = "client_focusnext"
    }
    key
    {
        modkey = {"Mod1"}
        key = "k"
        command = "client_focusprev"
    }
    key
    {
        modkey = {"Mod1"}
        key = "Tab"
        command = "focus_history"
        arg = "-1"
    }
    key
    {
        modkey = {"Mod1", "Shift"}
        key = "j"
        command = "client_swapnext"
    }
    key
    {
        modkey = {"Mod1", "Shift"}
        key = "k"
        command = "client_swapprev"
    }
    key
    {
        modkey = {"Mod1", "Control"}
        key = "j"
        command = "screen_focus"
        arg = "+1"
    }
    key
    {
        modkey = {"Mod1", "Control"}
        key = "k"
        command = "screen_focus"
        arg = "-1"
    }
    key
    {
        modkey = {"Mod1"}
        key = "h"
        command = "tag_setmwfact"
        arg = "-0.05"
    }
    key
    {
        modkey = {"Mod1"}
        key = "l"
        command = "tag_setmwfact"
        arg = "+0.05"
    }
    key
    {
        modkey = {"Mod1", "Shift"}
        key = "h"
        command = "tag_setnmaster"
        arg = "+1"
    }
    key
    {
        modkey = {"Mod1", "Shift"}
        key = "l"
        command = "tag_setnmaster"
        arg = "-1"
    }
    key
    {
        modkey = {"Mod1", "Control"}
        key = "h"
        command = "tag_setncol"
        arg = "+1"
    }
    key
    {
        modkey = {"Mod1", "Control"}
        key = "l"
        command = "tag_setncol"
        arg = "-1"
    }
    key
    {
        modkey = {"Mod1"}
        key = "Escape"
        command = "tag_prev_selected"
    }
    key
    {
        modkey = {"Mod1"}
        key = "Left"
        command = "tag_viewprev"
    }
    key
    {
        modkey = {"Mod1"}
        key = "Right"
        command = "tag_viewnext"
    }
    key
    {
        modkey = {"Mod1"}
        key = "m"
        command = "client_togglemax"
    }
    key
    {
        modkey = {"Mod1", "Control"}
        key = "Return"
        command = "client_zoom"
    }
    key
    {
        modkey = {"Mod1", "Control"}
        key = "space"
        command = "client_togglefloating"
    }
    key
    {
        modkey = {"Mod1"}
        key = "s"
        command = "client_togglescratch"
    }
    key
    {
        modkey = {"Mod1", "Control"}
        key = "s"
        command = "client_setscratch"
    }
    key
    {
        modkey = {"Mod1", "Shift"}
        key = "c"
        command = "client_kill"
    }
    key
    {
        modkey = {"Mod1", "Shift"}
        key = "q"
        command = "quit"
    }
    key
    {
        modkey = {"Mod1", "Control"}
        key = "r"
        command = "restart"
    }
    key
    {
       modkey = {"Mod1"}
       key = "0"
       command = "tag_view"
    }
    keylist
    {
        modkey = {"Mod1"}
        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 = {"Mod1", "Control"}
        key = "0"
        command = "tag_toggleview"
    }
    keylist
    {
        modkey = {"Mod1", "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 = {"Mod1", "Shift"}
        key = "0"
        command = "client_tag"
    }
    keylist
    {
        modkey = {"Mod1", "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 = {"Mod1", "Shift", "Control"}
        key = "0"
        command = "client_toggletag"
    }
    keylist
    {
        modkey = {"Mod1", "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