add xss-lock and slock
This commit is contained in:
parent
710f7352fa
commit
89bfc8c459
@ -141,6 +141,11 @@
|
||||
enable = true;
|
||||
enableSshSupport = true;
|
||||
};
|
||||
|
||||
services.screen-locker = {
|
||||
enable = true;
|
||||
lockCmd = "${pkgs.slock}/bin/slock xset dpms force off";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
@ -331,7 +331,7 @@ globalkeys = gears.table.join(
|
||||
{description = "show the menubar", group = "launcher"}),
|
||||
-- My customizations
|
||||
awful.key({ modkey }, "x", function()
|
||||
awful.spawn.with_shell("xset dpms force off; sleep 0.1; slock")
|
||||
awful.spawn.with_shell("sleep 0.2; slock xset dpms force off")
|
||||
end)
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user