diff options
author | Philip Wittamore <philip@wittamore.com> | 2025-06-03 19:56:25 +0200 |
---|---|---|
committer | Philip Wittamore <philip@wittamore.com> | 2025-06-03 19:56:25 +0200 |
commit | f0b527f61e251a879a179ff4fef16baaa486c047 (patch) | |
tree | 643a5717fcf243c5430cf8b0609d23bd2fa41b59 /sb-theme | |
parent | 95a142be5215939fc6b5be643e4fa44650415e2c (diff) | |
download | scripts-f0b527f61e251a879a179ff4fef16baaa486c047.tar.gz scripts-f0b527f61e251a879a179ff4fef16baaa486c047.tar.bz2 scripts-f0b527f61e251a879a179ff4fef16baaa486c047.zip |
update
Diffstat (limited to 'sb-theme')
-rwxr-xr-x | sb-theme | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/sb-theme b/sb-theme deleted file mode 100755 index f04c205..0000000 --- a/sb-theme +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/sh -# Utility functions for theming statusbar scripts. - -display() { - if [ -n "$2" ]; then - color="$2" - else - case "$(basename "$0")" in - sb-mail) color=13 ;; - sb-music) color=14 ;; - sb-disk) color=10 ;; - sb-memory) color=15 ;; - sb-loadavg) color=11 ;; - sb-mic) color=9 ;; - sb-record) color=9 ;; - sb-volume) color=15 ;; - sb-battery) color=14 ;; - sb-date) color=12 ;; - sb-network) color=9 ;; - *) color=15 ;; - esac - fi - - case "$STATUSBAR" in - dwmblocks) echo "^C$color^$1" ;; - *) echo "$1" ;; - esac -} |