diff --git a/config.default.yml b/config.default.yml index 1118a4c..8d817c1 100644 --- a/config.default.yml +++ b/config.default.yml @@ -61,6 +61,7 @@ apt_pkgs: - brave-browser - wezterm # https://wezfurlong.org/wezterm/ - luarocks # nvim setup and plugins + - lm-sensors # tmux gpu/cpu temperature npm_glob_pkgs: - tree-sitter-cli # nvim dep diff --git a/files/tmux/.tmux.conf b/files/tmux/.tmux.conf index 026ab37..a49c693 100644 --- a/files/tmux/.tmux.conf +++ b/files/tmux/.tmux.conf @@ -17,10 +17,11 @@ bind l select-pane -R set -g set-titles on set -g set-titles-string "#T" -set -g status-right '#{battery_status_bg} Batt: #{battery_percentage} #{battery_remain} #{cpu_bg_color} CPU: #{cpu_percentage} | %a %h-%d %H:%M ' +set -g status-right '#{battery_status_bg}Batt:#{battery_percentage} #{battery_remain}|#{gpu_bg_color} GPU: #{gpu_percentage} #{gpu_temp_bg_color}#{gpu_temp_icon} #{gpu_temp}|#{cpu_bg_color} CPU: #{cpu_percentage} #{cpu_temp_bg_color}#{cpu_temp_icon} #{cpu_temp}' # tmux plugin manager set -g @plugin 'tmux-plugins/tmux-sensible' set -g @plugin 'tmux-plugins/tmux-cpu' +# For temperature, check: https://github.com/tmux-plugins/tmux-cpu set -g @plugin 'tmux-plugins/tmux-battery' run '~/.tmux/plugins/tpm/tpm'