mirror of
https://github.com/bertptrs/vimconfig.git
synced 2025-12-25 20:40:32 +01:00
Replace lightdm lock with gnome-screensaver.
This commit is contained in:
@@ -15,7 +15,8 @@ local volume = require("volume")
|
||||
-- Startup programs
|
||||
do
|
||||
local programs = {
|
||||
"owncloud"
|
||||
"owncloud",
|
||||
"gnome-screensaver"
|
||||
}
|
||||
|
||||
for _,i in pairs(programs) do
|
||||
@@ -341,7 +342,10 @@ globalkeys = awful.util.table.join(
|
||||
awful.key({ }, "XF86MonBrightnessDown", function ()
|
||||
awful.spawn("xbacklight -dec 15") end),
|
||||
awful.key({ }, "XF86MonBrightnessUp", function ()
|
||||
awful.spawn("xbacklight -inc 15") end)
|
||||
awful.spawn("xbacklight -inc 15") end),
|
||||
|
||||
-- Lock screen
|
||||
awful.key({ modkey, "Shift" }, "l", function () awful.spawn("gnome-screensaver-command --lock") end)
|
||||
)
|
||||
|
||||
clientkeys = awful.util.table.join(
|
||||
|
||||
Reference in New Issue
Block a user