change btop to template and fix shutdown command

This commit is contained in:
Simon Rieger 2025-04-09 10:19:56 +02:00
parent e398aa81d6
commit fc8adc002f
2 changed files with 8 additions and 1 deletions

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 contents
color_theme = "/opt/homebrew/Cellar/btop/1.2.13/share/btop/themes/flat-remix.theme"
{{ else if eq .chezmoi.os "linux" -}}
# Linux 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

View file

@ -202,7 +202,7 @@
"menu": "on-click",
"menu-file": "$HOME/.config/waybar/modules/power_menu.xml", // Menu file in resources folder
"menu-actions": {
"shutdown": "shutdown",
"shutdown": "systemctl poweroff",
"reboot": "reboot",
"suspend": "systemctl suspend",
"hibernate": "systemctl hibernate"