diff --git a/bin/omarchy-version b/bin/omarchy-version new file mode 100755 index 00000000..2292694a --- /dev/null +++ b/bin/omarchy-version @@ -0,0 +1,6 @@ +#!/bin/bash + +# set OMARCHY_PATH in case this is called by non bash environment +OMARCHY_PATH="/home/$USER/.local/share/omarchy" + +git -C "$OMARCHY_PATH" describe --tags $(git -C "$OMARCHY_PATH" rev-list --tags --max-count=1)