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
1 changed files with 1 additions and 3 deletions

View File

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