Adding new stuff

This commit is contained in:
Viktor Barzin 2017-11-03 00:00:02 +00:00
parent 52a5955de6
commit 94da98550b
2 changed files with 6 additions and 3 deletions

View file

@ -157,3 +157,4 @@ alias omg2="killall plasmashell; plasmashell > /dev/null 2>&1 & disown"
alias aliases="vim /home/viktor/.bash_aliases && source /home/viktor/.bash_aliases"
# alias ghcirun="ghci --make $1; ./$1"
alias lip="ifconfig $(route -n | head -n 3 | tail -n 1 | awk '{print $8}') | grep inet | awk '{print \$2}'"

View file

@ -98,7 +98,7 @@ tmux_conf_theme_window_status_bg='#080808' # dark gray
tmux_conf_theme_window_status_attr='none'
tmux_conf_theme_window_status_format='#I #W'
#tmux_conf_theme_window_status_format='#{circled_window_index} #W'
#tmux_conf_theme_window_status_format='#I #W#{?window_bell_flag,🔔,}#{?window_zoomed_flag,🔍,}'
# tmux_conf_theme_window_status_format='#I #W#{?window_bell_flag,🔔,}#{?window_zoomed_flag,🔍,}'
# window current status style
# - built-in variables are:
@ -158,7 +158,9 @@ tmux_conf_theme_right_separator_sub='' # PowerlineSymbols.otf font
# - #{username}
# - #{username_ssh}
tmux_conf_theme_status_left=' ❐ #S | ↑#{?uptime_d, #{uptime_d}d,}#{?uptime_h, #{uptime_h}h,}#{?uptime_m, #{uptime_m}m,} '
tmux_conf_theme_status_right='#(curl ifconfig.co) #{prefix}#{pairing} #{?battery_status, #{battery_status},}#{?battery_bar, #{battery_bar},}#{?battery_percentage, #{battery_percentage},} , %R , %d %b | #{username}#{root} | #{hostname} '
tmux_conf_theme_status_right="IP:#(ifconfig $(route -n | sed -n '3p' | awk '{print $8}') | grep 'inet ' | cut -d ' ' -f 10) , \
DNS:#(echo $(cat /etc/resolv.conf | grep 'nameserver [0-9]' | awk '{print $2}')) , \
Gateway:#(echo $(route -n | sed -n '3p' | awk '{print $2}')) #{prefix}#{pairing} #{?battery_status, #{battery_status},}#{?battery_bar, #{battery_bar},}#{?battery_percentage, #{battery_percentage},} , %R , %d %b | #{username}#{root} | #{hostname}"
# status left style
tmux_conf_theme_status_left_fg='#000000,#e4e4e4,#e4e4e4' # black, white , white
@ -167,7 +169,7 @@ tmux_conf_theme_status_left_attr='bold,none,none'
# status right style
tmux_conf_theme_status_right_fg='#8a8a8a,#e4e4e4,#000000' # light gray, white, black
tmux_conf_theme_status_right_bg='#080808,#d70000,#e4e4e4' # dark gray, red, white
tmux_conf_theme_status_right_bg='#080808,#d70000,#e4e4e4' # white, dark gray, red, white
tmux_conf_theme_status_right_attr='none,none,bold'
# pairing indicator