X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/c2682990e19c06e6aef1b6fca7bfda2a5658f69c..8b4070b51e98191e73b51fc28c42b8a10e0d92dc:/awesome/rc.lua diff --git a/awesome/rc.lua b/awesome/rc.lua index 0de85cc..9da4d24 100644 --- a/awesome/rc.lua +++ b/awesome/rc.lua @@ -38,20 +38,13 @@ end -- {{{ Variable definitions -- Themes define colours, icons, and wallpapers -beautiful.init("/usr/share/awesome/themes/default/theme.lua") +beautiful.init(awful.util.getdir("config").."/themes/mlp/theme.lua") -- This is used later as the default terminal and editor to run. -terminal = "konsole" +terminal = "urxvtc" editor = os.getenv("EDITOR") or "vim" editor_cmd = terminal .. " -e " .. editor --- Default modkey. --- Usually, Mod4 is the key with a logo between Control and Alt. --- If you do not like this or do not have such a key, --- I suggest you to remap Mod4 to another key using xmodmap or other tools. --- However, you can use another modifier like Mod1, but it may interact with others. -modkey = "Mod4" - -- Tags require("tags") -- }}} @@ -76,6 +69,9 @@ require("bindings") -- Rules require("rules") +-- conky +require("conky") + -- {{{ Signals -- Signal function to execute when a new client appears. client.connect_signal("manage", function (c, startup) @@ -104,6 +100,9 @@ client.connect_signal("focus", function(c) c.border_color = beautiful.border_foc client.connect_signal("unfocus", function(c) c.border_color = beautiful.border_normal end) -- }}} +-- Set keys +root.keys(globalkeys) + -- {{{ Autostart applications require("autostart") -- }}}