Reputation: 1
I am trying to run the ls ~ / | rofi -show -dmenu in a shortcut but it doesn't work, if I run it in terminal it works fine
Upvotes: 0
Views: 473
Reputation: 11
I solved this problem by creating a .sh file with the command "ls ... etc rofi ..." and then in the shortcut command I ran sh /home/yourusername/path/file.sh
it worked for me.
be careful not to put ~ or $HOME
doesn't seem to work properly.
Upvotes: 0