You are not logged in.

#1 2021-06-16 22:01:35

JameEnder
Member
Registered: 2021-06-16
Posts: 1

Openbox rc.xml execute escape character

I've been trying to execute this command in one of my rc.xml bindings

<command>
scrot 'Screenshot_%Y-%m-%d-%I-%M-%S_$wx$h.png' -s -e 'mv $f $$(xdg-user-dir PICTURES) ; xclip -sel c < $$(xdg-user-dir PICTURES)/$f'
</command>

And it keeps giving me a syntax error, because there is a < character that clashes with HTML, but escaping it with \ doesn't work either and I'm really confused

Last edited by JameEnder (2021-06-16 22:13:13)

Offline

#2 2021-06-16 22:22:00

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,645

Re: Openbox rc.xml execute escape character


How to post. A sincere effort to use modest and proper language and grammar is a sign of respect toward the community.

Offline

Board footer

Powered by FluxBB