]> git.rmz.io Git - dotfiles.git/blobdiff - awesome/rc.lua
mutt: use column with for html rendering
[dotfiles.git] / awesome / rc.lua
index b716457bd4dc94a0930d0e67dee74ca13d50ff99..9da4d247a1dd81ef5204ec1b418f1a242fcf10e9 100644 (file)
@@ -3,8 +3,6 @@ gears = require("gears")
 awful = require("awful")
 awful.rules = require("awful.rules")
 require("awful.autofocus")
 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
 -- Theme handling library
 beautiful = require("beautiful")
 -- Notification library
@@ -40,20 +38,13 @@ end
 
 -- {{{ Variable definitions
 -- Themes define colours, icons, and wallpapers
 
 -- {{{ 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.
 
 -- 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
 
 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")
 -- }}}
 -- Tags
 require("tags")
 -- }}}
@@ -78,6 +69,9 @@ require("bindings")
 -- Rules
 require("rules")
 
 -- Rules
 require("rules")
 
+-- conky
+require("conky")
+
 -- {{{ Signals
 -- Signal function to execute when a new client appears.
 client.connect_signal("manage", function (c, startup)
 -- {{{ 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)
 -- }}}
 
 client.connect_signal("unfocus", function(c) c.border_color = beautiful.border_normal end)
 -- }}}
 
+-- Set keys
+root.keys(globalkeys)
+
 -- {{{ Autostart applications
 require("autostart")
 -- }}}
 -- {{{ Autostart applications
 require("autostart")
 -- }}}