wiki:plugin_hddtemp

Version 5 (modified by anonymous, 11 years ago) (diff)

--

This plugin contacts an hddtemp daemon to return the temperature of a drive.

Functions:

  • hddtemp(id) -- connect to local hddtemp daemon (localhost:7634).
  • hddtemp(host,id) -- connect to hddtemp daemon running on the given host.
  • hddtemp(host,port,id) -- connect to hddtemp daemon running on the given host at a custom port.

30 Widget SmallHDDTemp {

31 class 'Text'

32 expression hddtemp('/dev/hda')

33 width 4

34 precision 1

35 align 'R'

36 update tick

37 }