[xmonad] How to prefix workspace names with numbers?

Pablo Olmos de Aguilera C. pablo at glatelier.org
Wed Oct 10 19:27:18 CEST 2012

On 10 October 2012 02:50, Jacek Generowicz <jacek.generowicz at cern.ch> wrote:
> Pablo Olmos de Aguilera C. writes:
>> On 9 October 2012 04:18, Jacek Generowicz <jacek.generowicz at cern.ch> wrote:
>>> *Everything* I do, gets its own Dynamic workspace:
>>> + Letter to Aunt Mabel: open a new workspace;
>>> + fiddle with my XMonad config: new workspace;
>>> + Order a book/toaster/monitor: new workspace;
>>> + try to solve my dropped network connection problem: new workspace;
>>> + install some software: new workspace;
>>> + fix bug #7364: new workspace;
>>> + draw a new logo for the Worm Appreciation Society: new workspace;
>>> + the new course I am writing: its own workspace
>>> + topic I want to read up on and experiment with for the new course: new
>>>   workspace. In reality, many workspaces, because I will want to
>>>   investigate many different topics.
>> That's sounds great. I don't understand how (or where) in the screen
>> you can list all those workspaces without going crazy or memorizing
>> everything.
> My top notification bar contains workspace names (19 of them, just now)
> and the layout name. Nothing else. (Hmm, I could probably do without tha
> layout name.)
> This bar lists, from left to right
> + The currently active workspace, in white
> + The workspace visible on the other monitor, in grey
> + The rest, in most-to-least recently visited order, red for empty ones,
>   green otherwise

I haven't thought about the last point... sounds really interesting!

>> I tried to use DWS and every new workspace is added before
>> the first one (which seems a bit odd to me)
> Hint:
> myDzenPP = defaultPP
>   {
>   ....
>   , ppSort = getSortByMyRule
>   }
> Go to town!

Thanks for the tip :).

>> and after a while dzen was totally filled, so I couldn't keep track of
>> everything.
> Well, yes, as the number of workspaces grows, it does become more
> difficult to keep track of things. But it's much *more* difficult to
> keep track of all those things if you have to stuff them all on a mere 7
> workspaces with names like 'files' and 'various'.

Of course it's hard if you aren't in my mind O_o. I know perfectly
what's in each workspace.

>> you never turn off your computer do you?
> Hardware upgrades are always dark days.
> (OK, ok, I also have to reboot because of software updates every now and
> then.)
> But seriously, rebooting my computer feels like taking all my belongings
> out of my house and then putting them back into place. I can't fathom
> why anyone would want to do that voluntarily.

I don't have a workstation, only my laptop and a 24'' monitor. So I
have to turn off my computer every day.

>> Actually I use tmux + vim
> ... to do the job of XMonad, it would seem.

It's a good complement, It's very easy to have tmuxinator
configuration to open the pane configuration I want. Sadly, that's
impossible to do with xmonad.

>>> You can pry my DynamicWorkspaces from my cold dead fingers.
>> ... I was still laughing here. Thanks for your time, it was an AWESOME
>> email, you should post it somewhere else.
> Thanks for your kind words. They brightened up my morning.

Was that ironic?

>> I honestly have been working for a couple of months and I'm very
>> comfortable with the setup that I got right now :)
> Well, that's what matters. We all have different styles and habits. I'm
> sure that what works for me will be completely wrong for many others.

Yep, though some things you have written are good ideas that I'm
probably going to implement in the near future.

On 10 October 2012 03:57, Jacek Generowicz <jacek.generowicz at cern.ch> wrote:
> Pablo Olmos de Aguilera C. writes:
>> Please, can you upload your config file somewhere? It looks like a mess here =/.
> OK, ok, here it is:
>     http://pastebin.com/A53AfM1D   (30 day expiry)
> (It wasn't as much of a mess as I feared. Haven't ventured in there for
> a while)

Thank a lot, I'm sure it'll help me a lot! :D

>> PS.- I'm curious, which client are you using to have those "named" quotes?
> Short answer:
>    any decent editor that understands rectangles.
> Long answer:
>    You probably won't like this, as you admitted to belonging to the
>    Dark Side upthread.


>    There is something called Supercite which plugs
>    into any Emacs mail client and does these sorts of quotes. When I
>    tried it, it seemed more trouble that it was worth. On the occasions
>    that this quoting style seems useful, I just use Emacs' rectangle
>    operations.

Oh, thanks, though I'm still used to gmail web interface =(.

Pablo Olmos de Aguilera Corradini - @PaBLoX
Linux User: #456971 - http://counter.li.org/

More information about the xmonad mailing list