From 79286e48c54b718528de8c20be5cd24238d49101 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Tue, 24 Aug 2021 14:47:22 -0400 Subject: .config/fbpanel/taskbar: Replace dtmon with deskno Loses brackets but is immediately responsive instead of having to poll every second. --- 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 "${@}" -- cgit v0.9.1