setting
This commit is contained in:
parent
33f8fb6eb6
commit
d9d2605253
1 changed files with 12 additions and 3 deletions
|
@ -77,14 +77,23 @@ main() {
|
||||||
user="$(get_tmux_option "@catppuccin_user" "off")"
|
user="$(get_tmux_option "@catppuccin_user" "off")"
|
||||||
readonly user
|
readonly user
|
||||||
|
|
||||||
|
local user_icon
|
||||||
|
user_icon="$(get_tmux_option "@catppuccin_user_icon", "")"
|
||||||
|
|
||||||
local host
|
local host
|
||||||
host="$(get_tmux_option "@catppuccin_host" "off")"
|
host="$(get_tmux_option "@catppuccin_host" "off")"
|
||||||
readonly host
|
readonly host
|
||||||
|
|
||||||
|
local host_icon
|
||||||
|
host_icon="$(get_tmux_option "@catppuccin_host_icon", "")"
|
||||||
|
|
||||||
local date_time
|
local date_time
|
||||||
date_time="$(get_tmux_option "@catppuccin_date_time" "off")"
|
date_time="$(get_tmux_option "@catppuccin_date_time" "off")"
|
||||||
readonly date_time
|
readonly date_time
|
||||||
|
|
||||||
|
local datetime_icon
|
||||||
|
datetime_icon="$(get_tmux_option "@catppuccin_datetime_icon", "")"
|
||||||
|
|
||||||
# These variables are the defaults so that the setw and set calls are easier to parse.
|
# These variables are the defaults so that the setw and set calls are easier to parse.
|
||||||
local show_directory
|
local show_directory
|
||||||
readonly show_directory="#[fg=$thm_pink,bg=$thm_bg,nobold,nounderscore,noitalics]$right_separator#[fg=$thm_bg,bg=$thm_pink,nobold,nounderscore,noitalics] #[fg=$thm_fg,bg=$thm_gray] #{b:pane_current_path} #{?client_prefix,#[fg=$thm_red]"
|
readonly show_directory="#[fg=$thm_pink,bg=$thm_bg,nobold,nounderscore,noitalics]$right_separator#[fg=$thm_bg,bg=$thm_pink,nobold,nounderscore,noitalics] #[fg=$thm_fg,bg=$thm_gray] #{b:pane_current_path} #{?client_prefix,#[fg=$thm_red]"
|
||||||
|
@ -108,13 +117,13 @@ main() {
|
||||||
readonly show_window_in_window_status_current="#[fg=$thm_fg,bg=$thm_gray] #W #[fg=$thm_bg,bg=$thm_orange] #I#[fg=$thm_orange,bg=$thm_bg]$left_separator#[fg=$thm_fg,bg=$thm_bg,nobold,nounderscore,noitalics] "
|
readonly show_window_in_window_status_current="#[fg=$thm_fg,bg=$thm_gray] #W #[fg=$thm_bg,bg=$thm_orange] #I#[fg=$thm_orange,bg=$thm_bg]$left_separator#[fg=$thm_fg,bg=$thm_bg,nobold,nounderscore,noitalics] "
|
||||||
|
|
||||||
local show_user
|
local show_user
|
||||||
readonly show_user="#[fg=$thm_blue,bg=$thm_gray]$right_separator#[fg=$thm_bg,bg=$thm_blue] #[fg=$thm_fg,bg=$thm_gray] #(whoami) "
|
readonly show_user="#[fg=$thm_blue,bg=$thm_gray]$right_separator#[fg=$thm_bg,bg=$thm_blue]${user_icon} #[fg=$thm_fg,bg=$thm_gray] #(whoami) "
|
||||||
|
|
||||||
local show_host
|
local show_host
|
||||||
readonly show_host="#[fg=$thm_blue,bg=$thm_gray]$right_separator#[fg=$thm_bg,bg=$thm_blue] #[fg=$thm_fg,bg=$thm_gray] #H "
|
readonly show_host="#[fg=$thm_blue,bg=$thm_gray]$right_separator#[fg=$thm_bg,bg=$thm_blue]${host_icon} #[fg=$thm_fg,bg=$thm_gray] #H "
|
||||||
|
|
||||||
local show_date_time
|
local show_date_time
|
||||||
readonly show_date_time="#[fg=$thm_blue,bg=$thm_gray]$right_separator#[fg=$thm_bg,bg=$thm_blue] #[fg=$thm_fg,bg=$thm_gray] $date_time "
|
readonly show_date_time="#[fg=$thm_blue,bg=$thm_gray]$right_separator#[fg=$thm_bg,bg=$thm_blue]${datetime_icon} #[fg=$thm_fg,bg=$thm_gray] $date_time "
|
||||||
|
|
||||||
# Right column 1 by default shows the Window name.
|
# Right column 1 by default shows the Window name.
|
||||||
local right_column1=$show_window
|
local right_column1=$show_window
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue