From 10d5ddff0343049032914ea3a23e07d4d2f7240f Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 22 Aug 2021 11:29:31 -0400 Subject: .config/fbpanel/taskbar: Replace pager with DT# --- (limited to 'lib/panel') diff --git a/lib/panel/dtmon b/lib/panel/dtmon new file mode 100755 index 0000000..ca2472d --- /dev/null +++ b/lib/panel/dtmon @@ -0,0 +1,10 @@ +#!/bin/sh + +main() +{ + dt="$(wmctrl -d | sed -n 's/ * \* .*$//p')" + : $((dt += 1)) + printf 'DT%d\n' ${dt} +} + +main "${@}" -- cgit v0.9.1