2023-12-28 04:18:32 -05:00
|
|
|
-- Binds that affect awesome
|
|
|
|
|
|
|
|
globalkeys = Gears.table.join(
|
2024-01-09 20:38:24 -05:00
|
|
|
globalkeys,
|
2023-12-28 04:18:32 -05:00
|
|
|
|
2024-01-09 20:38:24 -05:00
|
|
|
Awful.key({ Modkey, 'Shift' }, 'e', awesome.quit, {
|
|
|
|
description = 'quit awesome',
|
|
|
|
group = 'awesome',
|
|
|
|
}),
|
2023-12-28 04:18:32 -05:00
|
|
|
|
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',
|
|
|
|
}),
|
2023-12-28 05:22:40 -05:00
|
|
|
|
2024-01-09 20:38:24 -05:00
|
|
|
Awful.key({ Modkey }, 'BackSpace', awesome.restart, {
|
|
|
|
description = 'reload awesome',
|
|
|
|
group = 'awesome',
|
|
|
|
}),
|
2023-12-28 04:18:32 -05:00
|
|
|
|
2024-01-09 20:38:24 -05:00
|
|
|
Awful.key({ Modkey }, 'F1', Hotkeys_popup.show_help, {
|
|
|
|
description = 'show help',
|
|
|
|
group = 'awesome',
|
|
|
|
}),
|
2023-12-28 04:18:32 -05:00
|
|
|
|
2024-01-09 20:38:24 -05:00
|
|
|
Awful.key({}, 'Print', function()
|
|
|
|
os.execute 'maimpick'
|
|
|
|
end, {
|
|
|
|
description = 'run screenshot script',
|
|
|
|
group = 'awesome',
|
|
|
|
})
|
2023-12-28 04:18:32 -05:00
|
|
|
)
|