Change the function name to be more consistent with other files.

This commit is contained in:
2025-11-10 16:56:14 -07:00
parent f562c8aecd
commit 5c3d5dd41e

View File

@@ -1,8 +1,8 @@
#!/usr/bin/env bash
# 2025-11-10 Hyperling
function battery {
function battery-display {
upower -i /org/freedesktop/UPower/devices/battery_BAT0 | grep percentage | grep -o "[0-9.%]*"
}
alias show-battery="battery"
alias battery-display="battery"
alias show-battery="battery-display"
alias battery="battery-display"