-- Notification library
naughty = require("naughty")
menubar = require("menubar")
--- Pulseaudio widget
---local APW = require("apw/widget")
-- {{{ Error handling
-- Check if awesome encountered an error during startup and fell back to
beautiful.init(awful.util.getdir("config").."/themes/mlp/theme.lua")
-- This is used later as the default terminal and editor to run.
-terminal = "urxvt"
+terminal = "urxvtc"
editor = os.getenv("EDITOR") or "vim"
editor_cmd = terminal .. " -e " .. editor
if not startup then
-- Set the windows at the slave,
-- i.e. put it at the end of others instead of setting it master.
- -- awful.client.setslave(c)
+ awful.client.setslave(c)
-- Put windows in a smart way, only if they does not set an initial position.
if not c.size_hints.user_position and not c.size_hints.program_position then
-- Set keys
root.keys(globalkeys)
--- {{{ Autostart applications
+-- Autostart applications
require("autostart")
--- }}}