minor changes

This commit is contained in:
luke bonham 2013-08-09 17:43:28 +02:00
parent 68f1fb3d4d
commit 6d6cd09779
9 changed files with 82 additions and 84 deletions

View File

@ -1,9 +1,9 @@
--[[ ]]-- --[[ ]]--
-- - -- -
-- Holo Awesome WM 3.5.+ config -- -- Holo Awesome WM 3.5.+ config --
-- github.com/copycat-killer -- -- github.com/copycat-killer --
-- - -- -
--[[ ]]-- --[[ ]]--
-- {{{ Required Libraries -- {{{ Required Libraries

View File

@ -1,9 +1,9 @@
--[[ ]]-- --[[ ]]--
-- - -- -
-- Multicolor Awesome WM 3.5.+ config -- -- Multicolor Awesome WM 3.5.+ config --
-- github.com/copycat-killer -- -- github.com/copycat-killer --
-- - -- -
--[[ ]]-- --[[ ]]--
-- {{{ Required Libraries -- {{{ Required Libraries

View File

@ -1,7 +1,7 @@
--[[ ]]-- --[[ ]]--
-- - -- -
-- Rainbow Awesome WM 3.5.+ config -- -- Rainbow Awesome WM 3.5.+ config --
-- github.com/copycat-killer -- -- github.com/copycat-killer --
-- - -- -
--[[ ]]-- --[[ ]]--
@ -103,7 +103,7 @@ layouts =
awful.layout.suit.fair, -- 3 awful.layout.suit.fair, -- 3
awful.layout.suit.tile.bottom, -- 4 awful.layout.suit.tile.bottom, -- 4
awful.layout.suit.fair.horizontal, -- 5 awful.layout.suit.fair.horizontal, -- 5
layouts.tilegaps, -- 6 layouts.tilegaps, -- 6
layouts.fairgaps, -- 7 layouts.fairgaps, -- 7
layouts.spiralgaps, -- 8 layouts.spiralgaps, -- 8
} }
@ -130,7 +130,7 @@ for s = 1, screen.count() do
tags[s] = awful.tag(tags.names, s, tags.layout) tags[s] = awful.tag(tags.names, s, tags.layout)
end end
-- }}} -- }}}
-- {{{ Menu -- {{{ Menu
@ -166,7 +166,7 @@ mymainmenu = awful.menu({ items = {
mylauncher = awful.widget.launcher({ menu = mymainmenu }) mylauncher = awful.widget.launcher({ menu = mymainmenu })
-- if you prefer freedesktop, uncomment the following line -- if you prefer freedesktop, uncomment the following line
require("freedesktop/freedesktop") --require("freedesktop/freedesktop")
-- }}} -- }}}
@ -213,17 +213,17 @@ function show_calendar(inc_offset, t_out)
local month = tonumber(os.date('%m')) local month = tonumber(os.date('%m'))
local year = tonumber(os.date('%Y')) local year = tonumber(os.date('%Y'))
offset = offset + inc_offset offset = offset + inc_offset
month = month + offset month = month + offset
if month > 12 then if month > 12 then
month = 12 month = 12
offset = 12 - tonumber(os.date('%m')) offset = 12 - tonumber(os.date('%m'))
elseif month < 1 then elseif month < 1 then
month = 1 month = 1
offset = 1 - tonumber(os.date('%m')) offset = 1 - tonumber(os.date('%m'))
end end
f = io.popen('/usr/bin/cal ' .. month .. ' ' .. year ,"r") f = io.popen('/usr/bin/cal ' .. month .. ' ' .. year ,"r")
c_text = "<tt><span font='Tamsyn 12'><b>" .. f:read() .. "</b>\n\n" .. f:read() .. "\n" .. f:read("*all") .. "</span></tt>" c_text = "<tt><span font='Tamsyn 12'><b>" .. f:read() .. "</b>\n\n" .. f:read() .. "\n" .. f:read("*all") .. "</span></tt>"
f:close() f:close()
@ -232,7 +232,7 @@ function show_calendar(inc_offset, t_out)
calendar = naughty.notify({ text = c_text, calendar = naughty.notify({ text = c_text,
fg = "#D4D4D4", fg = "#D4D4D4",
bg = "#242424", bg = "#242424",
timeout = t_out timeout = t_out
}) })
end end
@ -317,7 +317,7 @@ function(widget, args)
end end
return gray .. args["{Artist}"] .. coldef .. white .. " " .. args["{Title}"] .. " " .. coldef return gray .. args["{Artist}"] .. coldef .. white .. " " .. args["{Title}"] .. " " .. coldef
elseif args["{state}"] == "Pause" then elseif args["{state}"] == "Pause" then
-- 'in pausa' means 'paused' -- 'in pausa' means 'paused'
return gray .. "mpd " .. coldef .. white .. "in pausa " .. coldef return gray .. "mpd " .. coldef .. white .. "in pausa " .. coldef
else else
curr_track = nil curr_track = nil
@ -460,7 +460,7 @@ local alsawidget =
}, },
mixer = terminal .. " -e alsamixer", -- or whatever your preferred sound mixer is mixer = terminal .. " -e alsamixer", -- or whatever your preferred sound mixer is
notifications = notifications =
{ {
font = "Tamsyn 11", font = "Tamsyn 11",
bar_size = 18 bar_size = 18
} }
@ -504,7 +504,7 @@ alsawidget._muted = false
function alsawidget:notify () function alsawidget:notify ()
local preset = local preset =
{ {
-- title = "", text = "", title = "", text = "",
timeout = 3, timeout = 3,
height = 40, height = 40,
width = 170, width = 170,
@ -763,9 +763,7 @@ globalkeys = awful.util.table.join(
awful.key({ modkey, "Shift" }, "q", awesome.quit), awful.key({ modkey, "Shift" }, "q", awesome.quit),
awful.key({ modkey, }, "l", function () awful.tag.incmwfact( 0.05) end), awful.key({ modkey, }, "l", function () awful.tag.incmwfact( 0.05) end),
awful.key({ modkey, }, "h", function () awful.tag.incmwfact(-0.05) end), awful.key({ modkey, }, "h", function () awful.tag.incmwfact(-0.05) end),
awful.key({ modkey, "Shift" }, "h", function () awful.tag.incnmaster( 1) end), awful.key({ modkey, "Shift" }, "h", function () awful.tag.incnmaster( 1) end), awful.key({ modkey, "Shift" }, "l", function () awful.tag.incnmaster(-1) end), awful.key({ modkey, "Control" }, "h", function () awful.tag.incncol( 1) end),
awful.key({ modkey, "Shift" }, "l", function () awful.tag.incnmaster(-1) end),
awful.key({ modkey, "Control" }, "h", function () awful.tag.incncol( 1) end),
awful.key({ modkey, "Control" }, "l", function () awful.tag.incncol(-1) end), awful.key({ modkey, "Control" }, "l", function () awful.tag.incncol(-1) end),
awful.key({ modkey, }, "space", function () awful.layout.inc(layouts, 1) end), awful.key({ modkey, }, "space", function () awful.layout.inc(layouts, 1) end),
awful.key({ modkey, "Shift" }, "space", function () awful.layout.inc(layouts, -1) end), awful.key({ modkey, "Shift" }, "space", function () awful.layout.inc(layouts, -1) end),
@ -998,12 +996,12 @@ client.connect_signal("unfocus", function(c) c.border_color = beautiful.border_n
for s = 1, screen.count() do screen[s]:connect_signal("arrange", function () for s = 1, screen.count() do screen[s]:connect_signal("arrange", function ()
local clients = awful.client.visible(s) local clients = awful.client.visible(s)
local layout = awful.layout.getname(awful.layout.get(s)) local layout = awful.layout.getname(awful.layout.get(s))
if #clients > 0 then -- Fine grained borders and floaters control if #clients > 0 then -- Fine grained borders and floaters control
for _, c in pairs(clients) do -- Floaters always have borders for _, c in pairs(clients) do -- Floaters always have borders
if awful.client.floating.get(c) or layout == "floating" then if awful.client.floating.get(c) or layout == "floating" then
c.border_width = beautiful.border_width c.border_width = beautiful.border_width
-- No borders with only one visible client -- No borders with only one visible client
elseif #clients == 1 or layout == "max" then elseif #clients == 1 or layout == "max" then
clients[1].border_width = 0 clients[1].border_width = 0

View File

@ -1,16 +1,16 @@
--[[ ]]-- --[[ ]]--
-- - -- -
-- Blackburn Awesome WM 3.5.+ theme -- -- Blackburn Awesome WM 3.5.+ theme --
-- github.com/copycat-killer -- -- github.com/copycat-killer --
-- - -- -
--[[ ]]-- --[[ ]]--
theme = {} theme = {}
themes_dir = os.getenv("HOME") .. "/.config/awesome/themes/blackburn" theme.dir = os.getenv("HOME") .. "/.config/awesome/themes/blackburn"
theme.wallpaper = themes_dir .. "/wall.png" theme.wallpaper = theme.dir .. "/wall.png"
theme.topbar_path = "png:" .. themes_dir .. "/icons/topbar/" theme.topbar_path = "png:" .. theme.dir .. "/icons/topbar/"
theme.font = "Tamsyn 10" theme.font = "Tamsyn 10"
theme.taglist_font = "Icons 10" theme.taglist_font = "Icons 10"
@ -34,31 +34,31 @@ theme.awful_widget_margin_top = 2
theme.menu_height = "16" theme.menu_height = "16"
theme.menu_width = "140" theme.menu_width = "140"
theme.menu_submenu_icon = themes_dir .. "/icons/submenu.png" theme.menu_submenu_icon = theme.dir .. "/icons/submenu.png"
theme.taglist_squares_sel = themes_dir .. "/icons/square_sel.png" theme.taglist_squares_sel = theme.dir .. "/icons/square_sel.png"
theme.taglist_squares_unsel = themes_dir .. "/icons/square_unsel.png" theme.taglist_squares_unsel = theme.dir .. "/icons/square_unsel.png"
theme.arrl_lr_pre = themes_dir .. "/icons/arrl_lr_pre.png" theme.arrl_lr_pre = theme.dir .. "/icons/arrl_lr_pre.png"
theme.arrl_lr_post = themes_dir .. "/icons/arrl_lr_post.png" theme.arrl_lr_post = theme.dir .. "/icons/arrl_lr_post.png"
theme.layout_tile = themes_dir .. "/icons/tile.png" theme.layout_tile = theme.dir .. "/icons/tile.png"
theme.layout_tilegaps = themes_dir .. "/icons/tilegaps.png" theme.layout_tilegaps = theme.dir .. "/icons/tilegaps.png"
theme.layout_tileleft = themes_dir .. "/icons/tileleft.png" theme.layout_tileleft = theme.dir .. "/icons/tileleft.png"
theme.layout_tilebottom = themes_dir .. "/icons/tilebottom.png" theme.layout_tilebottom = theme.dir .. "/icons/tilebottom.png"
theme.layout_tiletop = themes_dir .. "/icons/tiletop.png" theme.layout_tiletop = theme.dir .. "/icons/tiletop.png"
theme.layout_fairv = themes_dir .. "/icons/fairv.png" theme.layout_fairv = theme.dir .. "/icons/fairv.png"
theme.layout_fairh = themes_dir .. "/icons/fairh.png" theme.layout_fairh = theme.dir .. "/icons/fairh.png"
theme.layout_spiral = themes_dir .. "/icons/spiral.png" theme.layout_spiral = theme.dir .. "/icons/spiral.png"
theme.layout_dwindle = themes_dir .. "/icons/dwindle.png" theme.layout_dwindle = theme.dir .. "/icons/dwindle.png"
theme.layout_max = themes_dir .. "/icons/max.png" theme.layout_max = theme.dir .. "/icons/max.png"
theme.layout_fullscreen = themes_dir .. "/icons/fullscreen.png" theme.layout_fullscreen = theme.dir .. "/icons/fullscreen.png"
theme.layout_magnifier = themes_dir .. "/icons/magnifier.png" theme.layout_magnifier = theme.dir .. "/icons/magnifier.png"
theme.layout_floating = themes_dir .. "/icons/floating.png" theme.layout_floating = theme.dir .. "/icons/floating.png"
theme.tasklist_floating = "" theme.tasklist_floating = ""
theme.tasklist_maximized_horizontal = "" theme.tasklist_maximized_horizontal = ""
theme.tasklist_maximized_vertical = "" theme.tasklist_maximized_vertical = ""
theme.widget_mail_notify = themes_dir .. "/icons/mail_notify.png" theme.widget_mail_notify = theme.dir .. "/icons/mail_notify.png"
theme.widget_no_net_notify = themes_dir .. "/icons/no_net_notify.png" theme.widget_no_net_notify = theme.dir .. "/icons/no_net_notify.png"
return theme return theme

View File

@ -1,9 +1,9 @@
--[[ j]]-- --[[ ]]--
-- - -- -
-- Holo Awesome WM 3.5.+ theme -- -- Holo Awesome WM 3.5.+ theme --
-- github.com/copycat-killer -- -- github.com/copycat-killer --
-- - -- -
--[[ ]]-- --[[ ]]--
theme = {} theme = {}

View File

@ -1,9 +1,9 @@
--[[ ]]-- --[[ ]]--
-- - -- -
-- Multicolor Awesome WM 3.5.+ config -- -- Multicolor Awesome WM 3.5.+ config --
-- github.com/copycat-killer -- -- github.com/copycat-killer --
-- - -- -
--[[ ]]-- --[[ ]]--
theme = {} theme = {}

View File

@ -1,9 +1,9 @@
--[[ ]]-- --[[ ]]--
-- - -- -
-- Powearrow Darker Awesome WM 3.5.+ theme -- -- Powearrow Darker Awesome WM 3.5.+ theme --
-- github.com/copycat-killer -- -- github.com/copycat-killer --
-- - -- -
--[[ ]]-- --[[ ]]--
theme = {} theme = {}

View File

@ -1,7 +1,7 @@
--[[ ]]-- --[[ ]]--
-- - -- -
-- Rainbow Awesome WM 3.5.+ theme -- -- Rainbow Awesome WM 3.5.+ theme --
-- github.com/copycat-killer -- -- github.com/copycat-killer --
-- - -- -
--[[ ]]-- --[[ ]]--

View File

@ -1,9 +1,9 @@
--[[ ]]-- --[[ ]]--
---- - -- -
---- Steamburn Awesome WM 3.5.+ theme -- -- Steamburn Awesome WM 3.5.+ theme --
---- github.com/copycat-killer -- -- github.com/copycat-killer --
---- - -- -
----[[ ]]-- --[[ ]]--
theme = {} theme = {}