Initial Commit
This commit is contained in:
27
configuration/client/keys.lua
Normal file
27
configuration/client/keys.lua
Normal file
@@ -0,0 +1,27 @@
|
||||
local awful = require('awful')
|
||||
require('awful.autofocus')
|
||||
local modkey = require('configuration.keys.mod').modKey
|
||||
local altkey = require('configuration.keys.mod').altKey
|
||||
|
||||
local clientKeys =
|
||||
awful.util.table.join(
|
||||
awful.key(
|
||||
{modkey},
|
||||
'f',
|
||||
function(c)
|
||||
c.fullscreen = not c.fullscreen
|
||||
c:raise()
|
||||
end,
|
||||
{description = 'toggle fullscreen', group = 'client'}
|
||||
),
|
||||
awful.key(
|
||||
{modkey},
|
||||
'q',
|
||||
function(c)
|
||||
c:kill()
|
||||
end,
|
||||
{description = 'close', group = 'client'}
|
||||
)
|
||||
)
|
||||
|
||||
return clientKeys
|
||||
Reference in New Issue
Block a user