Calebe94 / tinytools

Tiny scripts to improve your productivity.
GNU General Public License v3.0
6 stars 0 forks source link

[#68] Added xargs to remove space from values #101

Closed Calebe94 closed 3 years ago

Calebe94 commented 3 years ago

Added xargs to remove space from values

Exemple file:

default.engine:google
default.program:firefox
engine.google.query:menes
engine.youtube.query: https://www.youtube.com/results?search_query=TERM
engine.duckduckgo.query: https://www.duckduckgo.com/?q=TERM
engine.netflix.query: https://www.netflix.com/search?q=TERM
engine.stack_overflow.query: https://stackoverflow.com/search?q=TERM
engine.google_maps.query: https://www.google.com/maps/search/TERM
engine.translate.query: https://translate.google.com/?sl=auto&tl=$LANG&text=TERM
engine.reddit.query: https://www.reddit.com/search/?q=TERM
program.firefox.command:firefox
program.qutebrowser.command:qutebrowser
program.chrome.command:google-chrome-stable

The items with a space after : will now be displayed without space(trimmed).

tyaml params.yml -v engine.youtube.query

https://www.youtube.com/results?search_query=TERM