|
| 1 | +#################################################################################################### |
| 2 | +# This is a bubble theme created by @embe221ed (https://github.com/embe221ed) |
| 3 | +# colors are inspired by catppuccin palettes (https://github.com/catppuccin/catppuccin) |
| 4 | +#################################################################################################### |
| 5 | + |
| 6 | +# COLORS |
| 7 | + |
| 8 | +# background for frappe catppuccin terminal theme |
| 9 | +# thm_bg="#303446" |
| 10 | + |
| 11 | +# background for macchiato catppuccin terminal theme |
| 12 | +thm_bg="#24273A" |
| 13 | + |
| 14 | +thm_fg="#c6d0f5" |
| 15 | +thm_cyan="#99d1db" |
| 16 | +thm_black="#292c3c" |
| 17 | +thm_gray="#414559" |
| 18 | +thm_magenta="#ca9ee6" |
| 19 | +thm_pink="#f4b8e4" |
| 20 | +thm_blue="#8caaee" |
| 21 | +thm_black4="#626880" |
| 22 | +rosewater="#f2d5cf" |
| 23 | +flamingo="#eebebe" |
| 24 | +pink="#f4b8e4" |
| 25 | +mauve="#ca9ee6" |
| 26 | +red="#e78284" |
| 27 | +maroon="#ea999c" |
| 28 | +peach="#ef9f76" |
| 29 | +yellow="#e5c890" |
| 30 | +green="#a6d189" |
| 31 | +teal="#81c8be" |
| 32 | +sky="#99d1db" |
| 33 | +sapphire="#85c1dc" |
| 34 | +blue="#8caaee" |
| 35 | +lavender="#babbf1" |
| 36 | +text="#c6d0f5" |
| 37 | +subtext1="#b5bfe2" |
| 38 | +subtext0="#a5adce" |
| 39 | +overlay2="#949cbb" |
| 40 | +overlay1="#838ba7" |
| 41 | +overlay0="#737994" |
| 42 | +surface2="#626880" |
| 43 | +surface1="#51576d" |
| 44 | +surface0="#414559" |
| 45 | +base="#303446" |
| 46 | +mantle="#292c3c" |
| 47 | +crust="#232634" |
| 48 | +eggplant="#e889d2" |
| 49 | +sky_blue="#a7c7e7" |
| 50 | +spotify_green="#1db954" |
| 51 | +spotify_black="#191414" |
| 52 | + |
| 53 | + |
| 54 | +TMUX_POWERLINE_SEPARATOR_LEFT_BOLD="" |
| 55 | +TMUX_POWERLINE_SEPARATOR_LEFT_THIN="" |
| 56 | +TMUX_POWERLINE_SEPARATOR_RIGHT_BOLD="" |
| 57 | +TMUX_POWERLINE_SEPARATOR_RIGHT_THIN="" |
| 58 | +TMUX_POWERLINE_SEPARATOR_THIN="|" |
| 59 | + |
| 60 | +TMUX_POWERLINE_DEFAULT_BACKGROUND_COLOR=${TMUX_POWERLINE_DEFAULT_BACKGROUND_COLOR:-$thm_bg} |
| 61 | +TMUX_POWERLINE_DEFAULT_FOREGROUND_COLOR=${TMUX_POWERLINE_DEFAULT_FOREGROUND_COLOR:-$thm_fg} |
| 62 | + |
| 63 | +TMUX_POWERLINE_DEFAULT_LEFTSIDE_SEPARATOR=${TMUX_POWERLINE_DEFAULT_LEFTSIDE_SEPARATOR:-$TMUX_POWERLINE_SEPARATOR_RIGHT_BOLD} |
| 64 | +TMUX_POWERLINE_DEFAULT_RIGHTSIDE_SEPARATOR=${TMUX_POWERLINE_DEFAULT_RIGHTSIDE_SEPARATOR:-$TMUX_POWERLINE_SEPARATOR_LEFT_BOLD} |
| 65 | + |
| 66 | +# See man tmux.conf for additional formatting options for the status line. |
| 67 | +# The `format regular` and `format inverse` functions are provided as conveinences |
| 68 | + |
| 69 | +if [ -z $TMUX_POWERLINE_WINDOW_STATUS_CURRENT ]; then |
| 70 | + TMUX_POWERLINE_WINDOW_STATUS_CURRENT=( |
| 71 | + "#[$(format regular)]" \ |
| 72 | + "$TMUX_POWERLINE_DEFAULT_RIGHTSIDE_SEPARATOR" \ |
| 73 | + "#[$(format inverse)]" \ |
| 74 | + " #I#F " \ |
| 75 | + "$TMUX_POWERLINE_SEPARATOR_THIN" \ |
| 76 | + " #W " \ |
| 77 | + "#[$(format regular)]" \ |
| 78 | + "$TMUX_POWERLINE_DEFAULT_LEFTSIDE_SEPARATOR" |
| 79 | + ) |
| 80 | +fi |
| 81 | + |
| 82 | +if [ -z $TMUX_POWERLINE_WINDOW_STATUS_STYLE ]; then |
| 83 | + TMUX_POWERLINE_WINDOW_STATUS_STYLE=( |
| 84 | + "$(format regular)" |
| 85 | + ) |
| 86 | +fi |
| 87 | + |
| 88 | +if [ -z $TMUX_POWERLINE_WINDOW_STATUS_FORMAT ]; then |
| 89 | + TMUX_POWERLINE_WINDOW_STATUS_FORMAT=( |
| 90 | + "#[$(format regular)]" \ |
| 91 | + " #I#{?window_flags,#F, } " \ |
| 92 | + "$TMUX_POWERLINE_SEPARATOR_THIN" \ |
| 93 | + " #W " |
| 94 | + ) |
| 95 | +fi |
| 96 | + |
| 97 | +# Format: segment_name background_color foreground_color [non_default_separator] [separator_background_color] [separator_foreground_color] [spacing_disable] [separator_disable] |
| 98 | +# |
| 99 | +# * background_color and foreground_color. Formats: |
| 100 | +# * Named colors (chech man page of tmux for complete list) e.g. black, red, green, yellow, blue, magenta, cyan, white |
| 101 | +# * a hexadecimal RGB string e.g. #ffffff |
| 102 | +# * 'default' for the defalt tmux color. |
| 103 | +# * non_default_separator - specify an alternative character for this segment's separator |
| 104 | +# * separator_background_color - specify a unique background color for the separator |
| 105 | +# * separator_foreground_color - specify a unique foreground color for the separator |
| 106 | +# * spacing_disable - remove space on left, right or both sides of the segment: |
| 107 | +# * "left_disable" - disable space on the left |
| 108 | +# * "right_disable" - disable space on the right |
| 109 | +# * "both_disable" - disable spaces on both sides |
| 110 | +# * - any other character/string produces no change to default behavior (eg "none", "X", etc.) |
| 111 | +# |
| 112 | +# * separator_disable - disables drawing a separator on this segment, very useful for segments |
| 113 | +# with dynamic background colours (eg tmux_mem_cpu_load): |
| 114 | +# * "separator_disable" - disables the separator |
| 115 | +# * - any other character/string produces no change to default behavior |
| 116 | +# |
| 117 | +# Example segment with separator disabled and right space character disabled: |
| 118 | +# "hostname 33 0 {TMUX_POWERLINE_SEPARATOR_RIGHT_BOLD} 33 0 right_disable separator_disable" |
| 119 | +# |
| 120 | +# Note that although redundant the non_default_separator, separator_background_color and |
| 121 | +# separator_foreground_color options must still be specified so that appropriate index |
| 122 | +# of options to support the spacing_disable and separator_disable features can be used |
| 123 | + |
| 124 | +if [ -z $TMUX_POWERLINE_LEFT_STATUS_SEGMENTS ]; then |
| 125 | + TMUX_POWERLINE_LEFT_STATUS_SEGMENTS=( |
| 126 | + "tmux_session_info $blue $thm_bg" \ |
| 127 | + "hostname $eggplant $thm_bg" \ |
| 128 | + # "ifstat 30 255" \ |
| 129 | + #"ifstat_sys 30 255" \ |
| 130 | + "lan_ip $sky_blue $thm_bg ${TMUX_POWERLINE_SEPARATOR_RIGHT_THIN}" \ |
| 131 | + "wan_ip $sky_blue $thm_bg" \ |
| 132 | + "vcs_branch $thm_gray" \ |
| 133 | + # "vcs_compare 60 255" \ |
| 134 | + #"vcs_staged 64 255" \ |
| 135 | + #"vcs_modified 9 255" \ |
| 136 | + #"vcs_others 245 0" \ |
| 137 | + ) |
| 138 | +fi |
| 139 | + |
| 140 | +if [ -z $TMUX_POWERLINE_RIGHT_STATUS_SEGMENTS ]; then |
| 141 | + TMUX_POWERLINE_RIGHT_STATUS_SEGMENTS=( |
| 142 | + # "earthquake 3 0" \ |
| 143 | + "pwd $mauve $surface0" \ |
| 144 | + #"macos_notification_count 29 255" \ |
| 145 | + #"mailcount 9 255" \ |
| 146 | + "now_playing $spotify_green $spotify_black" \ |
| 147 | + # "cpu 240 136" \ |
| 148 | + # "load 237 167" \ |
| 149 | + # "tmux_mem_cpu_load 234 136" \ |
| 150 | + "battery $blue $thm_bg" \ |
| 151 | + # "weather 37 255" \ |
| 152 | + #"rainbarf 0 ${TMUX_POWERLINE_DEFAULT_FOREGROUND_COLOR}" \ |
| 153 | + #"xkb_layout 125 117" \ |
| 154 | + "date_day $teal $thm_bg" \ |
| 155 | + "date $teal $thm_bg ${TMUX_POWERLINE_SEPARATOR_LEFT_THIN}" \ |
| 156 | + "time $teal $thm_bg ${TMUX_POWERLINE_SEPARATOR_LEFT_THIN}" \ |
| 157 | + #"utc_time 235 136 ${TMUX_POWERLINE_SEPARATOR_LEFT_THIN}" \ |
| 158 | + ) |
| 159 | +fi |
0 commit comments