[Sawfish] Introducing sawfish.wm.prg.{trayer,xmobar} |
[ Thread Index | Date Index | More lists.tuxfamily.org/sawfish Archives ]
Hi all,
two new modules arrived in Sawfish:
sawfish.wm.prg.trayer sawfish.wm.prg.xmobar
Those two can handle a trayer/xmobar instance during a sawfish session. Initialization is pretty simple, in sawfishrc add:
(require 'sawfish.wm.prg.trayer) (require 'sawfish.wm.prg.xmobar) (add-hook 'after-initialization-hook start-trayer t) (add-hook 'after-initialization-hook start-xmobar t)
start-xmobar support #:config key that allows you to set the absoulate file-path to xmobar configuration-file, if you don't use $HOME/.xmobarrc.
start-trayer supports any command-line option of trayer as key. for example: #:widthtype #:height or #:setdocktype. Adjust to your liking. NOTE: boolean values must be passed as "true" or "false", eg: #:transparent "false", not #:transparent nil.
There's also (stop-trayer) (stop-xmobar).
Those two also check whether trayer or xmobar actually exist in $PATH and through a message at you, if they don't. (requires librep 0.92.3 from GIT for new 'program-exists-p' function).
comments, suggestions (eg: idea for another sawfish.wm.prg*), etc. welcome.
Regards, Chris
*maybe something like xsettingsd might be useful? though it doesn't seem to be updated for GTK3 settings (yet), though it's fully fine for GTK2. |
Attachment:
signature.asc
Description: This is a digitally signed message part.
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |