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