Skip to content

Commit

Permalink
qfeat: add temp display on tmux bar
Browse files Browse the repository at this point in the history
  • Loading branch information
jegj committed Dec 28, 2024
1 parent 8706c41 commit f8511b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions config.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ apt_pkgs:
- brave-browser
- wezterm # https://wezfurlong.org/wezterm/
- luarocks # nvim setup and plugins
- lm-sensors # tmux gpu/cpu temperature

Check warning on line 64 in config.default.yml

View workflow job for this annotation

GitHub Actions / Lint

64:16 [comments] too few spaces before comment

Check failure on line 64 in config.default.yml

View workflow job for this annotation

GitHub Actions / Lint

yaml[comments]

Too few spaces before comment

npm_glob_pkgs:
- tree-sitter-cli # nvim dep
Expand Down
3 changes: 2 additions & 1 deletion files/tmux/.tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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'

0 comments on commit f8511b5

Please sign in to comment.