summaryrefslogtreecommitdiff
path: root/.local/bin/tmux-vlc
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2024-01-13 17:52:36 -0500
committerBenjamin Chausse <benjamin@chausse.xyz>2024-01-13 17:52:36 -0500
commitbf434758d9c60c323d571bc1e2e329edaad06fa3 (patch)
treec7cdaaba012b4560d49aaadc5e588c9563348214 /.local/bin/tmux-vlc
parenta0cab8cd1a13e665ee83efecf37fa8cf87bf2c46 (diff)
More debloating
Diffstat (limited to '.local/bin/tmux-vlc')
-rwxr-xr-x.local/bin/tmux-vlc17
1 files changed, 0 insertions, 17 deletions
diff --git a/.local/bin/tmux-vlc b/.local/bin/tmux-vlc
deleted file mode 100755
index a25c3e6..0000000
--- a/.local/bin/tmux-vlc
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/sh
-# This script ensures that i3 will spawn a youtube tui.
-session="Podcast"
-url=$1
-
-# 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" vlc -I ncurses "$url"
-fi
-
-# Attach to created session
-tmux attach-session -t $session
-