cleanup
This commit is contained in:
parent
ad92a7884c
commit
a25361f352
5
rc.lua
5
rc.lua
|
@ -2,7 +2,6 @@
|
||||||
awful = require("awful")
|
awful = require("awful")
|
||||||
awful.rules = require("awful.rules")
|
awful.rules = require("awful.rules")
|
||||||
require("awful.autofocus")
|
require("awful.autofocus")
|
||||||
wibox = require("wibox")
|
|
||||||
beautiful = require("autobeautiful")
|
beautiful = require("autobeautiful")
|
||||||
naughty = require("naughty")
|
naughty = require("naughty")
|
||||||
conf = require("localconf")
|
conf = require("localconf")
|
||||||
|
@ -35,7 +34,6 @@ for s = 1, screen.count() do
|
||||||
local lbottom = widgets.layout(s,"left","bottom")
|
local lbottom = widgets.layout(s,"left","bottom")
|
||||||
local rbottom = widgets.layout(s,"right","bottom")
|
local rbottom = widgets.layout(s,"right","bottom")
|
||||||
|
|
||||||
-- {{{
|
|
||||||
widgets.add.clock("clock", s, ltop)
|
widgets.add.clock("clock", s, ltop)
|
||||||
|
|
||||||
widgets.add.layout(s, lbottom)
|
widgets.add.layout(s, lbottom)
|
||||||
|
@ -59,8 +57,6 @@ for s = 1, screen.count() do
|
||||||
end
|
end
|
||||||
-- }}}
|
-- }}}
|
||||||
|
|
||||||
calendar = require("calendar")
|
|
||||||
|
|
||||||
-- {{{ Key bindings
|
-- {{{ Key bindings
|
||||||
globalkeys = {}
|
globalkeys = {}
|
||||||
globalkeys = layouts.extend_key_table(globalkeys);
|
globalkeys = layouts.extend_key_table(globalkeys);
|
||||||
|
@ -80,7 +76,6 @@ rules.setup()
|
||||||
|
|
||||||
require("signals")
|
require("signals")
|
||||||
|
|
||||||
--cal:calculate_size()
|
|
||||||
--
|
--
|
||||||
-- vim: fdm=marker
|
-- vim: fdm=marker
|
||||||
--
|
--
|
||||||
|
|
|
@ -25,13 +25,13 @@ local function setup(self)
|
||||||
properties = {
|
properties = {
|
||||||
border_width = beautiful.border_width,
|
border_width = beautiful.border_width,
|
||||||
border_color = beautiful.border_normal,
|
border_color = beautiful.border_normal,
|
||||||
focus = true,
|
focus = awful.client.focus.filter,
|
||||||
size_hints_honor = false,
|
raise = true,
|
||||||
keys = clientkeys,
|
keys = clientkeys,
|
||||||
minimized = false,
|
minimized = false,
|
||||||
--skip_taskbar = true,
|
|
||||||
buttons = clientbuttons
|
buttons = clientbuttons
|
||||||
},
|
},
|
||||||
|
-- print name and class of new windows for debugging purposes
|
||||||
callback = function(c)
|
callback = function(c)
|
||||||
if(c["name"] ~= nil and c["class"] ~= nil) then
|
if(c["name"] ~= nil and c["class"] ~= nil) then
|
||||||
print("-----------\nnew client\n")
|
print("-----------\nnew client\n")
|
||||||
|
|
Loading…
Reference in a new issue