LemonBoy/bar

parsing uri's in clickable area

cellsheet opened this issue · 1 comments

so when I tried to make a clickable area for a url on xdg-open, I got file 'https' does not exist only to find out the command being returned was xdg-open https, truncating the actual url. Lemonbar seems to be parsing the ending : in %A{:command:}. I would modify the string to work, but xdg-open can only work with the http(s) uri preceding the actual link, as my error would then be xdg-open: file 'www.example.com' does not exist.

%{A:echo http\://goog.le:}You have to escape the :%{A}