]>
git.madduck.net Git - etc/awesome.git/commitdiff
madduck's git repository
Every one of the projects in this repository is available at the canonical
URL git://git.madduck.net/madduck/pub/<projectpath> — see
each project's metadata for the exact URL.
All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@ git. madduck. net .
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
SSH access, as well as push access can be individually
arranged .
If you use my repositories frequently, consider adding the following
snippet to ~/.gitconfig and using the third clone URL listed for each
project:
[url "git://git.madduck.net/madduck/"]
insteadOf = madduck:
summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (parent:
430e706 )
local debug = require("debug")
local assert = assert
local debug = require("debug")
local assert = assert
-local capi = { timer = require ("gears.timer") }
+local capi = { timer = require("gears.timer") }
local io = { open = io.open,
lines = io.lines,
popen = io.popen }
local io = { open = io.open,
lines = io.lines,
popen = io.popen }
-local tag = require("awful.tag")
-local tonumber = tonumber
+local tag = require("awful.tag")
+local tonumber = tonumber
local cascade = {
name = "cascade",
nmaster = 0,
offset_x = 32,
local cascade = {
name = "cascade",
nmaster = 0,
offset_x = 32,
tile = {
name = "cascadetile",
nmaster = 0,
tile = {
name = "cascadetile",
nmaster = 0,
if #cls <= 0 then return end
-- Useless gaps.
if #cls <= 0 then return end
-- Useless gaps.
- local useless_gap = tag. gap or 0
+ local useless_gap = p.useless_ gap or 0
if not tiling then
-- Cascade windows.
if not tiling then
-- Cascade windows.
-local tag = require("awful.tag")
-local tonumber = tonumber
-local math = { floor = math.floor }
+local tag = require("awful.tag")
+local tonumber = tonumber
+local math = { floor = math.floor }
local centerwork = {
name = "centerwork",
local centerwork = {
name = "centerwork",
if #cls <= 0 then return end
-- Useless gaps.
if #cls <= 0 then return end
-- Useless gaps.
- local useless_gap = tag. gap or 0
+ local useless_gap = p.useless_ gap or 0
local c = cls[1]
local g = {}
local c = cls[1]
local g = {}
-local tag = require("awful.tag")
-local math = { ceil = math.ceil,
- floor = math.floor,
- max = math.max }
-local tonumber = tonumber
+local tag = require("awful.tag")
+local math = { ceil = math.ceil,
+ floor = math.floor,
+ max = math.max }
+local tonumber = tonumber
local termfair = { name = "termfair" }
termfair.center = { name = "centerfair" }
local termfair = { name = "termfair" }
termfair.center = { name = "centerfair" }
if #cls <= 0 then return end
-- Useless gaps.
if #cls <= 0 then return end
-- Useless gaps.
- local useless_gap = tag. gap or 0
+ local useless_gap = p.useless_ gap or 0
if orientation == "west" then
-- Layout with fixed number of vertical columns (read from nmaster).
if orientation == "west" then
-- Layout with fixed number of vertical columns (read from nmaster).