Skip to content

shortcut - search string not being replaced #1367

Answered by friday
bshmng asked this question in Q&A
Discussion options

You must be logged in to vote

In Ulauncher v5 %s is only supported for links, not scripts (Uluncher v6 supports them for both):

For scrips you should use a shebang, and your script will run though that, and depending on what it is you would use different ways to access the argument. If you use bash $@ would work.

This should work for your use case:

#!/bin/bash
firefox -private-window https://www.google.com/search?q=$@

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by bshmng
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants