Pass `-d' to tmux new-window to not make the window the current one - plumb - Open certain URL patterns with an ad-hoc opener (plumber)
(HTM) hg clone https://bitbucket.org/iamleot/plumb
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
(DIR) changeset ad656eb9ba46fee30e0bcf54069d703c2539f735
(DIR) parent 11218ce3c1ccb04073f3d954b4f610e14ac13ec4
(HTM) Author: Leonardo Taccari <iamleot@gmail.com>
Date: Sun, 28 Oct 2018 14:31:27
Pass `-d' to tmux new-window to not make the window the current one
Diffstat:
openers/media | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff -r 11218ce3c1cc -r ad656eb9ba46 openers/media
--- a/openers/media Sat Oct 20 14:59:39 2018 +0200
+++ b/openers/media Sun Oct 28 14:31:27 2018 +0100
@@ -2,6 +2,6 @@
for u in "$@"; do
if [ "${PLUMB_OPEN}" = "yes" ]; then
- tmux new-window "mpv \"$u\""
+ tmux new-window -d "mpv \"$u\""
fi
done