aboutsummaryrefslogtreecommitdiff
path: root/themes/default.sh
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default.sh')
-rw-r--r--themes/default.sh62
1 files changed, 62 insertions, 0 deletions
diff --git a/themes/default.sh b/themes/default.sh
new file mode 100644
index 0000000..6ef5e55
--- /dev/null
+++ b/themes/default.sh
@@ -0,0 +1,62 @@
+# Default Theme
+
+#if patched_font_in_use; then
+ #TMUX_POWERLINE_SEPARATOR_LEFT_BOLD="⮂"
+ #TMUX_POWERLINE_SEPARATOR_LEFT_THIN="⮃"
+ #TMUX_POWERLINE_SEPARATOR_RIGHT_BOLD="⮀"
+ #TMUX_POWERLINE_SEPARATOR_RIGHT_THIN="⮁"
+#else
+ #TMUX_POWERLINE_SEPARATOR_LEFT_BOLD="◀"
+ #TMUX_POWERLINE_SEPARATOR_LEFT_THIN="❮"
+ #TMUX_POWERLINE_SEPARATOR_RIGHT_BOLD="▶"
+ #TMUX_POWERLINE_SEPARATOR_RIGHT_THIN="❯"
+#fi
+TMUX_POWERLINE_SEPARATOR_LEFT_BOLD="​" #Byte code for zero width space to make the segments into bars instead of arrows
+TMUX_POWERLINE_SEPARATOR_LEFT_THIN="​"
+TMUX_POWERLINE_SEPARATOR_RIGHT_BOLD="​"
+TMUX_POWERLINE_SEPARATOR_RIGHT_THIN="​"
+
+TMUX_POWERLINE_DEFAULT_BACKGROUND_COLOR=${TMUX_POWERLINE_DEFAULT_BACKGROUND_COLOR:-'235'}
+TMUX_POWERLINE_DEFAULT_FOREGROUND_COLOR=${TMUX_POWERLINE_DEFAULT_FOREGROUND_COLOR:-'255'}
+
+TMUX_POWERLINE_DEFAULT_LEFTSIDE_SEPARATOR=${TMUX_POWERLINE_DEFAULT_LEFTSIDE_SEPARATOR:-$TMUX_POWERLINE_SEPARATOR_RIGHT_BOLD}
+TMUX_POWERLINE_DEFAULT_RIGHTSIDE_SEPARATOR=${TMUX_POWERLINE_DEFAULT_RIGHTSIDE_SEPARATOR:-$TMUX_POWERLINE_SEPARATOR_LEFT_BOLD}
+
+
+# Format: segment_name background_color foreground_color [non_default_separator]
+
+if [ -z $TMUX_POWERLINE_LEFT_STATUS_SEGMENTS ]; then
+ TMUX_POWERLINE_LEFT_STATUS_SEGMENTS=(
+ "tmux_session_info 26 253"
+ "hostname 6 253" \
+ #"ifstat 30 255" \
+ #"ifstat_sys 30 255" \
+ #"vcs_branch 29 88" \
+ #"vcs_compare 60 255" \
+ #"vcs_staged 64 255" \
+ #"vcs_modified 9 255" \
+ #"vcs_others 245 0" \
+ )
+fi
+
+if [ -z $TMUX_POWERLINE_RIGHT_STATUS_SEGMENTS ]; then
+ TMUX_POWERLINE_RIGHT_STATUS_SEGMENTS=(
+ #"earthquake 3 0" \
+ "pwd 89 211" \
+ "mailcount 9 255" \
+ "now_playing 234 37" \
+ #"cpu 240 136" \
+ #"load 237 167" \
+ #"tmux_mem_cpu_load 234 136" \
+ #"battery 137 127" \
+ #"weather 37 255" \
+ #"rainbarf 0 0" \
+ #"xkb_layout 125 117" \
+ "lan_ip 24 255" \
+ "wan_ip 24 255" \
+ "date_day 235 136" \
+ "date 235 136 ${TMUX_POWERLINE_SEPARATOR_LEFT_THIN}" \
+ "time 235 136 ${TMUX_POWERLINE_SEPARATOR_LEFT_THIN}" \
+ #"utc_time 235 136 ${TMUX_POWERLINE_SEPARATOR_LEFT_THIN}" \
+ )
+fi