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
28
rc.lua
28
rc.lua
|
@ -1,11 +1,11 @@
|
|||
-- libraries {{{
|
||||
awful = require("awful")
|
||||
awful.rules = require("awful.rules")
|
||||
require("awful.autofocus")
|
||||
beautiful = require("autobeautiful")
|
||||
naughty = require("naughty")
|
||||
conf = require("localconf")
|
||||
require("errors")
|
||||
local awful = require("awful")
|
||||
require("awful.autofocus")
|
||||
--require("autobeautiful")
|
||||
beautiful = require("autobeautiful")
|
||||
naughty = require("naughty")
|
||||
conf = require("localconf")
|
||||
require("errors")
|
||||
inspect = require("lib.inspect")
|
||||
-- }}}
|
||||
|
||||
|
@ -25,10 +25,10 @@ tags.setup()
|
|||
-- {{{ widgets
|
||||
widgets = require("widgets")
|
||||
for s = 1, screen.count() do
|
||||
local ltop = widgets.layout(s, "left", "top")
|
||||
local rtop = widgets.layout(s, "right", "top")
|
||||
local lbottom = widgets.layout(s, "left", "bottom")
|
||||
local rbottom = widgets.layout(s, "right", "bottom")
|
||||
local ltop = widgets.container(s, "left", "top")
|
||||
local rtop = widgets.container(s, "right", "top")
|
||||
local lbottom = widgets.container(s, "left", "bottom")
|
||||
local rbottom = widgets.container(s, "right", "bottom")
|
||||
|
||||
local clock = widgets.add.clock("clock", ltop)
|
||||
|
||||
|
@ -67,11 +67,7 @@ binder.apply()
|
|||
|
||||
-- }}}
|
||||
|
||||
-- {{{ rules
|
||||
rules = require("rules")
|
||||
rules.setup()
|
||||
-- }}}
|
||||
|
||||
require("rules")
|
||||
require("signals")
|
||||
|
||||
--
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue