summaryrefslogtreecommitdiff
path: root/bin/scripts/tmux_mpv
diff options
context:
space:
mode:
authorA Farzat <a@farzat.xyz>2024-10-24 20:10:52 +0900
committerA Farzat <a@farzat.xyz>2024-11-04 20:10:52 +0900
commitcc5c235277d6227006238572f63a9d3e483d8a34 (patch)
treed8d8aec0a6053dfb6ed6c0790a5128e11f5cfe3c /bin/scripts/tmux_mpv
parentb9f5ffd0d3ad2f5744fc6ca3b497e3278aa78f35 (diff)
downloaddotfiles-cc5c235277d6227006238572f63a9d3e483d8a34.tar.gz
dotfiles-cc5c235277d6227006238572f63a9d3e483d8a34.zip
Add some more scripts
Diffstat (limited to 'bin/scripts/tmux_mpv')
-rwxr-xr-xbin/scripts/tmux_mpv6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/scripts/tmux_mpv b/bin/scripts/tmux_mpv
new file mode 100755
index 0000000..957cf42
--- /dev/null
+++ b/bin/scripts/tmux_mpv
@@ -0,0 +1,6 @@
+#!/usr/bin/env sh
+
+# Open links using mpv in a new tmux window.
+# Make sure the urls are printed as they are added.
+
+tmux neww -t mpv: mpv --volume=50 --script-opts=print_filenames=yes "$@"