summaryrefslogtreecommitdiffstats
path: root/.local/bin/linkview
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-x.local/bin/linkview9
1 files changed, 4 insertions, 5 deletions
diff --git a/.local/bin/linkview b/.local/bin/linkview
index 53ad829..f70a198 100755
--- a/.local/bin/linkview
+++ b/.local/bin/linkview
@@ -119,11 +119,10 @@ sub open_link
);
}
elsif ($a == 8) {
- exec(
- FIREFOX_PATH,
- '--kiosk',
- $url
- );
+ $pid = fork();
+ if (not $pid) {
+ exec(FIREFOX_PATH . ' --kiosk ' . $url . ' >/dev/null 2>&1');
+ }
}
return;
}