[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [STUMP] Monitor long running tasks in Stumpwm
From: |
David Bjergaard |
Subject: |
Re: [STUMP] Monitor long running tasks in Stumpwm |
Date: |
Mon, 07 Apr 2014 16:47:41 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
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 <address@hidden> 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
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/stumpwm-devel