diff options
author | joe <rbo@gmx.us> | 2025-08-21 14:43:00 +0200 |
---|---|---|
committer | joe <rbo@gmx.us> | 2025-08-21 14:43:00 +0200 |
commit | 24da1c914719e0cdabbabb1ee299b6f963afa330 (patch) | |
tree | 4e7690e89d18e22f138a3f7982361f7c03ca51a6 /.local/bin/linkview | |
parent | up (diff) | |
download | dotfiles-bsd-24da1c914719e0cdabbabb1ee299b6f963afa330.tar.gz dotfiles-bsd-24da1c914719e0cdabbabb1ee299b6f963afa330.tar.bz2 dotfiles-bsd-24da1c914719e0cdabbabb1ee299b6f963afa330.tar.xz dotfiles-bsd-24da1c914719e0cdabbabb1ee299b6f963afa330.tar.zst dotfiles-bsd-24da1c914719e0cdabbabb1ee299b6f963afa330.zip |
up
Diffstat (limited to '')
-rwxr-xr-x | .local/bin/linkview | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.local/bin/linkview b/.local/bin/linkview index d1464e0..3b877c4 100755 --- a/.local/bin/linkview +++ b/.local/bin/linkview @@ -58,6 +58,7 @@ sub play my ($url, $article_name) = @_; my $pid; + $pid = fork(); if (not $pid) { setsid(); @@ -69,7 +70,7 @@ sub play 'playing media', ' playing <b>' . $article_name . '</b>' ); - if (system(MPV_PATH, $url) != 0) { + if (system(TERMINAL_PATH, "-e", "zsh", "-ic", MPV_PATH . " " . $url) != 0) { exec( NOTIFYSEND_PATH, '-u', 'critical', |