From cc5c235277d6227006238572f63a9d3e483d8a34 Mon Sep 17 00:00:00 2001 From: A Farzat Date: Thu, 24 Oct 2024 20:10:52 +0900 Subject: Add some more scripts --- bin/scripts/tmux_mpv | 6 ++++++ bin/scripts/zshrc | 6 ++++++ 2 files changed, 12 insertions(+) create mode 100755 bin/scripts/tmux_mpv create mode 100755 bin/scripts/zshrc 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 "$@" -- cgit v1.2.3-70-g09d2