From a5a75236bc14615463ec6d7c9675bde30d6fb8ed Mon Sep 17 00:00:00 2001 From: Technofab <34860318+TECHNOFAB11@users.noreply.github.com> Date: Tue, 26 Nov 2024 17:56:16 +0100 Subject: [PATCH] Create current.sh --- scripts/current.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 scripts/current.sh diff --git a/scripts/current.sh b/scripts/current.sh new file mode 100644 index 0000000..eaf220f --- /dev/null +++ b/scripts/current.sh @@ -0,0 +1,14 @@ +#!/usr/bin/env bash + +start_icon=$(get_tmux_option "@tmux2k-start-icon" "session") + +main() { + case $start_icon in + session) start_icon=" #S" ;; + window) start_icon=" #W" ;; + esac + + echo "$start_icon" +} + +main