Browse Source

more pink ;)

master
Efertone 8 months ago
parent
commit
4802815be0
Signed by: efertone GPG Key ID: 07AB750DDFD9EE50
  1. 14
      status-first
  2. 10
      status-second
  3. 3
      tmux.conf

14
status-first

@ -9,13 +9,21 @@
function left() {
line='#[align=left range=left #{status-left-style}]'
line=$line'#[fg=colour232,bg=colour97,bold]'
#line=$line'#[fg=colour234,bg=colour133,bold]'
#line=$line' #S ' \
#line=$line'#[fg=colour133,bg=colour235,nobold]'
#line=$line'#[fg=colour240,bg=colour235]'
#line=$line' #(whoami) '
#line=$line'#[fg=colour235,bg=default,nobold]'
line=$line'#[fg=colour133,bg=colour235,bold]'
line=$line' #S ' \
line=$line'#[fg=colour97,bg=colour235,nobold]'
line=$line'#[fg=colour240,bg=colour235]'
line=$line'#[fg=colour133]❯'
line=$line'#[fg=colour240]'
line=$line' #(whoami) '
line=$line'#[fg=colour235,bg=default,nobold]'
echo $line
}

10
status-second

@ -13,10 +13,18 @@ function left() {
function right() {
line='#[nolist align=right range=right #{status-right-style}]'
spotyTextColor=colour219
spotyBarColor=colour219
spotyBackground=default
#spotyBackground=colour133
#spotyStyle="#[fg=${spotyBackground}]#[fg=${spotyTextColor}, bg=${spotyBackground}, nobold]"
spotyStyle="#[fg=${spotyTextColor}, bg=${spotyBackground}, nobold]"
spotyFlags="--tmux-color-bar-fg=${spotyBarColor} --tmux-color-text-fg=${spotyTextColor}"
if ps aux | grep -i '[z]oom' 2>&1 > /dev/null; then
line=$line' #[fg=colour124]#[fg=colour15, bg=colour124, nobold] Zoom is running '
else
line=$line' #[fg=colour39]#[fg=colour16, bg=colour39, nobold] #(eferland spoty show --tmux) '
line=$line' '$spotyStyle' #(eferland spoty show --tmux '$spotyFlags') '
fi
echo "${line}"

3
tmux.conf

@ -58,11 +58,10 @@ run -b '~/.tmux/plugins/tpm/tpm'
# Extra style
#set -g window-status-style fg=colour38,bg=default,dim
#set -g pane-active-border-style fg=colour38,bg=default
set -g pane-active-border-style fg=colour219,bg=default
#set -g window-status-current-style fg=colour38,bg=default
set -g status 2
#set status-format[0] "#[align=left range=left #{status-left-style}]#[push-default]#{T;=/#{status-left-length}:status-left}#[pop-default]#[norange default]#[list=on align=#{status-justify}]#[list=left-marker]<#[list=right-marker]>#[list=on]#{W:#[range=window|#{window_index} #{window-status-style}#{?#{&&:#{window_last_flag},#{!=:#{window-status-last-style},default}}, #{window-status-last-style},}#{?#{&&:#{window_bell_flag},#{!=:#{window-status-bell-style},default}}, #{window-status-bell-style},#{?#{&&:#{||:#{window_activity_flag},#{window_silence_flag}},#{!=:#{window-status-activity-style},default}}, #{window-status-activity-style},}}]#[push-default]#{T:window-status-format}#[pop-default]#[norange default]#{?window_end_flag,,#{window-status-separator}},#[range=window|#{window_index} list=focus #{?#{!=:#{window-status-current-style},default},#{window-status-current-style},#{window-status-style}}#{?#{&&:#{window_last_flag},#{!=:#{window-status-last-style},default}}, #{window-status-last-style},}#{?#{&&:#{window_bell_flag},#{!=:#{window-status-bell-style},default}}, #{window-status-bell-style},#{?#{&&:#{||:#{window_activity_flag},#{window_silence_flag}},#{!=:#{window-status-activity-style},default}}, #{window-status-activity-style},}}]#[push-default]#{T:window-status-current-format}#[pop-default]#[norange list=on default]#{?window_end_flag,,#{window-status-separator}}}#[nolist align=right range=right #{status-right-style}]#[push-default]#{T;=/#{status-right-length}:status-right}#[pop-default]#[norange default]#[align=centre]"
set -g status-format[0] "#(~/.tmux/status-first)"
set -g status-format[1] "#(~/.tmux/status-second)"

Loading…
Cancel
Save