summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2021-08-24 14:47:22 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2021-08-24 14:47:22 (EDT)
commit79286e48c54b718528de8c20be5cd24238d49101 (patch)
tree05c0892d26fdc7fbfd354d82070932aca6dd9ab3
parent3d7e450164e9072bb0448129e883b44c95cada3a (diff)
downloadfluxbox-79286e48c54b718528de8c20be5cd24238d49101.zip
fluxbox-79286e48c54b718528de8c20be5cd24238d49101.tar.gz
fluxbox-79286e48c54b718528de8c20be5cd24238d49101.tar.bz2
.config/fbpanel/taskbar: Replace dtmon with deskno
Loses brackets but is immediately responsive instead of having to poll every second.
-rw-r--r--.config/fbpanel/taskbar9
-rwxr-xr-xlib/panel/dtmon10
2 files changed, 1 insertions, 18 deletions
diff --git a/.config/fbpanel/taskbar b/.config/fbpanel/taskbar
index 1e73cc5..3c09716 100644
--- a/.config/fbpanel/taskbar
+++ b/.config/fbpanel/taskbar
@@ -31,16 +31,9 @@ Plugin {
}
Plugin {
- type = genmon
+ type = deskno
expand = false
padding = 0
- config {
- command = ~/lib/panel/dtmon
- textsize = 10240
- textcolor = #F3F3F5
- pollingtime = 1
- maxtextlength = 3
- }
}
Plugin {
diff --git a/lib/panel/dtmon b/lib/panel/dtmon
deleted file mode 100755
index 64662ab..0000000
--- a/lib/panel/dtmon
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-
-main()
-{
- dt="$(wmctrl -d | sed -n 's/ * \* .*$//p')"
- : $((dt += 1))
- printf '[%d]\n' ${dt}
-}
-
-main "${@}"