URI:
       tmux-status: posix-sh compat - dotfiles - 🍚 personal arsenal of "rice"
  HTML git clone https://git.drkhsh.at/dotfiles.git
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
   DIR README
   DIR LICENSE
       ---
   DIR commit 9879e62d83c58b60f533a96d8ce79cc3a61b5d9f
   DIR parent f214dbd0e5a7f818599d8114d332fffde2365ce1
  HTML Author: drkhsh <me@drkhsh.at>
       Date:   Fri,  7 Mar 2025 01:23:48 +0100
       
       tmux-status: posix-sh compat
       
       Diffstat:
         M tmux/.local/bin/tmux-status         |       8 ++++----
       
       1 file changed, 4 insertions(+), 4 deletions(-)
       ---
   DIR diff --git a/tmux/.local/bin/tmux-status b/tmux/.local/bin/tmux-status
       @@ -1,4 +1,4 @@
       -#!/usr/bin/env bash
       +#!/bin/sh
        #    ██
        #   ░██
        #  ██████ ██████████  ██   ██ ██   ██
       @@ -18,10 +18,10 @@ _openbsd() {
        }
        
        #----------------------------------------------------------// vars
       -[[ -z "$UI_THEME" ]] && UI_THEME="EVANGELION"
       +[ -z "$UI_THEME" ] && UI_THEME="EVANGELION"
        FULL=━
        EMPTY=┄
       -if [[ "$UI_THEME" == "EVANGELION" ]]; then
       +if [ "$UI_THEME" == "EVANGELION" ]; then
                C0=#201430
                C1=#3b3847
                C2=#a4d2ec
       @@ -62,7 +62,7 @@ if ! _openbsd; then
        else
                total=$(vmstat -s | awk -v pagesize=`/sbin/sysctl -n hw.pagesize` '/pages managed$/ { print $1 * pagesize / 1024 }')
                free=$(vmstat -s | awk -v pagesize=`/sbin/sysctl -n hw.pagesize` '/pages free$/ { print $1 * pagesize / 1024 }')
       -        RAM=$(bc -l <<< "( $free / $total )* 100" | cut -d "." -f 1)
       +        RAM=$(echo "( $free / $total )* 100" | bc | cut -d "." -f 1)
        fi
        if ! _openbsd; then
                CPU=$(printf "%.0f" "$(grep 'cpu ' /proc/stat |