mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-18 09:54:45 +02:00
lock: start xss-lock in xsession
It seems that spawning it will just crash awesome.
This commit is contained in:
parent
bfb8c77781
commit
61dfa49fb7
2 changed files with 1 additions and 4 deletions
|
@ -8,7 +8,3 @@ config.keys.global = awful.util.table.join(
|
||||||
config.keys.global,
|
config.keys.global,
|
||||||
awful.key({}, "XF86ScreenSaver", lock),
|
awful.key({}, "XF86ScreenSaver", lock),
|
||||||
awful.key({ modkey, }, "Delete", lock))
|
awful.key({ modkey, }, "Delete", lock))
|
||||||
|
|
||||||
-- Configure xss-lock
|
|
||||||
os.execute(awful.util.spawn(awful.util.getdir("config") ..
|
|
||||||
"/bin/xss-lock start"))
|
|
||||||
|
|
1
xsession
1
xsession
|
@ -41,6 +41,7 @@ case "$(hostname)" in
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
~/.config/awesome/bin/xss-lock start &
|
||||||
inputplug -0 -c ~/.config/awesome/bin/input-event 2> /dev/null
|
inputplug -0 -c ~/.config/awesome/bin/input-event 2> /dev/null
|
||||||
#rfkill block all 2> /dev/null
|
#rfkill block all 2> /dev/null
|
||||||
#xbacklight = 60 2> /dev/null
|
#xbacklight = 60 2> /dev/null
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue