#!/usr/bin/env bash # rice-status - live text for polybar's rice modules (tail = true). # Modules: net bt vol notif indicators media. Each prints a line whenever its # state changes, in the same "LABEL value" style as the cpu/ram/gpu modules. set -uo pipefail run="${XDG_RUNTIME_DIR:-/tmp}/rice" mkdir -p "$run" accent=$(rice-theme get accent) dim=$(rice-theme get dim) urgent=$(rice-theme get urgent) green=$(rice-theme get green) yellow=$(rice-theme get yellow) magenta=$(rice-theme get magenta) # label