summaryrefslogtreecommitdiff
path: root/bin
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
parentb9f5ffd0d3ad2f5744fc6ca3b497e3278aa78f35 (diff)
downloaddotfiles-cc5c235277d6227006238572f63a9d3e483d8a34.tar.gz
dotfiles-cc5c235277d6227006238572f63a9d3e483d8a34.zip
Add some more scripts
Diffstat (limited to 'bin')
-rwxr-xr-xbin/scripts/tmux_mpv6
-rwxr-xr-xbin/scripts/zshrc6
2 files changed, 12 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 "$@"
diff --git a/bin/scripts/zshrc b/bin/scripts/zshrc
new file mode 100755
index 0000000..826a0a2
--- /dev/null
+++ b/bin/scripts/zshrc
@@ -0,0 +1,6 @@
+#!/usr/bin/env zsh
+
+# Loads zshrc before running whatever commands were supplied to it.
+
+. "$ZDOTDIR/.zshrc"
+exec "$@"