You are not logged in.
http://piotr.doniec.eu/devlog/2011/11/t … awesomewm/
And for icon only without text,then
-- {{{ Tags
-- Define a tag table which hold all screen tags.
tags = {
names = {"α","β","γ","δ"},
layout = {layouts[1],layouts[2],layouts[4],layouts[1]},
icons = {"/home/shad0w/Downloads/icons/globe.png","/home/shad0w/Downloads/icons/balloon.png","/home/shad0w/Downloads/icons/mail-medium.png","/home/shad0w/Downloads/icons/music.png"}
}
for s = 1, screen.count() do
-- Each screen has its own tag table.
tags[s] = awful.tag(tags.names, s, tags.layout)
awful.tag.seticon(tags.icons[1],tags[s][1])
awful.tag.seticon(tags.icons[2],tags[s][2])
awful.tag.seticon(tags.icons[3],tags[s][3])
awful.tag.seticon(tags.icons[4],tags[s][4])
end
-- }}}
for a = 1, 4, 1 do
awful.tag.setproperty(tags[1][a], "icon_only", 1)
end
Last edited by ganastasiou (2012-04-11 20:35:20)
Offline
You can simplify your last two loops
for s = 1, screen.count() do
tags[s] = awful.tag(tags.names, s, tags.layout)
for i, t in ipairs(tags[s]) do
awful.tag.seticon(tags.icons[i], t)
awful.tag.setproperty(t, "icon_only", 1)
end
end
You need to install an RTFM interface.
Offline
@TheImmortalPhoenix: can u pls share ur menufix? really like your theme except the yellow
ontopic: new background
// btw:
iam searching a way to tag clients with numbers and select them via shortcuts like ctrl + x.
created this thread: https://bbs.archlinux.org/viewtopic.php?id=139462
Last edited by intrntbrn (2012-04-12 00:47:13)
Offline
I just added these two lines to theme.lua:
theme.menu_border_widht = "0"
theme.menu_bg_normal = "050505dd"
submenu:
http://pix.toile-libre.org/?img=1333988341.png
Last edited by TheImmortalPhoenix (2012-04-12 07:28:33)
Offline
Read here .
Thank you very much !
And in the config from that website,how can i set different layouts per tag ?
Last edited by spark666 (2012-04-12 12:31:44)
Offline
ganastasiou wrote:Read here .
Thank you very much !
And in the config from that website,how can i set different layouts per tag ?
Ex:
-- {{{ Tags
-- Define a tag table which will hold all screen tags.
tags = {
names = { "main", "www", "misc", "docs", "dev" },
layout = { layouts[4], layouts[4], layouts[1], layouts[1], layouts[4]
}}
for s = 1, screen.count() do
-- Each screen has its own tag table.
tags[s] = awful.tag(tags.names, s, tags.layout)
end
-- }}}
Offline
In this config everywhere i put the layouts its breaks awesome
-- {{{ Tags
-- Define a tag table which hold all screen tags.
tags = {}
for s = 1, screen.count() do
-- Each screen has its own tag table.
tags[s] = awful.tag({ "", "", "", "", "", "", "" }, s, layouts[1] )
awful.tag.seticon("/usr/share/awesome/themes/spark/tags/net.png", tags[s][1])
awful.tag.seticon("/usr/share/awesome/themes/spark/tags/term.png", tags[s][2])
awful.tag.seticon("/usr/share/awesome/themes/spark/tags/mail.png", tags[s][3])
awful.tag.seticon("/usr/share/awesome/themes/spark/tags/folder.png", tags[s][4])
awful.tag.seticon("/usr/share/awesome/themes/spark/tags/editor.png", tags[s][5])
awful.tag.seticon("/usr/share/awesome/themes/spark/tags/media.png", tags[s][6])
awful.tag.seticon("/usr/share/awesome/themes/spark/tags/bug.png", tags[s][7])
end
-- }}}
Offline
Blue version:
What a gorgeous desktop, I wish I had mine like that
Offline
Blue version:
I'd love to get a hold of that theme and icons please. Every time I tried I ended up with a fat bloated icon
Looks great by the way, very well done.
Offline
Offline
TheImmortalPhoenix wrote:Blue version:
I'd love to get a hold of that theme and icons please. Every time I tried I ended up with a fat bloated icon
Looks great by the way, very well done.
New wall:
Last edited by TheImmortalPhoenix (2012-04-13 07:01:52)
Offline
Blue version:
Fella, throw .ncmpcpp config please.
Regards,
Ivan
No cause is lost if there is but one fool left to fight for it.
Offline
TheImmortalPhoenix wrote:Blue version:
Fella, throw .ncmpcpp config please.
Regards,
Ivan
Offline
sevenfourk wrote:TheImmortalPhoenix wrote:Blue version:
Fella, throw .ncmpcpp config please.
Regards,
Ivan
Could I see your .Xdefaults? I love that font...
Offline
Offline
// edit because of bugs in the posted script.
Last edited by intrntbrn (2012-04-14 00:54:14)
Offline
doug piston wrote:TheImmortalPhoenix wrote:Blue version:
I'd love to get a hold of that theme and icons please. Every time I tried I ended up with a fat bloated icon
Looks great by the way, very well done.
Thank you.
Offline
just tested to add custom icons to clients in tasklist. works and looks great!
edited /usr/share/awesome/lib/awful/widget/tasklist.lua
example code: (either use the name or the class to add/overwrite icons)
local function widget_tasklist_label_common(c, args)
...
if (name == "ncmpcpp") then
icon = capi.image(icons .. "note.png")
return text, bg, nil, icon
end
if (c.class == "URxvt") then
icon = capi.image(icons .. "arch.png")
return text, bg, nil, icon
end
...
btw: thanks to TheImmortalPhoenix for all your nice screens and work!
Last edited by intrntbrn (2012-04-15 00:49:06)
Offline
@intrntbrn, woot, Bizkit :-)
No cause is lost if there is but one fool left to fight for it.
Offline
How did you make your popup menu transparent?
Offline
Uhm, is the awesome AUR-Package currently broken? cairo-xcb does not seem to be available.
Offline
Uhm, is the awesome AUR-Package currently broken? cairo-xcb does not seem to be available.
You can find it in community-testing because the new release of cairo (also in Testing right now) now uses the xcb-backend. There is no need anymore for cairo-xcb.
Offline
TheImmortalPhoenix wrote:How did you make your popup menu transparent?
when you set the color add "dd" to the end of the code...for example #000000dd, you can make combinations with numbers and letters to find you favourite transparency
Offline