mirror of
https://github.com/sameer1612/.dotfiles.git
synced 2024-11-19 18:01:53 +02:00
13 lines
246 B
Bash
Executable File
13 lines
246 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Get the current status of the Tmux status bar
|
|
status=$(tmux show-option -g status | awk '{print $NF}')
|
|
|
|
# Toggle the status
|
|
if [ "$status" == "on" ]; then
|
|
tmux set-option -g status off
|
|
else
|
|
tmux set-option -g status on
|
|
fi
|
|
|