Use consistent bash5 style for conditionals and quoting
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
if omarchy-battery-present; then
|
||||
mapfile -t profiles < <(omarchy-powerprofiles-list)
|
||||
|
||||
if [[ ${#profiles[@]} -gt 1 ]]; then
|
||||
if (( ${#profiles[@]} > 1 )); then
|
||||
|
||||
# Default AC profile:
|
||||
# 3 profiles → performance
|
||||
|
||||
Reference in New Issue
Block a user