Re: [STUMP] Dim inactive monitor in dual head configuration
Dimitri Minaev <[email protected]>
| Newsgroups | gmane.comp.window-managers.stumpwm.devel |
|---|---|
| Message-ID | <[email protected]> |
On 06/02/2016 10:59 PM, Joram Schrijver wrote: >> The function uses cl-utilities:split-sequence, hence ql:quickload call >> in the beginning. Is there an alternative that doesn't have any >> dependencies? > > The alternative provided by StumpWM is right above it in your code: > `SPLIT-STRING`. By default it splits on a number of different whitespace > characters, but you can tell it what to split on. `(split-string i " > ")`. Oops... I should've checked the function definition. I thought it only splits on newline. > There is also the problem that there is absolutely no guarantee that > xrandr and StumpWM will list heads in the same order. In fact, for me, > it's the other way around right now. But Stumpwm gets the list of head from `xdpyinfo -ext XINERAMA', right? I could replace `xrandr' with the `xdpyinfo', too.