freenode/#stumpwm - IRC Chatlog
Search
15:13:42
codesections
@Achylles I guess? I was looking for something I could put in my .stumpwmrc file and my understanding is that it is scripted directly in lisp, right? (though with the ability to access stumpwm commands too)
15:23:38
Achylles
there are lots of things for you to put in your .stumpwmrc --> many ready to use modules --> https://github.com/stumpwm/stumpwm-contrib
15:25:52
codesections
And I'm getting set up with run-or-raise functions with a custom set of mappings
15:26:23
codesections
But I was trying to see if there is a good way to detect the currently-created groups
17:04:16
scottj
codesections: (defun group-by-name (name) (find-if #'(lambda (group) (equal (group-number group) name)) (all-groups)))
17:13:42
scottj
(defun group-by-name (name) (find-if #'(lambda (group) (equal (group-name group) name)) (stumpwm::all-groups))) maybe
17:13:55
codesections
(Or, rather, when I enter it in `eval`, I get the `group-by-name` function defined, and then when I try to use it I get the above error.
17:14:27
scottj
codesections: do you use emacs? if so, setting up slime might make development easier.
17:16:05
codesections
I don't, actually. I am trying out stumpwm somewhat with the thought of moving to emacs if I get the hang of this
17:21:44
scottj
oh, my bad, both group-by-number and all-groups were in my personal helpers.lisp and I thought they were part of stumpwm
17:22:21
scottj
(defun all-groups () (loop for screen in *screen-list* appending (screen-groups screen)))