Doors/configs/awesome/binds/awesome.lua

37 lines
818 B
Lua
Raw Normal View History

-- Binds that affect awesome
globalkeys = Gears.table.join(
2024-01-09 20:38:24 -05:00
globalkeys,
2024-01-09 20:38:24 -05:00
Awful.key({ Modkey, 'Shift' }, 'e', awesome.quit, {
description = 'quit awesome',
group = 'awesome',
}),
2024-01-09 20:38:24 -05:00
Awful.key({ Modkey, 'Shift' }, 'p', function()
Awful.spawn.easy_async_with_shell('doorsbg', function()
awesome.restart()
end)
end, {
description = 'set new random wallpaper/color scheme',
group = 'awesome',
}),
2024-01-09 20:38:24 -05:00
Awful.key({ Modkey }, 'BackSpace', awesome.restart, {
description = 'reload awesome',
group = 'awesome',
}),
2024-01-09 20:38:24 -05:00
Awful.key({ Modkey }, 'F1', Hotkeys_popup.show_help, {
description = 'show help',
group = 'awesome',
}),
2024-01-09 20:38:24 -05:00
Awful.key({}, 'Print', function()
os.execute 'maimpick'
end, {
description = 'run screenshot script',
group = 'awesome',
})
)