stumpwm-devel
[Top][All Lists]
Advanced

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

[STUMP] Syntax query: run-or-raise all-groups


From: Johnny
Subject: [STUMP] Syntax query: run-or-raise all-groups
Date: Thu, 08 Dec 2011 18:38:20 +0000
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/23.2 (gnu/linux)

Hi,

I have the following code in my .stumpwmrc:

,----
| (define-key *root-map* (kbd "M-m") "alsamixer")
| (defcommand alsamixer () ()
|   "Start or switch to alsamixer."
|   (run-or-raise "exec xterm -name alsamixer -e alsamixer -c 0" '(:instance 
"alsamixer") :all-groups nil))
`----

However, it seems I am not setting the optional variable all-groups
properly, as it always searches through all groups to raise
alsamixer. What is the proper syntax here?

Thanks for any help!

-- 
Johnny



reply via email to

[Prev in Thread] Current Thread [Next in Thread]