Add i3lock keybind
This commit is contained in:
parent
1a3b7c6452
commit
8c58663980
2 changed files with 5 additions and 0 deletions
|
@ -17,6 +17,9 @@ apps = {
|
||||||
-- Your default screenshot tool
|
-- Your default screenshot tool
|
||||||
screenshot = "flameshot gui",
|
screenshot = "flameshot gui",
|
||||||
|
|
||||||
|
-- Screenlocker
|
||||||
|
screenlocker = "i3lock -ec '#fdf6e3'",
|
||||||
|
|
||||||
-- brightness
|
-- brightness
|
||||||
brightness_up = "brightnessctl s 5%+",
|
brightness_up = "brightnessctl s 5%+",
|
||||||
brightness_down = "brightnessctl s 5%-",
|
brightness_down = "brightnessctl s 5%-",
|
||||||
|
|
|
@ -141,6 +141,8 @@ globalKeys = gears.table.join(
|
||||||
{description = "take screenshot", group = "apps"}),
|
{description = "take screenshot", group = "apps"}),
|
||||||
awful.key({ modkey }, "i", function () awful.spawn(apps.browser) end,
|
awful.key({ modkey }, "i", function () awful.spawn(apps.browser) end,
|
||||||
{description = "open browser", group = "apps"}),
|
{description = "open browser", group = "apps"}),
|
||||||
|
awful.key({ modkey, "Shift" }, "x", function () awful.spawn(apps.screenlocker) end,
|
||||||
|
{description = "lock screen", group = "apps"}),
|
||||||
|
|
||||||
-- Brightness
|
-- Brightness
|
||||||
awful.key({ modkey }, "x", function () awful.spawn(apps.brightness_up) end,
|
awful.key({ modkey }, "x", function () awful.spawn(apps.brightness_up) end,
|
||||||
|
|
Loading…
Reference in a new issue