Re: [Sawfish] remove all window decorations on a window match

[ Thread Index | Date Index | More Archives ]

Thanks Per,

I had tried sawfish-config, and when I packaged it, doc-strings didn't get installed, so it wasn't working quite correctly. I've fixed my packaging now and was able to make a rule for Xephyr.

Stew Benedict
p 330-665-6588 | 375 Ghent Rd.
                              | Akron, Ohio 44333

From: Per Hedeland <per@xxxxxxxxxxxx>
Sent: Saturday, February 29, 2020 5:53 PM
To: sawfish@xxxxxxxxxxxxxxxxxxx <sawfish@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Sawfish] remove all window decorations on a window match
External Email: Please use caution.

On 2020-02-29 18:51, Benedict, Stew wrote:
> Seems like this should be easy in sawfish, and I see lots of references to using it for such, but I can't seem to get it to work.
> Our .sawfishrc does a lot of manipulations, removing the close button for certain apps, and disabling keys for some apps.
> In this case, for a match of Xephyr, I want to remove all window decorations.  Any hints?
> I thought (set-frame-for-window cw force 'unframed) might work, but it gves be 'Unbound variable'
> I'd rather do it with sawfish, than add devilspie2 to the mix.

So, you specifically want to do it "manually" in .sawfishrc? I have
successfully used the Configurator to create such rules via Customize
-> Window Rules, with Action set to frame-type=border-only (OK, a
*little* decoration) or frame-type=none (*no* decoration). This
generates stuff like this in .sawfish/custom (indentation mine) - I
don't know whether it can be copied to .sawfishrc, nor do I see much
point in doing so...

 (quote match-window-profile)
 (quote ((((WM_CLASS . "^XCpu/")) (frame-type . border-only))
         (((WM_NAME . "^xvnoframe")) (frame-type . border-only))
         (((WM_CLASS . "^xclock/")) (frame-type . none))))
 (quote match-window)
 (quote sawfish.wm.ext.match-window))

--Per Hedeland

Sawfish ML

The information contained in this e-mail message is privileged and/or confidential and is intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communications in error, please immediately notify us by telephone (330-668-5000), and destroy the original message. Thank you.

Mail converted by MHonArc 2.6.19+