Search
Tuesday, 13th of November 2018, 12:36:22 UTC
16:10:19
codingquark
Boy do I love stumpwm. Realised it even more, for I had to use Unity today ;)
20:21:01
Demosthenex
right! i'm getting near to having my startup work. https://bpaste.net/show/aa28d73a8a88 but all the urxvt's and emacs launched in the very same frame on startup. can someone help me understand?
23:03:24
jmccabe
I am trying to create a volume menu for my stump config
23:03:53
jmccabe
I don't want the menu to quit when I select an option
23:04:40
jmccabe
I'm guessing I can undefine the RET key
23:07:55
scottj
jmccabe: been waiting for you to return. checkout pavol, it's a great extension that controls pulse volume via stumpwm
23:08:52
scottj
jmccabe: if you decide to build it yourself, I think someone mentioned define-interactive-keymap last time
23:09:11
jmccabe
OK I must have missed that
23:09:15
scottj
jmccabe: but iirc you sometimes leave too quickly after asking questions
23:09:32
scottj
jmccabe: it often takes hours to get an answer here
23:09:43
jmccabe
I threw together a menu but my lisp skills are not great :)
23:09:52
jmccabe
https://github.com/jamesmccabe/stumpwm-config/blob/master/vol-menu.lisp
23:10:35
jmccabe
So I'm using Stumpwm 18.05
23:10:47
jmccabe
So was looking through the code
23:10:55
scottj
18.05 sounds like a ubuntu version
23:11:08
jmccabe
https://github.com/stumpwm/stumpwm/blob/18.05/menu.lisp#L133
23:11:26
jmccabe
Yeah seems to be the latest release on github
23:11:27
scottj
TIL stumpwm's new version numbers
23:13:02
jmccabe
defun menu-finish seems to throw a :menu-quit
23:13:20
jmccabe
Which I think causes my menu to close
23:28:51
scottj
jmccabe: the original appears to have been deleted, http://dpaste.com/2NZE4QZ
23:29:12
scottj
jmccabe: reminder to checkout define-interactive-keymap
23:31:41
jmccabe
Thanks scottj I see pavol now will have a look
23:33:19
jmccabe
I don't know how to write the function menu-finish and just get it to select an option
23:34:20
jmccabe
without calling the (throw :menu-quit (nth (menu-state-selected menu) (menu-state-table menu))))
23:34:54
jmccabe
I want to bind the RET key to that function
23:37:43
jmccabe
I should say I have binded the RET key to the defun menu-finish function
23:38:25
jmccabe
But when I remove the (throw :menu-quit it doesn't select the option for me
Wednesday, 14th of November 2018, 0:36:22 UTC