You are not logged in.

#176 2010-10-22 23:50:41

Yes
Member
Registered: 2008-03-29
Posts: 163

Re: Share your Awesome(WM) desktop!

Oh, I tried nameofwidget.widget and it worked.  Why don't I have to do that for the rest of my widgets?

Offline

#177 2010-10-23 08:06:08

JokerBoy
Member
From: România
Registered: 2009-09-24
Posts: 641
Website

Re: Share your Awesome(WM) desktop!

Offline

#178 2010-10-24 05:39:11

Yes
Member
Registered: 2008-03-29
Posts: 163

Re: Share your Awesome(WM) desktop!

That explains that, thanks.

Has anyone been able to set a rule in awful.rules.rules based on the name of a program?  There's an example like that in the FAQ page of the Awesome Wiki, but I haven't been able to get it working.  Here's the rule:

{ rule = { name = "NPR Media Player - Namoroka" },
      properties = { floating = "true" } }

The name is what xprop says WM_NAME is for that window.  All that happens is the window simply doesn't float.

Offline

#179 2010-10-24 11:06:17

JokerBoy
Member
From: România
Registered: 2009-09-24
Posts: 641
Website

Re: Share your Awesome(WM) desktop!

try echo "WM_CLASS(STRING) = \"NAME\", \"CLASS\"" && xprop | grep "WM_WINDOW_ROLE\|WM_CLASS"


{ rule = { class = "Namoroka" },
      properties = { floating = "true" } }

seems like firefox sucks in awesome without tiling.

http://ompldr.org/vNXdzMg the white area is firefox from the background.

Offline

#180 2010-10-24 17:50:42

anrxc
Member
From: Croatia
Registered: 2008-03-22
Posts: 833
Website

Re: Share your Awesome(WM) desktop!

Yes wrote:

The name is what xprop says WM_NAME is for that window.  All that happens is the window simply doesn't float.

That does work. But you have to watch a few things. First Lua magic characters (http://www.lua.org/pil/20.2.html), escape them with %.
Watch the order of rules. You can't have name floating rule before a class tiling rule if they share a class, it will be caught by the second rule.
You can also use regular expressions, i.e. "NPR Media.*"


You need to install an RTFM interface.

Offline

#181 2010-10-24 18:30:23

Yes
Member
Registered: 2008-03-29
Posts: 163

Re: Share your Awesome(WM) desktop!

Thanks JokerBoy, but I really need just one specific popup window to float, not all of Firefox - hence why I'm trying to use the name property instead of class, because the class would be the same for both the pop window and the rest of Firefox.

anrxc, so I can't use the string "NPR Media Player - Namoroka"?  I tried using "NPR Media.*", but that didn't work either.  It's the last rule listed too, so unless the the tag it's on being set to "tiling" counts then it shouldn't be conflicting with any other rule.

Offline

#182 2010-10-24 22:42:43

dunz0r
Member
From: Sweden, Enköping
Registered: 2009-03-30
Posts: 258
Website

Re: Share your Awesome(WM) desktop!

In case you're interested, I just put up some of my old screenies.

http://hax0r.se/files/img/screenshots


RTFM or GTFO
git | hax0r.se | last.fm | Aur Packages

Offline

#183 2010-11-02 23:29:03

iRmonkD
Member
From: 206, WA
Registered: 2010-11-02
Posts: 31

Re: Share your Awesome(WM) desktop!

Thought I would share since I finally have it worked out

dirty

tNjB3OQ

clean

tNjB3OA

Mostly borrowed from other's configs themes and modified to suit me.

Last edited by iRmonkD (2010-11-02 23:56:15)

Offline

#184 2010-11-02 23:42:44

JokerBoy
Member
From: România
Registered: 2009-09-24
Posts: 641
Website

Re: Share your Awesome(WM) desktop!

this is an "awesome" girl? smile)

Offline

#185 2010-11-02 23:54:03

iRmonkD
Member
From: 206, WA
Registered: 2010-11-02
Posts: 31

Re: Share your Awesome(WM) desktop!

Hah, sorry typed the links wrong smile

Offline

#186 2010-11-05 23:38:40

bunburya
Member
From: Dublin, Ireland
Registered: 2010-09-06
Posts: 64

Re: Share your Awesome(WM) desktop!

Hey, is there anyway to get the tags list to display on the far right side of the wibox? I'd like my tags to show up in the top-right corner of my screen but awful.widget.layout.horizontal.rightleft does not seem to work on the tag list. Seeing everyone else with the tags on the left hands side here makes me think it may not be possible. Anyone know anything about this? Cheers!

Offline

#187 2010-11-06 05:35:29

anrxc
Member
From: Croatia
Registered: 2008-03-22
Posts: 833
Website

Re: Share your Awesome(WM) desktop!

It's possible but you don't want to do this. If you read the description of rightleft more closely you will see it reverses the order of widgets. Since your taglist is composed of serveral widgets (each tag) their order would be reversed, meaning your taglist would be in reverse!

http://awesome.naquadah.org/wiki/Awesom … ailable.3F


You need to install an RTFM interface.

Offline

#188 2010-11-08 11:02:56

bunburya
Member
From: Dublin, Ireland
Registered: 2010-09-06
Posts: 64

Re: Share your Awesome(WM) desktop!

I see, thanks! Just working on my config now, will post screenshots when it's finished! Nothing special though.

Offline

#189 2010-11-08 16:04:34

emory
Member
From: ~
Registered: 2010-10-09
Posts: 17

Re: Share your Awesome(WM) desktop!

Is there a way to implement xmonad's GridSelect in Awesome?

http://xmonad.org/xmonad-docs/xmonad-co … elect.html

Offline

#190 2010-11-08 16:40:13

barzam
Member
From: Sweden
Registered: 2009-01-27
Posts: 277

Re: Share your Awesome(WM) desktop!

Is this what you're looking for perhaps?
http://awesome.naquadah.org/wiki/Revelation

Offline

#191 2010-11-08 17:40:49

emory
Member
From: ~
Registered: 2010-10-09
Posts: 17

Re: Share your Awesome(WM) desktop!

Not really.  Revelation gathers all windows (like a "Select All Tags"), and GridSelect spawns color-coded labels for open windows and lets you easily scan titles for what you want and then zoom to that tag/workspace.

I don't really want to start using xmonad but it's kind of a killer feature.

Last edited by emory (2010-11-08 17:41:18)

Offline

#192 2010-11-09 00:45:00

dunz0r
Member
From: Sweden, Enköping
Registered: 2009-03-30
Posts: 258
Website

Re: Share your Awesome(WM) desktop!

I don't think that it would be that hard to get that feature in to awesome... all it should require is some extra hacking with Revelation.


RTFM or GTFO
git | hax0r.se | last.fm | Aur Packages

Offline

#193 2010-11-09 03:16:09

emory
Member
From: ~
Registered: 2010-10-09
Posts: 17

Re: Share your Awesome(WM) desktop!

How do you figure? 

Revelation displays all viewable clients by selecting all tags.

I don't see what Revelation has to do with anything regarding a smart, ordered, color-coded display of the names of the currently active clients. 

I'm not saying you're wrong, I'm just not sure that it's a trivial as I think you're implying!  If it was easy, I'd do it myself wink


http://awesome.naquadah.org/wiki/Revelation

Offline

#194 2010-11-09 03:34:39

Yes
Member
Registered: 2008-03-29
Posts: 163

Re: Share your Awesome(WM) desktop!

Where does xmonad display the list?

Offline

#195 2010-11-09 05:45:06

emory
Member
From: ~
Registered: 2010-10-09
Posts: 17

Re: Share your Awesome(WM) desktop!

If you scroll to the bottom of http://xmonad.org/xmonad-docs/xmonad-co … elect.html there are two screengrabs that illustrate this.

It displays as an overlay or list/menu might.

Edit: I think it just spawns centered on he currently active display.

Last edited by emory (2010-11-09 05:47:05)

Offline

#196 2010-11-09 16:44:17

Yes
Member
Registered: 2008-03-29
Posts: 163

Re: Share your Awesome(WM) desktop!

So the second picture, the currently open clients are displayed, color coded for each tag?  Or is each column a different tag, and they're color coded by kind of client (eg brown is terminal)?

Offline

#197 2010-11-09 17:25:39

emory
Member
From: ~
Registered: 2010-10-09
Posts: 17

Re: Share your Awesome(WM) desktop!

Yes wrote:

So the second picture, the currently open clients are displayed, color coded for each tag?  Or is each column a different tag, and they're color coded by kind of client (eg brown is terminal)?

That second picture illustrates the result from hitting a hotkey to view the clients by name and it does appear to be colorizing based on Window Class.

You can apparently have different colorizers for different invocations, but in that example all rxvt's are 'brown' and all the windows associated with GIMP are that dark 'turquoise' color.  You can then highlight/select the widget representing the window you want using nethack/vi keys (hjkl) and then hit Enter to focus on that one and it will port you to the workspace that has that window.

I'm not familiar with Xmonad so anyone that actually uses it feel free to step in -- their darcs repository was offline for three days and apparently nobody noticed.  Not exactly confidence inspiring since the configuration files for GridSelect I've been able to find are written for the development branch and not release.

Last edited by emory (2010-11-09 17:26:01)

Offline

#198 2010-11-09 17:46:17

Yes
Member
Registered: 2008-03-29
Posts: 163

Re: Share your Awesome(WM) desktop!

I imagine it's possible to implement in Awesome  - it looks like there are already built in functions for creating images and rectangles, so it'd just be a matter of grabbing the relevant info (open clients, tags, whatever) and putting them into boxes.  I'll take a stab at it this weekend after midterms hmm.

Last edited by Yes (2010-11-09 17:47:19)

Offline

#199 2010-11-09 19:53:30

dunz0r
Member
From: Sweden, Enköping
Registered: 2009-03-30
Posts: 258
Website

Re: Share your Awesome(WM) desktop!

Yes wrote:

I imagine it's possible to implement in Awesome  - it looks like there are already built in functions for creating images and rectangles, so it'd just be a matter of grabbing the relevant info (open clients, tags, whatever) and putting them into boxes.  I'll take a stab at it this weekend after midterms hmm.

That's what I figured too. The only thing that needs to be done is get a list of all clients/tags, and then create a function which makes it into a perty picture.


RTFM or GTFO
git | hax0r.se | last.fm | Aur Packages

Offline

#200 2010-11-09 23:34:33

emory
Member
From: ~
Registered: 2010-10-09
Posts: 17

Re: Share your Awesome(WM) desktop!

That'd be sweet, Yes!

(Yes!)

Offline

Board footer

Powered by FluxBB