Re: Some issues is Sawfish

Vladimir Kravets <[email protected]>
Newsgroups gmane.comp.window-managers.sawfish
Message-ID <CADvgFT1OWgc-6PhvDh6hO4fudOj8E-wf4WvRVPx+4qN-jAdOhA@mail.gmail.com>
2013/3/7 dmg <[email protected]>

>
> What I can help with:
>
> > 3. I canot find how I can in my ~/.sawfishrc define some properties for
> > specific window match.
> > I use now the gui to add WindowRule but some of cases I need to specify
> it
> > in .sawfishrc to have more logic except only chnaging the properties of
> > window.
>
> maybe this will help. in this case the matcher is for the class. It
> makes the window sticky.
>
> (add-window-matcher '((WM_CLASS . "^class/instance$"))
>   '((sticky . t)
>     (sticky-viewport . t)))
>
>
Yes it's helps, but you didn't mentioned that I need to import needed
namespace. I mean wrote (require 'match-window) before using
add-window-matcher. In any case thanks a lot.


> > 4. How I can add hook to change workspace and e.g show notify using
> > libnotify or exec notify-send?
> >
>
> add a hook to enter-workspace-hook
>
> see
>
> http://demonastery.org/2010/10/sawfish-and-emacs-org-mode/
>
> it might help.
>
> you can use (system "command") to execute a command
>
>
Thanks, I will look at it definitely.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.