Re: Keeping xlock on top in cwm

2021-03-18 Thread tetrahedra

On Thu, Mar 18, 2021 at 06:53:31AM +0100, Robert Klein wrote:

Thanks, but I like having xconsole... is there any way to make it
obey the gap?



I start xconsole in Xsetup_0 as follows

xconsole -geometry 480x130-0-26 \
   -daemon \
   -notify \
   -verbose \
   -exitOnFail

The gap in my case is the 26.  -26 means 26 pixel from the bottom.


Thanks! Set the gap to be equal to my .cwmrc gap, and xclock is now 
nicely visible all the time. No more being late ever again :)




Re: Keeping xlock on top in cwm

2021-03-18 Thread Robert Klein
On Wed, 17 Mar 2021 18:19:06 +
tetrahe...@danwin1210.me wrote:

> On Tue, Mar 16, 2021 at 04:53:32PM -0400, Dave Voutila wrote:
> >> I worked out how to set a "gap" so that maximized windows won't
> >> obscure the xclock line at the bottom. That helped. Unfortunately,
> >> it's not enough. By default `xconsole` is sized and positioned so,
> >> if brought forward, `xconsole` obscures `xclock`. That invariably
> >> happens if cycling through windows...  
> >
> >You can change or remove xconsole from starting by modifying
> >/etc/X11/xenodm/Xsetup_0  
> 
> Thanks, but I like having xconsole... is there any way to make it
> obey the gap?
> 

I start xconsole in Xsetup_0 as follows

xconsole -geometry 480x130-0-26 \
-daemon \
-notify \
-verbose \
-exitOnFail

The gap in my case is the 26.  -26 means 26 pixel from the bottom.

Corresponding gap is 24 as I also define the borderwidth for Xmessage
as 2 in /etc/X11/xenodm/Xresources:

Xmessage.Form.Command.borderWidth: 2

Best regards
Robert



Re: Keeping xlock on top in cwm

2021-03-17 Thread tetrahedra

On Tue, Mar 16, 2021 at 04:53:32PM -0400, Dave Voutila wrote:

I worked out how to set a "gap" so that maximized windows won't
obscure the xclock line at the bottom. That helped. Unfortunately,
it's not enough. By default `xconsole` is sized and positioned so, if
brought forward, `xconsole` obscures `xclock`. That invariably happens
if cycling through windows...


You can change or remove xconsole from starting by modifying
/etc/X11/xenodm/Xsetup_0


Thanks, but I like having xconsole... is there any way to make it obey 
the gap?




Re: Keeping xlock on top in cwm

2021-03-16 Thread tetrahedra

On Tue, Mar 16, 2021 at 06:11:09PM +, tetrahe...@danwin1210.me wrote:
In cwm, is there a way to keep a particular 
window (in this case, xclock) "always on top"?


I don't see anything in the man page, but maybe I missed something:
https://man.openbsd.org/cwmrc


I worked out how to set a "gap" so that maximized windows won't obscure 
the xclock line at the bottom. That helped. Unfortunately, it's not 
enough. By default `xconsole` is sized and positioned so, if brought 
forward, `xconsole` obscures `xclock`. That invariably happens if 
cycling through windows...




Keeping xlock on top in cwm

2021-03-16 Thread tetrahedra
In cwm, is there a way to keep a particular window (in this case, 
xclock) "always on top"?


I don't see anything in the man page, but maybe I missed something:
https://man.openbsd.org/cwmrc



Re: Keeping xlock on top in cwm

2021-03-16 Thread Dave Voutila


tetrahe...@danwin1210.me writes:

> On Tue, Mar 16, 2021 at 06:11:09PM +, tetrahe...@danwin1210.me wrote:
>> In cwm, is there a way to keep a particular window (in this case,
>> xclock) "always on top"?
>>
>>I don't see anything in the man page, but maybe I missed something:
>>https://man.openbsd.org/cwmrc
>
> I worked out how to set a "gap" so that maximized windows won't
> obscure the xclock line at the bottom. That helped. Unfortunately,
> it's not enough. By default `xconsole` is sized and positioned so, if
> brought forward, `xconsole` obscures `xclock`. That invariably happens
> if cycling through windows...

You can change or remove xconsole from starting by modifying
/etc/X11/xenodm/Xsetup_0