diff options
-rwxr-xr-x | bin/toggle-theme | 6 | ||||
-rw-r--r-- | linux/tmux.conf.m4 | 7 |
2 files changed, 4 insertions, 9 deletions
diff --git a/bin/toggle-theme b/bin/toggle-theme index 8fe1547..48e0323 100755 --- a/bin/toggle-theme +++ b/bin/toggle-theme @@ -27,8 +27,7 @@ if [ "$THEME" = "dark" ]; then # Update tmux (Consider making a theme switch in the m4 config and re-running that instead of having it configured here) tmux set-environment THEME "light" tmux set-environment ALACRITTY_THEME "${LIGHTTHEME}" - tmux set -g status-bg black - tmux set -g status-fg colour255 + tmux set -g status-style "fg=colour255,bold,bg=black" # Update nvim send_vim_cmd ":set background=light" @@ -43,8 +42,7 @@ else # Update tmux tmux set-environment THEME "dark" tmux set-environment ALACRITTY_THEME "${DARKTHEME}" - tmux set -g status-bg white - tmux set -g status-fg black + tmux set -g status-style "fg=black,bg=white" # Update nvim send_vim_cmd ":set background=dark" diff --git a/linux/tmux.conf.m4 b/linux/tmux.conf.m4 index 06ab992..8d2ef19 100644 --- a/linux/tmux.conf.m4 +++ b/linux/tmux.conf.m4 @@ -98,12 +98,9 @@ set -g status-position bottom set -g status-left "#{?client_prefix,C-a ,}[#S] " set -g status-right "%d/%m/%y %H:%M:%S [#(cat /sys/class/power_supply/BAT0/capacity)%]" - -set -g status-bg black -set -g status-fg colour255 +set -g status-style "fg=colour255,bold,bg=black" ')m4_dnl m4_ifelse(DT_DOTFILES_TYPE, `remote', `m4_dnl set -g status-left "#{?client_prefix,C-b ,}[#S] " -set -g status-bg "purple" -set -g status-fg "colour255" +set -g status-style "fg=colour255,bold,bg=purple" ')m4_dnl |