mirror of
https://github.com/TECHNOFAB11/tmux2k.git
synced 2025-12-11 23:50:08 +01:00
Update tmux2k.sh
This commit is contained in:
parent
a5a75236bc
commit
0b9f21e5a9
1 changed files with 0 additions and 12 deletions
|
|
@ -8,7 +8,6 @@ source "$current_dir"/utils.sh
|
|||
show_powerline=$(get_tmux_option "@tmux2k-show-powerline" true)
|
||||
window_list_alignment=$(get_tmux_option "@tmux2k-window-list-alignment" 'absolute-centre')
|
||||
refresh_rate=$(get_tmux_option "@tmux2k-refresh-rate" 60)
|
||||
start_icon=$(get_tmux_option "@tmux2k-start-icon" "session")
|
||||
l_sep=$(get_tmux_option "@tmux2k-left-sep" )
|
||||
r_sep=$(get_tmux_option "@tmux2k-right-sep" )
|
||||
wl_sep=$(get_tmux_option "@tmux2k-window-left-sep" )
|
||||
|
|
@ -191,16 +190,6 @@ set_options() {
|
|||
tmux set-window-option -g window-status-current-style "bold"
|
||||
}
|
||||
|
||||
start_icon() {
|
||||
case $start_icon in
|
||||
session) start_icon=" #S" ;;
|
||||
window) start_icon=" #W" ;;
|
||||
esac
|
||||
|
||||
IFS=' ' read -r -a first_colors <<<"$(get_plugin_colors "current")"
|
||||
tmux set-option -g status-left "#[bg=${!first_colors[0]},fg=${!first_colors[1]}]#{?client_prefix,#[bg=${light_yellow},} ${start_icon} "
|
||||
}
|
||||
|
||||
status_bar() {
|
||||
side=$1
|
||||
if [ "$side" == "left" ]; then
|
||||
|
|
@ -275,7 +264,6 @@ window_list() {
|
|||
main() {
|
||||
set_theme
|
||||
set_options
|
||||
start_icon
|
||||
status_bar "left"
|
||||
window_list
|
||||
status_bar "right"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue