1
0
Fork 0
mirror of https://github.com/lcpz/awesome-copycats.git synced 2024-12-22 19:22:32 +00:00

lain: new commit

This commit is contained in:
luke bonham 2013-09-19 20:54:11 +02:00
parent d3af136438
commit d567a727b5
11 changed files with 22 additions and 63 deletions

View file

@ -41,6 +41,7 @@ Notable features
- Non-empty tag browsing
- Tag renaming
- Dynamic useless gaps
- Dynamic tagging
Gallery
=======

2
lain

@ -1 +1 @@
Subproject commit 74f4507743e694cc17b85746247ec7a816d6924d
Subproject commit 53208723736b34e4b6c2c23fd77757fd46c436cf

View file

@ -346,12 +346,6 @@ globalkeys = awful.util.table.join(
awful.key({ altkey }, "Left", function () lain.util.tag_view_nonempty(-1) end),
awful.key({ altkey }, "Right", function () lain.util.tag_view_nonempty(1) end),
-- Dynamic tag renaming
awful.key({ altkey, "Shift" }, "r",
function ()
lain.util.prompt_rename_tag(mypromptbox)
end ),
-- Default client focus
awful.key({ altkey }, "k",
function ()
@ -397,6 +391,10 @@ globalkeys = awful.util.table.join(
mywibox[mouse.screen].visible = not mywibox[mouse.screen].visible
end),
-- On the fly useless gaps change
awful.key({ altkey, "Control" }, "+", function () lain.util.useless_gaps_resize(1) end),
awful.key({ altkey, "Control" }, "-", function () lain.util.useless_gaps_resize(-1) end),
-- Layout manipulation
awful.key({ modkey, "Shift" }, "j", function () awful.client.swap.byidx( 1) end),
awful.key({ modkey, "Shift" }, "k", function () awful.client.swap.byidx( -1) end),
@ -420,10 +418,6 @@ globalkeys = awful.util.table.join(
awful.key({ modkey, "Shift" }, "space", function () awful.layout.inc(layouts, -1) end),
awful.key({ modkey, "Control" }, "n", awful.client.restore),
-- On the fly useless gaps change
awful.key({ altkey, "Control" }, "+", function () lain.util.useless_gaps_resize(1) end),
awful.key({ altkey, "Control" }, "-", function () lain.util.useless_gaps_resize(-1) end),
-- Standard program
awful.key({ modkey, }, "Return", function () awful.util.spawn(terminal) end),
awful.key({ modkey, "Control" }, "r", awesome.restart),

View file

@ -342,12 +342,6 @@ globalkeys = awful.util.table.join(
awful.key({ altkey }, "Left", function () lain.util.tag_view_nonempty(-1) end),
awful.key({ altkey }, "Right", function () lain.util.tag_view_nonempty(1) end),
-- Dynamic tag renaming
awful.key({ altkey, "Shift" }, "r",
function ()
lain.util.prompt_rename_tag(mypromptbox)
end ),
-- Default client focus
awful.key({ altkey }, "k",
function ()
@ -393,6 +387,10 @@ globalkeys = awful.util.table.join(
mywibox[mouse.screen].visible = not mywibox[mouse.screen].visible
end),
-- On the fly useless gaps change
awful.key({ altkey, "Control" }, "+", function () lain.util.useless_gaps_resize(1) end),
awful.key({ altkey, "Control" }, "-", function () lain.util.useless_gaps_resize(-1) end),
-- Layout manipulation
awful.key({ modkey, "Shift" }, "j", function () awful.client.swap.byidx( 1) end),
awful.key({ modkey, "Shift" }, "k", function () awful.client.swap.byidx( -1) end),
@ -416,10 +414,6 @@ globalkeys = awful.util.table.join(
awful.key({ modkey, "Shift" }, "space", function () awful.layout.inc(layouts, -1) end),
awful.key({ modkey, "Control" }, "n", awful.client.restore),
-- On the fly useless gaps change
awful.key({ altkey, "Control" }, "+", function () lain.util.useless_gaps_resize(1) end),
awful.key({ altkey, "Control" }, "-", function () lain.util.useless_gaps_resize(-1) end),
-- Standard program
awful.key({ modkey, }, "Return", function () awful.util.spawn(terminal) end),
awful.key({ modkey, "Control" }, "r", awesome.restart),

View file

@ -448,7 +448,6 @@ for s = 1, screen.count() do
mybottomwibox[s]:set_bg("#242424")
-- Create a borderbox above the bottomwibox
awful.screen.padding(screen[s], { bottom = 1 })
lain.widgets.borderbox(mybottomwibox[s], s, { position = "above", color = "#0099CC" } )
end
-- }}}
@ -476,12 +475,6 @@ globalkeys = awful.util.table.join(
awful.key({ altkey }, "Left", function () lain.util.tag_view_nonempty(-1) end),
awful.key({ altkey }, "Right", function () lain.util.tag_view_nonempty(1) end),
-- Dynamic tag renaming
awful.key({ altkey, "Shift" }, "r",
function ()
lain.util.prompt_rename_tag(mypromptbox)
end ),
-- Default client focus
awful.key({ altkey }, "k",
function ()
@ -528,6 +521,10 @@ globalkeys = awful.util.table.join(
mybottomwibox[mouse.screen].visible = not mybottomwibox[mouse.screen].visible
end),
-- On the fly useless gaps change
awful.key({ altkey, "Control" }, "+", function () lain.util.useless_gaps_resize(1) end),
awful.key({ altkey, "Control" }, "-", function () lain.util.useless_gaps_resize(-1) end),
-- Layout manipulation
awful.key({ modkey, "Shift" }, "j", function () awful.client.swap.byidx( 1) end),
awful.key({ modkey, "Shift" }, "k", function () awful.client.swap.byidx( -1) end),
@ -551,10 +548,6 @@ globalkeys = awful.util.table.join(
awful.key({ modkey, "Shift" }, "space", function () awful.layout.inc(layouts, -1) end),
awful.key({ modkey, "Control" }, "n", awful.client.restore),
-- On the fly useless gaps change
awful.key({ altkey, "Control" }, "+", function () lain.util.useless_gaps_resize(1) end),
awful.key({ altkey, "Control" }, "-", function () lain.util.useless_gaps_resize(-1) end),
-- Standard program
awful.key({ modkey, }, "Return", function () awful.util.spawn(terminal) end),
awful.key({ modkey, "Control" }, "r", awesome.restart),

View file

@ -409,12 +409,6 @@ globalkeys = awful.util.table.join(
awful.key({ altkey }, "Left", function () lain.util.tag_view_nonempty(-1) end),
awful.key({ altkey }, "Right", function () lain.util.tag_view_nonempty(1) end),
-- Dynamic tag renaming
awful.key({ altkey, "Shift" }, "r",
function ()
lain.util.prompt_rename_tag(mypromptbox)
end ),
-- Default client focus
awful.key({ altkey }, "k",
function ()

View file

@ -90,6 +90,7 @@ tags = {
names = { "1", "2", "3", "4", "5"},
layout = { layouts[1], layouts[2], layouts[3], layouts[1], layouts[4] }
}
for s = 1, screen.count() do
tags[s] = awful.tag(tags.names, s, tags.layout)
end
@ -399,12 +400,6 @@ globalkeys = awful.util.table.join(
awful.key({ altkey }, "Left", function () lain.util.tag_view_nonempty(-1) end),
awful.key({ altkey }, "Right", function () lain.util.tag_view_nonempty(1) end),
-- Dynamic tag renaming
awful.key({ altkey, "Shift" }, "r",
function ()
lain.util.prompt_rename_tag(mypromptbox)
end ),
-- Default client focus
awful.key({ altkey }, "k",
function ()

View file

@ -341,12 +341,6 @@ globalkeys = awful.util.table.join(
awful.key({ altkey }, "Left", function () lain.util.tag_view_nonempty(-1) end),
awful.key({ altkey }, "Right", function () lain.util.tag_view_nonempty(1) end),
-- Dynamic tag renaming
awful.key({ altkey, "Shift" }, "r",
function ()
lain.util.prompt_rename_tag(mypromptbox)
end ),
-- Default client focus
awful.key({ altkey }, "k",
function ()
@ -392,6 +386,10 @@ globalkeys = awful.util.table.join(
mywibox[mouse.screen].visible = not mywibox[mouse.screen].visible
end),
-- On the fly useless gaps change
awful.key({ altkey, "Control" }, "+", function () lain.util.useless_gaps_resize(1) end),
awful.key({ altkey, "Control" }, "-", function () lain.util.useless_gaps_resize(-1) end),
-- Layout manipulation
awful.key({ modkey, "Shift" }, "j", function () awful.client.swap.byidx( 1) end),
awful.key({ modkey, "Shift" }, "k", function () awful.client.swap.byidx( -1) end),
@ -415,10 +413,6 @@ globalkeys = awful.util.table.join(
awful.key({ modkey, "Shift" }, "space", function () awful.layout.inc(layouts, -1) end),
awful.key({ modkey, "Control" }, "n", awful.client.restore),
-- On the fly useless gaps change
awful.key({ altkey, "Control" }, "+", function () lain.util.useless_gaps_resize(1) end),
awful.key({ altkey, "Control" }, "-", function () lain.util.useless_gaps_resize(-1) end),
-- Standard program
awful.key({ modkey, }, "Return", function () awful.util.spawn(terminal) end),
awful.key({ modkey, "Control" }, "r", awesome.restart),

View file

@ -346,12 +346,6 @@ globalkeys = awful.util.table.join(
awful.key({ altkey }, "Left", function () lain.util.tag_view_nonempty(-1) end),
awful.key({ altkey }, "Right", function () lain.util.tag_view_nonempty(1) end),
-- Dynamic tag renaming
awful.key({ altkey, "Shift" }, "r",
function ()
lain.util.prompt_rename_tag(mypromptbox)
end ),
-- Default client focus
awful.key({ altkey }, "k",
function ()

View file

Before

Width:  |  Height:  |  Size: 188 B

After

Width:  |  Height:  |  Size: 188 B

View file

@ -33,9 +33,9 @@ theme.tasklist_floating = theme.ocol .. "[F]" .. theme.ccol
theme.tasklist_maximized_horizontal = theme.ocol .. "[M] " .. theme.ccol
theme.tasklist_maximized_vertical = ""
theme.tasklist_disable_icon = true
theme.awesome_icon = theme.dir .. "/icons/awesome_icon.png"
theme.menu_submenu_icon = theme.dir .. "/icons/submenu.png"
theme.menu_awesome_icon = theme.dir .."/icons/awesome.png"
theme.menu_submenu_icon = theme.dir .."/icons/submenu.png"
theme.taglist_squares_sel = theme.dir .. "/icons/square_sel.png"
theme.taglist_squares_unsel = theme.dir .. "/icons/square_unsel.png"
theme.vol_bg = theme.dir .. "/icons/vol_bg.png"