# Watch: https://github.com/Alexays/Waybar/tags /tags/([0-9.]+)[.]tar
. "${GRIMOIRE}/MESON_FUNCTIONS"
. "${GRIMOIRE}/FUNCTIONS"
           SPELL=waybar
          SPELLX=Waybar
if [[ "${WAYBAR_BRANCH}" == scm ]]; then
         VERSION=$(get_scm_version)
          SOURCE=${SPELL}-git.tar.xz
   SOURCE_URL[0]=git_http://github.com/Alexays/${SPELLX}.git:${SPELLX}.git
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-git"
   SOURCE_IGNORE=volatile
  FORCE_DOWNLOAD=on
else
         VERSION=0.10.3
          SOURCE=$SPELLX-$VERSION.tar.gz
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELLX-$VERSION
   SOURCE_URL[0]=https://github.com/Alexays/Waybar/archive/${VERSION}.tar.gz
     SOURCE_HASH=sha512:2e90007056b79bccad06902db2e8b6f25103bb7c86736cb0b7dc260795bc4a1b5db7a7b8a4bebe9169f0590585fd6b170193cf8aa5437d69bab0f78d66922084
fi
      LICENSE[0]=MIT
        WEB_SITE=https://github.com/Alexays/Waybar/
         ENTERED=20230227
        KEYWORDS="wayland bar wlroots"
           SHORT="wayland bar for sway and wlroots-bases compositors"
cat << EOF
Highly customizable Wayland bar for Sway and Wlroots based compositors.

Current features

   * Sway (Workspaces, Binding mode, Focused window name)
   * River (Mapping mode, Tags, Focused window name)
   * Hyprland (Focused window name)
   * Tray #21
   * Local time
   * Battery
   * UPower
   * Network
   * Bluetooth
   * Pulseaudio
   * Wireplumber
   * Disk
   * Memory
   * Cpu load average
   * Temperature
   * MPD
   * Custom scripts
   * Custom image
   * Multiple output configuration
   * And many more customizations
EOF