Search
Saturday, 17th of October 2020, 11:39:07 UTC
12:47:48
Achylles
why my "stumptray toggle icons visibility" does not work?
12:49:14
Achylles
it says: The value NIL is not of type STUMPTRAY::TRAY :(
12:57:14
wleslie
does it work if you switch focus to the other screen?
13:18:45
wleslie
I've no idea then. I really should explore the contrib package, my config is super boring.
13:38:37
Achylles
wleslie, I think it is a bug there for many years now -> https://github.com/stumpwm/stumpwm-contrib/tree/master/modeline/stumptray
13:39:25
Achylles
wleslie, https://github.com/stumpwm/stumpwm-contrib/issues :(
13:40:07
Achylles
So, I cannot fix that bug by myself. I am not a lisper :(
13:40:35
Achylles
just found the bug out...
13:41:22
Achylles
wleslie, yes. Do so -> explore the contrib packages...
13:41:45
wleslie
there's nothing obvious to me in the source, but if I get time between my failing gcc builds in the morning I might be able to take a look
14:07:32
kurisu
Hi, i try to do something but i don't really know how to do it.
14:08:12
kurisu
I'm trying to print the output of a shell command
14:08:43
kurisu
like this : (defun mpc-title ()
14:08:43
kurisu
"print the title of current music played by mpd via mpc"
14:08:43
kurisu
(let ((title (run-shell-command "mpc -f [[%artist% -]%title%]|[%file%] | head -n 1")))
14:09:03
kurisu
(define-key *music-map* (kbd "t") "mpc-title")
14:10:08
kurisu
when i try to run it, i get #<PROCESS 4645 :RUNNING>
14:11:03
kurisu
if i add t in the run-shell-command, the message box is empty
20:37:40
PuercoPop
kurisu: is because run-shell-command doesn't return the output of the command but the process itself it appears
20:38:53
PuercoPop
kurisu: you need to pass the collect-output-p flag
20:39:14
PuercoPop
ej. (run-shell-command "mpc ..." t)
21:24:00
kurisu
PuercoPop: yes, but like i said, if i add t to run-shell-command, the message bar doesn't print anything (but it's still there)
21:26:18
kurisu
i'll try to post a screeshot
21:36:51
kurisu
https://imgur.com/a/9IuKXwd
21:38:36
kurisu
the current function : https://0x0.st/iDcD.txt
21:59:10
PuercoPop
Can you press prefix C-m to after running the command to see if you see the message then?
21:59:35
PuercoPop
(prefix is C-t by default)
22:00:35
PuercoPop
There appears to be a bug with message. If I eval (message "hello") I get nil
22:06:52
kurisu
i still see the message bar empty
22:08:05
kurisu
So (message "hello") is not supposed to retun Nil ? I thought this was a weird behavior
Saturday, 17th of October 2020, 23:39:07 UTC