diff options
author | P. J. McDermott <pj@pehjota.net> | 2021-08-22 11:29:31 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2021-08-22 11:29:31 (EDT) |
commit | 10d5ddff0343049032914ea3a23e07d4d2f7240f (patch) | |
tree | bee5d3524079bba11ce7e10840fdcb637087737c /lib/panel | |
parent | ae058e8e9d7b97b3ce0062d76af1b1638fa6563b (diff) | |
download | fluxbox-10d5ddff0343049032914ea3a23e07d4d2f7240f.zip fluxbox-10d5ddff0343049032914ea3a23e07d4d2f7240f.tar.gz fluxbox-10d5ddff0343049032914ea3a23e07d4d2f7240f.tar.bz2 |
.config/fbpanel/taskbar: Replace pager with DT#
Diffstat (limited to 'lib/panel')
-rwxr-xr-x | lib/panel/dtmon | 10 |
1 files changed, 10 insertions, 0 deletions
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 "${@}" |