summaryrefslogtreecommitdiffstats
path: root/.local/bin
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-11-05 17:56:56 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-11-05 17:56:56 +0100
commit3082247d6b3df8cd533a492abc3aa1b34a77e09a (patch)
treeb407b3d9ab86533c60689fef2c65f5fa0ca377bf /.local/bin
parentAliases update (diff)
downloaddotfiles-bsd-3082247d6b3df8cd533a492abc3aa1b34a77e09a.tar.gz
dotfiles-bsd-3082247d6b3df8cd533a492abc3aa1b34a77e09a.tar.bz2
dotfiles-bsd-3082247d6b3df8cd533a492abc3aa1b34a77e09a.tar.xz
dotfiles-bsd-3082247d6b3df8cd533a492abc3aa1b34a77e09a.tar.zst
dotfiles-bsd-3082247d6b3df8cd533a492abc3aa1b34a77e09a.zip
linkview update
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;
}