Xmobar problems

Just installen NixOS and xmonad. Then installed xmobar. Everything worked well, but then I’ve updated it there was a problem running bash scripts.

Like

Could not execute command $commandPath

The solution is very easy. Because of the update of xmobar the syntax had changed. So there was like

Run Com "bash /home/jaga/myscripts/script.sh" [] "myName" 10¬

And it worked. But now you have to

Run Com "bash" ["/home/jaga/myscripts/script.sh"] "myName" 10

That’s all.

comments powered by Disqus