Bharadwaj Raju

Results 30 comments of Bharadwaj Raju

@tunnckoCore Strange, custom text works for me: ``` sh if [ -n "${BULLETTRAIN_PROMPT_CHAR+1}" ]; then BULLETTRAIN_PROMPT_CHAR="λ" fi ``` Just near the start.

@tunnckoCore Are you setting it in your `.zshrc`? I suppose you have to set it in `~/.oh-my-zsh/themes/bullet-train.zsh-theme`

@tunnckoCore Hmm. This seems to do it _outside_ the theme source: ``` bash source ~/.path/to/bullet-train.zsh-theme # do not use the 'plugins' or 'ZSH_THEME' of oh-my-zsh if [ -n "${BULLETTRAIN_PROMPT_CHAR+1}" ];...

> i stopped using ohz I've switched to prezto and get a fresh set of issues... time to change theme.

Yes @unluisco, try pasting it into the prompt (or anywhere, say `cat`) and see if it shows up.

> It would be nice if somebody with Windows can test if libdesktop works for them, I have no Windows where I can test that. Works on Windows, can confirm.

No, it works with 2 and 3. (NOTE: Python 2 support is very recently finished and uploaded, please update)

@dolohow Well, I sure missed that :) Anyway, if you don't like a library, here is the essence: https://gist.github.com/bharadwaj-raju/46ef4c76e4e72ae618f83a22bfde09bf Then you can add that file (wallpaper.py) and call `wallpaper.set()`.

@remggo Now, using the Gist above, you can paste the contents of said Gist into a file, import and call `set()`

Technically, the generated code to be tab-intended *is* the expected result. Still, so you want it to detect the indentation of the result?