extract_url: use systemd-run firefox
This commit is contained in:
parent
fece295f89
commit
35db01f1ed
@ -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 \; \
|
||||||
|
Loading…
Reference in New Issue
Block a user