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

new icons; isospaced everything

This commit is contained in:
luke bonham 2013-04-25 02:24:31 +02:00
parent 6638871d6c
commit fb0cd9e405
15 changed files with 27 additions and 18 deletions

View file

@ -41,7 +41,7 @@ Gallery
**Blackburn** the wannabe definitive configuration, born from the best of previous ones **Blackburn** the wannabe definitive configuration, born from the best of previous ones
.. image:: http://dotshare.it/public/images/uploads/540.png .. image:: http://dotshare.it/public/images/uploads/553.png
Notes Notes
-------- --------

View file

@ -161,7 +161,7 @@ mylauncher = awful.widget.launcher({ menu = mymainmenu })
-- Wibox -- Wibox
-- ColourS -- Colours
coldef = "</span>" coldef = "</span>"
white = "<span color='#d7d7d7'>" white = "<span color='#d7d7d7'>"
gray = "<span color='#9e9c9a'>" gray = "<span color='#9e9c9a'>"
@ -375,9 +375,13 @@ function(widget, args)
replaces_id = old_id replaces_id = old_id
}).id }).id
end end
return gray .. args["{Artist}"] .. coldef .. white .. " " .. args["{Title}"] .. coldef if yawn.icon == yawn.sky_na then return gray .. args["{Artist}"] .. coldef .. white .. " " .. args["{Title}"] .. coldef
else return gray .. args["{Artist}"] .. coldef .. white .. " " .. args["{Title}"] .. "<span font='Tamsyn 4'> </span>" .. coldef
end
elseif (args["{state}"] == "Pause") then elseif (args["{state}"] == "Pause") then
return gray .. "mpd " .. coldef .. white .. "in pausa" .. coldef if yawn.icon == yawn.sky_na then return gray .. "mpd " .. coldef .. white .. "in pausa" .. coldef
else return gray .. "mpd " .. coldef .. white .. "in pausa<span font='Tamsyn 4'> </span>" .. coldef
end
else else
curr_track = nil curr_track = nil
return '' return ''
@ -511,6 +515,7 @@ function (widget, args)
end, 1, "Master") end, 1, "Master")
-- Net checker widget -- Net checker widget
--[[
no_net_shown = true no_net_shown = true
netwidget = wibox.widget.textbox() netwidget = wibox.widget.textbox()
vicious.register(netwidget, vicious.widgets.net, vicious.register(netwidget, vicious.widgets.net,
@ -532,15 +537,18 @@ function (widget, args)
end end
end, 10) end, 10)
netwidget:buttons(awful.util.table.join(awful.button({ }, 1, function () awful.util.spawn_with_shell(wifi) end))) netwidget:buttons(awful.util.table.join(awful.button({ }, 1, function () awful.util.spawn_with_shell(wifi) end)))
]]
-- Weather widget -- Weather widget
yawn.register(123456) -- https//github.com/copycat-killer/yawn yawn.register(123456) -- https//github.com/copycat-killer/yawn
-- Separators -- Separators
spr = wibox.widget.textbox(' ') spr = wibox.widget.textbox(' ')
leftbr = wibox.widget.textbox(white .. ' [' .. coldef) first = wibox.widget.textbox('<span font="Tamsyn 4"> </span>')
rightbr = wibox.widget.textbox(white .. '] ' .. coldef) arrl_pre = wibox.widget.imagebox()
arrl_pre:set_image(beautiful.arrl_lr_pre)
arrl_post = wibox.widget.imagebox()
arrl_post:set_image(beautiful.arrl_lr_post)
-- Layout -- Layout
@ -614,26 +622,26 @@ for s = 1, screen.count() do
-- Widgets that are aligned to the upper left -- Widgets that are aligned to the upper left
local left_layout = wibox.layout.fixed.horizontal() local left_layout = wibox.layout.fixed.horizontal()
left_layout:add(spr) left_layout:add(first)
left_layout:add(mytaglist[s]) left_layout:add(mytaglist[s])
left_layout:add(leftbr) left_layout:add(arrl_pre)
left_layout:add(mylayoutbox[s]) left_layout:add(mylayoutbox[s])
left_layout:add(rightbr) left_layout:add(arrl_post)
left_layout:add(mypromptbox[s]) left_layout:add(mypromptbox[s])
left_layout:add(first)
-- Widgets that are aligned to the upper right -- Widgets that are aligned to the upper right
local right_layout = wibox.layout.fixed.horizontal() local right_layout = wibox.layout.fixed.horizontal()
if s == 1 then right_layout:add(wibox.widget.systray()) end if s == 1 then right_layout:add(wibox.widget.systray()) end
right_layout:add(spr) right_layout:add(first)
right_layout:add(mpdwidget) right_layout:add(mpdwidget)
right_layout:add(spr)
right_layout:add(mygmail) right_layout:add(mygmail)
right_layout:add(spr) right_layout:add(spr)
right_layout:add(yawn.icon) right_layout:add(yawn.icon)
right_layout:add(yawn.widget) right_layout:add(yawn.widget)
right_layout:add(fshwidget) right_layout:add(fshwidget)
right_layout:add(batwidget) right_layout:add(batwidget)
right_layout:add(netwidget) --right_layout:add(netwidget)
right_layout:add(spr) right_layout:add(spr)
right_layout:add(volumewidget) right_layout:add(volumewidget)
right_layout:add(spr) right_layout:add(spr)
@ -867,7 +875,7 @@ awful.rules.rules = {
}, },
{ rule = { class = "URxvt" }, { rule = { class = "URxvt" },
properties = {opacity = 0.95} }, properties = { opacity = 0.95 } },
{ rule = { class = "MPlayer" }, { rule = { class = "MPlayer" },
properties = { floating = true } }, properties = { floating = true } },
@ -885,9 +893,8 @@ awful.rules.rules = {
properties = { tag = tags[1][4], properties = { tag = tags[1][4],
floating = true } }, floating = true } },
{ rule = { class = "Gimp" }, { rule = { class = "Gimp" },
properties = { tag = tags[1][4], properties = { tag = tags[1][4] } },
floating = false } },
{ rule = { class = "Gimp", role = "gimp-image-window" }, { rule = { class = "Gimp", role = "gimp-image-window" },
properties = { maximized_horizontal = true, properties = { maximized_horizontal = true,

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 MiB

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 187 B

After

Width:  |  Height:  |  Size: 180 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 171 B

After

Width:  |  Height:  |  Size: 175 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 190 B

After

Width:  |  Height:  |  Size: 178 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 186 B

After

Width:  |  Height:  |  Size: 175 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 186 B

After

Width:  |  Height:  |  Size: 176 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 198 B

After

Width:  |  Height:  |  Size: 205 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 181 B

After

Width:  |  Height:  |  Size: 174 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 173 B

After

Width:  |  Height:  |  Size: 170 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 175 B

After

Width:  |  Height:  |  Size: 170 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 174 B

After

Width:  |  Height:  |  Size: 165 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 175 B

After

Width:  |  Height:  |  Size: 170 B

View file

@ -29,7 +29,7 @@ theme.border_focus = "#404040"
theme.titlebar_bg_focus = "#FFFFFF" theme.titlebar_bg_focus = "#FFFFFF"
theme.titlebar_bg_normal = "#FFFFFF" theme.titlebar_bg_normal = "#FFFFFF"
theme.taglist_fg_focus = "#F6784F" theme.taglist_fg_focus = "#F6784F"
theme.taglist_bg_focus = themes_bg_focus theme.taglist_bg_focus = themes_bg_normal
theme.tasklist_fg_focus = "#F6784F" theme.tasklist_fg_focus = "#F6784F"
theme.tasklist_bg_focus = themes_bg_normal theme.tasklist_bg_focus = themes_bg_normal
theme.textbox_widget_margin_top = 1 theme.textbox_widget_margin_top = 1
@ -42,6 +42,8 @@ theme.menu_width = "140"
theme.menu_submenu_icon = themes_dir .. "/icons/submenu.png" theme.menu_submenu_icon = themes_dir .. "/icons/submenu.png"
theme.taglist_squares_sel = themes_dir .. "/icons/square_sel.png" theme.taglist_squares_sel = themes_dir .. "/icons/square_sel.png"
theme.taglist_squares_unsel = themes_dir .. "/icons/square_unsel.png" theme.taglist_squares_unsel = themes_dir .. "/icons/square_unsel.png"
theme.arrl_lr_pre = themes_dir .. "/icons/arrl_lr_pre.png"
theme.arrl_lr_post = themes_dir .. "/icons/arrl_lr_post.png"
theme.layout_tile = themes_dir .. "/icons/tile.png" theme.layout_tile = themes_dir .. "/icons/tile.png"
theme.layout_tileleft = themes_dir .. "/icons/tileleft.png" theme.layout_tileleft = themes_dir .. "/icons/tileleft.png"