Re: FVWM: toggling styles

From: Danny Dulai <nirva_at_ishiboo.com>
Date: 24 Feb 2000 04:59:57 -0000

On 02/23/00, Brad Giaccio said:
>On Wed, Feb 23, 2000 at 05:22:09AM -0000, Danny Dulai wrote:
>> any way to toggle a style?
>>
>> Right now I have a key bound to hide the window title, and a diff key bound
>> to showing it.
>>
>> Is there a way I can toggle it with one key?
>>
>> AddToFunc showtitle "I" Pick Style $n Title
>> AddToFunc hidetitle "I" Pick Style $n NoTitle
>>
>
>I haven't tried this but how about
>AddToFunc showtitle "I" Pick Style $n Title
>AddToFunc showtitle "I" Key a WSFT C hidetitle
>AddToFunc hidetitle "I" Pick Style $n NoTitle
>AddToFunc hidetitle "I" Key a WSFT C showtitle
>
>of course changign key_sym and modifier to whatever you want.

Ok, this works partially. It doesnt work if the key is set to
'hide' when the window you are trying toggling has the titles already
hidden, or set to 'show' and the window has its title shown.

Altho this is a clever trick, it doesnt solve the real problem, which is to
find out if Style is set. Thanks anyways!

-- 
___________________________________________________________________________
Danny Dulai                                           Feet. Pumice. Lotion.
http://www.ishiboo.com/~nirva/                            nirva_at_ishiboo.com
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Wed Feb 23 2000 - 23:00:08 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:50 BST