Change the function name to be more consistent with other files.
This commit is contained in:
1 parent
f562c8aecd
commit
5c3d5dd41e
1 file changed
+3
-3
@@ -1,8 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# 2025-11-10 Hyperling
|
# 2025-11-10 Hyperling
|
||||||
|
|
||||||
function battery {
|
function battery-display {
|
||||||
upower -i /org/freedesktop/UPower/devices/battery_BAT0 | grep percentage | grep -o "[0-9.%]*"
|
upower -i /org/freedesktop/UPower/devices/battery_BAT0 | grep percentage | grep -o "[0-9.%]*"
|
||||||
}
|
}
|
||||||
alias show-battery="battery"
|
alias show-battery="battery-display"
|
||||||
alias battery-display="battery"
|
alias battery="battery-display"
|
||||||
Reference in new issue
Block a user