From 6e02a557fd1b707d1058882f162dbe690973c04a Mon Sep 17 00:00:00 2001 From: samedamci Date: Fri, 8 May 2020 17:15:42 +0200 Subject: [PATCH] Add 'dwmbar' script --- botfiles/.scripts/dwmbar | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 botfiles/.scripts/dwmbar diff --git a/botfiles/.scripts/dwmbar b/botfiles/.scripts/dwmbar new file mode 100755 index 0000000..e14e5d2 --- /dev/null +++ b/botfiles/.scripts/dwmbar @@ -0,0 +1,6 @@ +#!/usr/bin/env bash + +while true; do + xsetroot -name "  $(awk -F"[][]" '/dB/ { print $2 }' <(amixer sget Master)) |  $(date "+%H:%M:%S %p") |  $(pacman -Qu | wc -l) " + sleep 1 +done