fix btop for macos

This commit is contained in:
Simon Rieger 2023-08-27 19:53:41 +02:00
parent c86a7ee2f0
commit d38122e120

View file

@ -2,7 +2,14 @@
#* Name of a btop++/bpytop/bashtop formatted ".theme" file, "Default" and "TTY" for builtin themes.
#* Themes should be placed in "../share/btop/themes" relative to binary or "$HOME/.config/btop/themes"
{{ if eq .chezmoi.os "darwin" -}}
# macOS .bashrc contents
color_theme = "/opt/homebrew/Cellar/btop/1.2.13/share/btop/themes/flat-remix.theme
{{ else if eq .chezmoi.os "linux" -}}
# Linux .bashrc contents
color_theme = "/usr/share/btop/themes/flat-remix.theme"
{{ end -}}
#* If the theme set background should be shown, set to False if you want terminal background transparency.
theme_background = True
@ -209,4 +216,4 @@ selected_battery = "Auto"
#* Set loglevel for "~/.config/btop/btop.log" levels are: "ERROR" "WARNING" "INFO" "DEBUG".
#* The level set includes all lower levels, i.e. "DEBUG" will show all logging info.
log_level = "WARNING"
log_level = "WARNING"