aboutsummaryrefslogtreecommitdiffstats
path: root/default.sh
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2021-05-14 18:14:50 +0000
committerterminaldweller <thabogre@gmail.com>2021-05-14 18:14:50 +0000
commit6e528248414e330c9e25e81596ab47b8b8a5b701 (patch)
treee1aa41a7f3198eeac187e6177ec7d4a33db229d3 /default.sh
downloadscripts-6e528248414e330c9e25e81596ab47b8b8a5b701.tar.gz
scripts-6e528248414e330c9e25e81596ab47b8b8a5b701.zip
first commitmaster
Diffstat (limited to '')
-rw-r--r--default.sh63
1 files changed, 63 insertions, 0 deletions
diff --git a/default.sh b/default.sh
new file mode 100644
index 0000000..344fafb
--- /dev/null
+++ b/default.sh
@@ -0,0 +1,63 @@
+# Default Theme
+
+if patched_font_in_use; then
+ TMUX_POWERLINE_SEPARATOR_LEFT_BOLD=""
+ #TMUX_POWERLINE_SEPARATOR_LEFT_BOLD="▶"
+ TMUX_POWERLINE_SEPARATOR_LEFT_THIN=""
+ TMUX_POWERLINE_SEPARATOR_RIGHT_BOLD=""
+ #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_DEFAULT_BACKGROUND_COLOR=${TMUX_POWERLINE_DEFAULT_BACKGROUND_COLOR:-'16'}
+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]
+TMUX_POWERLINE_SEG_WEATHER_LOCATION="2251945"
+if [ -z $TMUX_POWERLINE_LEFT_STATUS_SEGMENTS ]; then
+ TMUX_POWERLINE_LEFT_STATUS_SEGMENTS=(
+ "tmux_session_info 148 16" \
+ #"hostname 33 255" \
+ "pwd 69 255" \
+ #"ifstat 30 255" \
+ #"ifstat_sys 30 255" \
+ #"lan_ip 24 255 ${TMUX_POWERLINE_SEPARATOR_RIGHT_THIN}" \
+ #"wan_ip 24 255" \
+ "vcs_branch 29 255" \
+ "vcs_compare 60 255" \
+ "vcs_staged 64 255" \
+ "vcs_modified 9 255" \
+ "vcs_others 245 255" \
+ )
+fi
+
+if [ -z $TMUX_POWERLINE_RIGHT_STATUS_SEGMENTS ]; then
+ TMUX_POWERLINE_RIGHT_STATUS_SEGMENTS=(
+ #"earthquake 3 0" \
+ #"macos_notification_count 29 255" \
+ #"mailcount 9 255" \
+ #"now_playing 234 37" \
+ #"cpu 240 136" \
+ #"load 63 255" \
+ #"tmux_mem_cpu_load 234 136" \
+ #"battery 24 255" \
+ "jdat 29 255" \
+ #"weather 37 255" \
+ #"rainbarf 0 ${TMUX_POWERLINE_DEFAULT_FOREGROUND_COLOR}" \
+ #"xkb_layout 125 117" \
+ "date_day 31 255"\
+ "date 31 255 ${TMUX_POWERLINE_SEPARATOR_LEFT_THIN}" \
+ #"time 31 235 ${TMUX_POWERLINE_SEPARATOR_LEFT_THIN}" \
+ "time 31 255 ${TMUX_POWERLINE_SEPARATOR_LEFT_THIN}" \
+ "utc_time 75 255 ${TMUX_POWERLINE_SEPARATOR_LEFT_BOLD}" \
+ )
+fi