fix btop for macos
This commit is contained in:
parent
c86a7ee2f0
commit
d38122e120
1 changed files with 8 additions and 1 deletions
|
@ -2,7 +2,14 @@
|
||||||
|
|
||||||
#* Name of a btop++/bpytop/bashtop formatted ".theme" file, "Default" and "TTY" for builtin themes.
|
#* 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"
|
#* 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"
|
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.
|
#* If the theme set background should be shown, set to False if you want terminal background transparency.
|
||||||
theme_background = True
|
theme_background = True
|
||||||
|
@ -209,4 +216,4 @@ selected_battery = "Auto"
|
||||||
|
|
||||||
#* Set loglevel for "~/.config/btop/btop.log" levels are: "ERROR" "WARNING" "INFO" "DEBUG".
|
#* 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.
|
#* The level set includes all lower levels, i.e. "DEBUG" will show all logging info.
|
||||||
log_level = "WARNING"
|
log_level = "WARNING"
|
Loading…
Reference in a new issue