[README] Improving 3rdparty themes



Hi all,

several of the 3rdparty themes aren't perfect, two issues with them can be solved easily - by YOU:

[I'm using mavosBOX as example]

I. It produces the following warning:

(call-after-property-changed 'WM_NAME ...) should probably be
(call-after-property-changed '(WM_NAME _NET_WM_NAME) ...);
use '(WM_NAME) if you really want only WM_NAME

then open the themes theme.jl and replace

  (call-after-property-changed
   'WM_NAME (lambda ()
      (rebuild-frames-with-style 'mavosBox))))

by

  (call-after-property-changed
   '(WM_NAME _NET_WM_NAME) (lambda ()
      (rebuild-frames-with-style 'mavosBox))))

II. When a lot of windows are open it becomes totally slow

this is caused by some themes reframing *all* open windows, not just those which actually need to be reframed

open the themes theme.jl and replace

  (call-after-property-changed
   '(WM_NAME _NET_WM_NAME) (lambda ()
      (rebuild-frames-with-style 'mavosBox))))

by

  (call-after-property-changed
   '(WM_NAME _NET_WM_NAME) (lambda (w prop state)
      (reframe-window w))))

That's it!

Once you've fixed the theme you're using, be sure to upload the new version to the wiki!

I'll do so now for mavosBOX

Happy Hacking,
Chris

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]