Files
sxmo-utils/scripts/core/sxmo_status_watch.sh
Stacy Harper 4a4e5cd6cc move to sxmobar
This also alias sxmobar to the old adapted script in case the dependency
is missing. The api of sxmo_status.sh changed to be sxmobar compatible.
2023-02-01 16:42:21 +01:00

8 lines
110 B
Bash

#!/bin/sh
if command -v sxmobar > /dev/null; then
exec sxmobar -w "$@"
else
exec sxmo_status.sh -w "$@"
fi