New TMUX statusbar and config cleanup

This commit is contained in:
2024-09-27 20:03:50 +01:00
parent 79c23ef374
commit cad1e93d95
73 changed files with 3266 additions and 93 deletions

View File

@@ -0,0 +1,21 @@
#!/usr/bin/env bash
CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source "$CURRENT_DIR/helpers.sh"
print_icon() {
local status=$1
if [ "$status" == "discharging" ]; then
$CURRENT_DIR/battery_icon_charge.sh
else
$CURRENT_DIR/battery_icon_status.sh "$status"
fi
}
main() {
local status=$(battery_status)
print_icon "$status"
}
main