Re: [Sawfish] few theming questions |
[ Thread Index | Date Index | More lists.tuxfamily.org/sawfish Archives ]
Hi, On Wed, 16 Jan 2013 22:46:19 +0100 wrote fuchur <flohtransporter@xxxxxxxxx>: >Hi, > >On Wed, 16 Jan 2013 22:11:14 +0100 >wrote Zenlima <post@xxxxxxxxxx>: > >>Hi Fuchur, >> >>thanks for your suggestion - it looks exactly like what I need. >> >>> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; >>> (define corner-br >>> `((focused . ,(make-image "your-corner-if-window-have-focus.png")) >>> (highlighted . ,(make-image "your-corner-if-mouse-over-corner.png")) >>> (clicked . nil) >>> (inactive . nil) >>> (inactive-highlighted . nil) >>> (inactive-clicked . nil))) >>> >>> >>> >>> ((background . ,corner-br) >>> (bottom-edge . -5) >>> (right-edge . -5) >>> (class . bottom-right-corner)) >>> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; >> >> >>Also is there any kind of log info / debug info available to test the >>themes? The blind try and error without any feedback or the long-way >>workaround via force restart of sawfish takes the fun out of it. >> >>Thanks >>H. >> >> >> >> > >I test my code always in "sawfish-client". You can also try to "compile" >your code, but it doesn't work perfect for a theme.jl. By restart you >can also look in your ~/.xsession-errors for errors. This a my way but >I am not a developer! > > >>But when I copy (and of course adjust the file names) into my theme it >>does not work. When I force sawfish to restart with that team I only >>get a >> >> "Unbound variable: corner-br". >> >>What do I miss? > >Show your theme.jl or better all what you have until now. > > I forgot, take a look in theme.jl from Crux theme. It help me a lot by my first theme. -- Regards, Fuchur GPG Fingerprint: CA3B 8204 5B3E 6D48 6D53 C116 E5BC 70D5 B8D7 B2B0
Attachment:
signature.asc
Description: PGP signature
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |