Re: [STUMP] Monitor long running tasks in Stumpwm

David Bjergaard <[email protected]>
Newsgroups gmane.comp.window-managers.stumpwm.devel
Message-ID <[email protected]>
Hi Stefan,

The "new" way of getting the word out is to write a module as a
quicklisp's quickproject package and then advertise a link to it.  Users
can then obtain their module however you distribute it, and load it
using (load-module "module-name") in their stumpwmrc. There are lots of
examples of modules that define new mode-line format strings in the
contrib repo: https://github.com/stumpwm/stumpwm-contrib 

I need to write up a tutorial for writing new modules.  The general
pattern is (quasi-pseudo code):
(ql:quickload "quickproject")
(quickproject:make-project "~/path/to/project") 
;; hack on files in project.lisp 

If the project lives in "/path/to/contrib/util/monitor" then you should
be able to (load-module "monitor") if not, you will have to add the
location of your module to the "load-path"

I've created a wiki page on the contrib repo that you can use to
advertise your module:
https://github.com/stumpwm/stumpwm-contrib/wiki/User-Contributed-Modules

Include in your docs instructions for setting up and using the module
(don't use other modules as examples, most of them don't ship with any
information, though there are exceptions).

Also, emailing the list is another great way to advertise new modules.  

Cheers,

    Dave

Stefan Reichör <[email protected]> writes:

> Hi there,
>
> I often have longer running tasks and I want to see their state. So I
> decided to put this state in the Stumpwm modeline.
>
> Attached is my result.
>
> The header of the script describes how to use it.
> It is a python script that calculates the modeline information string.
>
> The script can also be used to show a message in the modeline for a
> given number of seconds.
>
> I use this script for some days now and I really like it.
> I guess it will be useful for some other stumpwm users as well. Is there
> a contrib directory in the stumpwm git tree where this script could be stored?
>
> Stefan.
>
>
> _______________________________________________
> Stumpwm-devel mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/stumpwm-devel

_______________________________________________
Stumpwm-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/stumpwm-devel
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.