Running the sample commands (e.g. rofi -show calc -modi calc -no-show-match -no-sort -no-bold) on the command-line works fine for me, but I was wondering if we can also use these flags in config.rasi.
For instance, the rofi-power-menu plugin allows for the following:
As a workaround you can just add the commands to the command-line of rofi and it should work, for example:
rofi -show drun -calc-command "echo -n '{result}' | wl-copy"
Thanks a lot for this very useful plugin.
Running the sample commands (e.g.
rofi -show calc -modi calc -no-show-match -no-sort -no-bold
) on the command-line works fine for me, but I was wondering if we can also use these flags inconfig.rasi
.For instance, the rofi-power-menu plugin allows for the following:
That plugin is just a Bash script though. Trying something similar for
rofi-calc
(e.g."calc -terse"
) returns the errorMode calc -terse is not found
.