summaryrefslogtreecommitdiff
path: root/deskutils/gdesklets-psi_displaypackage/files/patch-info.display
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-12-17 21:19:58 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-12-17 21:19:58 +0000
commit0a591e3ee943e87a2227438b4ae2cf89ef2aac5c (patch)
treeca201d18bfd50956a7e680acf90d4fdb70e81943 /deskutils/gdesklets-psi_displaypackage/files/patch-info.display
parentAdd gdesklets-sensor-psi_cpu, a CPU monitor backend Sensor for gDesklets (diff)
Add gdesklets-psi_displaypackage, the PSI Display module for gDesklets that
ties in all of the PSI backend Sensors (e.g. CPU monitor, disk monitor, mail check, TODO list, etc.). PR: 59831 Submitted by: Franz Klammer <klammer@webonaut.com>
Notes
Notes: svn path=/head/; revision=96118
Diffstat (limited to 'deskutils/gdesklets-psi_displaypackage/files/patch-info.display')
-rw-r--r--deskutils/gdesklets-psi_displaypackage/files/patch-info.display13
1 files changed, 13 insertions, 0 deletions
diff --git a/deskutils/gdesklets-psi_displaypackage/files/patch-info.display b/deskutils/gdesklets-psi_displaypackage/files/patch-info.display
new file mode 100644
index 000000000000..dccae242c755
--- /dev/null
+++ b/deskutils/gdesklets-psi_displaypackage/files/patch-info.display
@@ -0,0 +1,13 @@
+--- info.display.orig Fri Oct 24 12:31:48 2003
++++ info.display Fri Nov 21 23:35:34 2003
+@@ -6,8 +6,8 @@
+ version="0.2.1"
+ description="Shows the uptime,kernel version, CPU load, user name and hostname (needs the Theme,CPU,FontSelector,External sensors)"/>
+
+- <sensor id="uptime" module="External,uptime|tr -s ' ' '\t' |cut -f 4|cut -d \, -f 1,60000"/>
+- <sensor id="kernel" module="External,cat /proc/version|cut -d ' ' -f 1-3,0"/>
++ <sensor id="uptime" module="External,uptime| sed -e 's@.*up @@'|cut -d \, -f 1,60000"/>
++ <sensor id="kernel" module="External,uname -r,0"/>
+ <sensor id="CPU" module="CPU,1000"/>
+ <sensor id="who" module="External,whoami,0"/>
+ <sensor id="hostname" module="External,hostname|cut -d . -f 1,0"/>