tmux-plugins / tmux-battery

Plug and play battery percentage and icon indicator for Tmux.
MIT License
503 stars 98 forks source link

Fix termux #114

Open Freed-Wu opened 8 months ago

Freed-Wu commented 8 months ago

use termux-battery-status to get percentage

detect jq

is_wsl read /proc/version, which termux doesn't have permission. So detect termux-battery-status firstly.

Close #113