Another week, another release, runrunrun v0.3.0 is here. This release adds all the features I actually needed to start using this project myself on a daily basis.
What’s New
Fallback: The new -f/--fallback option (or RRR_FALLBACK=true) enables automatic fallback to previous matching rules when commands fail. This is useful when some commands aren’t found on the system:
https://* lynx
https://* chromium
https://* firefox
With fallback enabled, rrr -f https://example.com will try firefox first, then chromium, then lynx until one succeeds.
Alias redefinition: Redefining an alias now updates all rules using it, including previous ones:
[video] vlc
*.mkv [video]
*.mp4 [video]
# Now .mkv and .mp4 both use mplayer
[video] mplayer
*.avi [video]
Fix in desktop file support: Added support for more format specifiers (%f, %F, %u, %U) in desktop files (previously we only supported %U).
As always, feedback and contributions are welcome!
runrunrun is available at https://github.com/gawen947/runrunrun