diff options
Diffstat (limited to 'lib')
-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 "${@}" |