Update to Awesome 4.0
Configuration works mostly identical to previous state. Some exceptions: - Minor changes in tag names (removed unicode symbols), as they are now referenced by name in the rules. - Calendar module is not yet ported and not loaded. - Scratch terminal on F12 key currently moves to bottom of the screen after first opening. Probably will be reimplemented using the new extended awful.spawn API. - awsetbg util writes different wallpaperrc (preexisting wallpaperrc is ignored, as the filename now includes .lua)
This commit is contained in:
parent
457f474a2c
commit
a43b908350
10 changed files with 549 additions and 633 deletions
|
@ -8,7 +8,7 @@ local mb = binder.modal
|
|||
|
||||
local mpd = require("separable.mpd")
|
||||
local scratch = require("scratch")
|
||||
local calendar = require("separable.calendar")
|
||||
--local calendar = require("separable.calendar")
|
||||
|
||||
local myglobalkeys = {}
|
||||
|
||||
|
@ -65,11 +65,11 @@ local reloadmap = {
|
|||
end, desc = "Bindings" },
|
||||
}
|
||||
|
||||
local calendarmap = {
|
||||
o = { func = function() calendar:next() end, desc = "Next" },
|
||||
i = { func = function() calendar:prev() end, desc = "Prev" },
|
||||
onClose = function() calendar:hide() end
|
||||
}
|
||||
--local calendarmap = {
|
||||
-- o = { func = function() calendar:next() end, desc = "Next" },
|
||||
-- i = { func = function() calendar:prev() end, desc = "Prev" },
|
||||
-- onClose = function() calendar:hide() end
|
||||
--}
|
||||
|
||||
|
||||
local myglobalkeys = awful.util.table.join(
|
||||
|
@ -111,17 +111,17 @@ local myglobalkeys = awful.util.table.join(
|
|||
|
||||
awful.key({ }, "XF86AudioPlay", mpd.ctrl.toggle),
|
||||
awful.key({ }, "XF86AudioNext", mpd.ctrl.next),
|
||||
awful.key({ }, "XF86AudioPrev", mpd.ctrl.prev),
|
||||
awful.key({ }, "XF86AudioPrev", mpd.ctrl.prev)
|
||||
|
||||
--}}}
|
||||
|
||||
-- calendar {{{
|
||||
awful.key({ modkey }, "y",
|
||||
function()
|
||||
calendar:show()
|
||||
mb.grab(calendarmap, "Calendar", true)
|
||||
end
|
||||
)
|
||||
--awful.key({ modkey }, "y",
|
||||
--function()
|
||||
-- calendar:show()
|
||||
-- mb.grab(calendarmap, "Calendar", true)
|
||||
--end
|
||||
--)
|
||||
--}}}
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue