extract_url: use systemd-run firefox

This commit is contained in:
Motiejus Jakštys 2024-04-16 07:54:46 +03:00
parent fece295f89
commit 35db01f1ed

View File

@ -259,9 +259,7 @@ in {
programs.tmux.extraConfig = let programs.tmux.extraConfig = let
cmd = "${pkgs.extract_url}/bin/extract_url"; cmd = "${pkgs.extract_url}/bin/extract_url";
cfg = pkgs.writeText "urlviewrc" '' cfg = pkgs.writeText "urlviewrc" "COMMAND systemd-run --user --collect firefox %s";
COMMAND sh -c 'xdg-open %s >/dev/null 2>&1 & disown'
'';
in '' in ''
bind-key u capture-pane -J \; \ bind-key u capture-pane -J \; \
save-buffer /tmp/tmux-buffer \; \ save-buffer /tmp/tmux-buffer \; \