aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjakobst1n <jakob.stendahl@outlook.com>2024-04-17 21:58:27 +0200
committerjakobst1n <jakob.stendahl@outlook.com>2024-04-17 21:58:27 +0200
commitd7fa630a5a4611055c941839ba699aacfcd7e178 (patch)
tree7a943135a9dc5cca91b6df87bbd670604db5a3f8
parentb814f26ef209b063a4607c3648600d5de5f223f9 (diff)
downloaddotfiles-d7fa630a5a4611055c941839ba699aacfcd7e178.tar.gz
dotfiles-d7fa630a5a4611055c941839ba699aacfcd7e178.zip
Bold
-rwxr-xr-xbin/toggle-theme6
-rw-r--r--linux/tmux.conf.m47
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