You are not logged in.

#1 2013-08-04 15:04:28

dragonn
Member
Registered: 2012-05-04
Posts: 65

Awesome-move to tag where window is spawned|launcher with text

Hi! I last time moved my desktop to awesome, it is really awesome. I have only two ideas/problem for now. This first qestion is - can I add a code with automatic moves me to tag where a new windows is opened? My first idea for this is some kind like this:

client.connect_signal("spawn::completed", function(c) 
--some kind of code with switches current viewed tag to the windows tag
end)

Second is, I have a menu based on awful.widget.launcher, but I wont to add a label to it, now I have only a icon on the bar, I want icon + my label, and the label should be click able too.

Offline

#2 2013-08-04 15:57:46

ilusi0n
Member
Registered: 2010-06-09
Posts: 187

Re: Awesome-move to tag where window is spawned|launcher with text

Wasn't the first problem be solved with a rule (switchtotag propriety)? http://awesome.naquadah.org/wiki/Unders … Properties
The second problem I didn't understand what are you trying to achieve

Offline

#3 2013-08-04 17:58:40

dragonn
Member
Registered: 2012-05-04
Posts: 65

Re: Awesome-move to tag where window is spawned|launcher with text

Didn't know about switchtotag = true, thanks this is good wink. About second, I want a menu button like in gnome 2/xfce:
http://stevehanov.ca/blog/xfce-menu.png
Do you see that text "Applications" next to the menu icon? I wont this too, just a textbox isn't enough because when I click on it it doesn't open the menu.

Offline

Board footer

Powered by FluxBB