X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/13d37456af0c7e9a2aaa2e0bedd80def8f51d0f8..8b4070b51e98191e73b51fc28c42b8a10e0d92dc:/awesome/rc.lua diff --git a/awesome/rc.lua b/awesome/rc.lua index b716457..9da4d24 100644 --- a/awesome/rc.lua +++ b/awesome/rc.lua @@ -3,8 +3,6 @@ gears = require("gears") awful = require("awful") awful.rules = require("awful.rules") require("awful.autofocus") --- Widget and layout library -wibox = require("wibox") -- Theme handling library beautiful = require("beautiful") -- Notification library @@ -40,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") -- }}} @@ -78,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) @@ -106,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") -- }}}