mirror of
https://github.com/TECHNOFAB11/tmux2k.git
synced 2025-12-11 23:50:08 +01:00
Create current.sh
This commit is contained in:
parent
0d12194bce
commit
a5a75236bc
1 changed files with 14 additions and 0 deletions
14
scripts/current.sh
Normal file
14
scripts/current.sh
Normal file
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue