mirror of
https://github.com/TECHNOFAB11/tmux2k.git
synced 2025-12-11 23:50:08 +01:00
Update current.sh
This commit is contained in:
parent
1b70d09086
commit
1dfa877f18
1 changed files with 7 additions and 3 deletions
|
|
@ -1,14 +1,18 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
current_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
source "$current_dir"/utils.sh
|
||||
|
||||
start_icon=$(get_tmux_option "@tmux2k-start-icon" "session")
|
||||
|
||||
main() {
|
||||
current=""
|
||||
case $start_icon in
|
||||
session) start_icon=" #S" ;;
|
||||
window) start_icon=" #W" ;;
|
||||
session) current=" #S" ;;
|
||||
window) current=" #W" ;;
|
||||
esac
|
||||
|
||||
echo "$start_icon"
|
||||
echo "$current"
|
||||
}
|
||||
|
||||
main
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue