lock: start xss-lock in xsession

It seems that spawning it will just crash awesome.
This commit is contained in:
Vincent Bernat 2014-09-12 15:01:52 +02:00
parent bfb8c77781
commit 61dfa49fb7
2 changed files with 1 additions and 4 deletions

View file

@ -8,7 +8,3 @@ config.keys.global = awful.util.table.join(
config.keys.global,
awful.key({}, "XF86ScreenSaver", lock),
awful.key({ modkey, }, "Delete", lock))
-- Configure xss-lock
os.execute(awful.util.spawn(awful.util.getdir("config") ..
"/bin/xss-lock start"))

View file

@ -41,6 +41,7 @@ case "$(hostname)" in
;;
esac
~/.config/awesome/bin/xss-lock start &
inputplug -0 -c ~/.config/awesome/bin/input-event 2> /dev/null
#rfkill block all 2> /dev/null
#xbacklight = 60 2> /dev/null