2023-12-28 04:18:32 -05:00
|
|
|
-- Binds that affect awesome
|
|
|
|
|
|
|
|
globalkeys = Gears.table.join(
|
|
|
|
globalkeys,
|
|
|
|
|
|
|
|
Awful.key(
|
|
|
|
{ Modkey, "Shift" }, "e", awesome.quit,
|
|
|
|
{
|
|
|
|
description = "quit awesome",
|
|
|
|
group = "awesome"
|
|
|
|
}
|
|
|
|
),
|
|
|
|
|
2023-12-28 05:22:40 -05:00
|
|
|
Awful.key(
|
|
|
|
{ Modkey, "Shift" }, "p",
|
2024-01-01 06:59:44 -05:00
|
|
|
function()
|
|
|
|
Awful.spawn.easy_async_with_shell("doorsbg",
|
|
|
|
function()
|
|
|
|
awesome.restart()
|
|
|
|
end)
|
|
|
|
end,
|
2023-12-28 05:22:40 -05:00
|
|
|
{
|
|
|
|
description = "set new random wallpaper/color scheme",
|
|
|
|
group = "awesome"
|
|
|
|
}
|
|
|
|
),
|
|
|
|
|
2023-12-28 04:18:32 -05:00
|
|
|
Awful.key(
|
|
|
|
{ Modkey, }, "BackSpace",
|
|
|
|
awesome.restart,
|
|
|
|
{
|
|
|
|
description = "reload awesome",
|
|
|
|
group = "awesome"
|
|
|
|
}
|
|
|
|
),
|
|
|
|
|
|
|
|
Awful.key(
|
|
|
|
{ Modkey, }, "F1",
|
|
|
|
Hotkeys_popup.show_help,
|
|
|
|
{
|
|
|
|
description = "show help",
|
|
|
|
group = "awesome"
|
|
|
|
}
|
|
|
|
),
|
|
|
|
|
|
|
|
Awful.key(
|
|
|
|
{}, "Print",
|
|
|
|
function()
|
|
|
|
os.execute("maimpick")
|
|
|
|
end,
|
|
|
|
{
|
|
|
|
description = "run screenshot script",
|
|
|
|
group = "awesome"
|
|
|
|
}
|
|
|
|
)
|
|
|
|
)
|