diff options
Diffstat (limited to 'osurl')
-rwxr-xr-x | osurl | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -89,4 +89,9 @@ if out_url == in_url:lower() then end -- print("out_url = " .. out_url) -os.execute("xdg-open " .. out_url) +local open_util = "xdg_open " +if os.execute('type flatpak-xdg-open >/dev/null 2>/dev/null') then + open_util = "flatpak-xdg-open " +end + +os.execute(open_util .. out_url) |