cspeterson / splatmoji

Quickly look up and input emoji and/or emoticons/kaomoji on your GNU/Linux desktop via pop-up menu.
MIT License
212 stars 19 forks source link

Quotes are not handled when reading Rofi command from configuration file #11

Closed HactarCE closed 5 years ago

HactarCE commented 5 years ago

My configuration file at ~/.config/splatmoji/splatmoji.config:

rofi_command=rofi -dmenu -p '' -i -font "Roboto Mono 14"

Expected behavior

Actual behavior

Furthermore, backslash escapes do not work. For example, Roboto\ Mono\ 14 is interpreted as three arguments: Roboto\, Mono\, and 14.

cspeterson commented 5 years ago

Thanks! You made me realize another odd problem along the way so we have two commits as a result of this issue: e34fb3a, 4a1b63c

cspeterson commented 5 years ago

And now I realize that I forget how rofi works first commit didn't fix anything, so putting it back: 858da86

your quote interpolation should be good though! 🙂

HactarCE commented 5 years ago

Thank you very much for the quick response and fix! :+1: