|
From: | Dimitri Minaev |
Subject: | Re: [STUMP] Dim inactive monitor in dual head configuration |
Date: | Fri, 3 Jun 2016 09:28:43 +0400 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 |
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.
[Prev in Thread] | Current Thread | [Next in Thread] |