From: Samir Benmendil Date: Sun, 7 Apr 2024 00:37:03 +0000 (+0100) Subject: wezterm: open urls with rifle X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/359b703f3175b042a04328e30d9729fa1df6bd06?ds=inline wezterm: open urls with rifle This allows urls to be opened with mpv and default to new windowns depending on rifle config. --- diff --git a/wezterm/wezterm.lua b/wezterm/wezterm.lua index ba4fc68..579775f 100644 --- a/wezterm/wezterm.lua +++ b/wezterm/wezterm.lua @@ -29,7 +29,7 @@ config.keys = { action = wezterm.action_callback(function (win, pane) local url = win:get_selection_text_for_pane(pane) wezterm.log_info('opening: ' .. url) - wezterm.open_with(url) + wezterm.open_with(url, "rifle") end), }, },