summaryrefslogtreecommitdiff
path: root/.local/bin/tmux-mpsyt
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/tmux-mpsyt')
-rwxr-xr-x.local/bin/tmux-mpsyt16
1 files changed, 0 insertions, 16 deletions
diff --git a/.local/bin/tmux-mpsyt b/.local/bin/tmux-mpsyt
deleted file mode 100755
index b929d52..0000000
--- a/.local/bin/tmux-mpsyt
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh
-# This script ensures that i3 will spawn a youtube tui.
-session="mps-YouTube"
-
-# Check if the session exists, discarding output
-# We can check $? for the exit status (zero for success, non-zero for failure)
-tmux has-session -t $session 2>/dev/null
-
-if [ $? != 0 ]; then
- # Set up your session
- tmux new-session -d -s "$session" mpsyt
-fi
-
-# Attach to created session
-tmux attach-session -t $session
-