@@ -10,68 +10,71 @@ PyTextMonitor is a minimalistic Plasmoid script written on Python2. It looks lik
10
10
Configuration
11
11
-------------
12
12
For edited output you must open Settings window and setup output format in lines:
13
- * label ` $time ` - time in default format. For example, ` fri Nov 6 04:48:01 2013 `
14
- * label ` $isotime ` - time in iso format
15
- * label ` $shorttime ` - time in short locale format
16
- * label ` $longtime ` - time in long locale format
17
- * label ` $custom ` - custom time format
18
- * label ` $uptime ` - uptime, <i >---d--h--m</i >
19
- * label ` $custom ` - custom uptime format
20
- * label ` $cpu ` - total load cpu, <i >%</i >
21
- * label ` $cpuN ` - load CPU for core N, <i >%</i >. N should be in range 0 to 8
22
- * label ` $cpucl ` - average cpu clock, <i >MHz</i >
23
- * label ` $cpuclN ` - cpu clock for core N, <i >MHz</i >. N should be in range 0 to 8
24
- * label ` $tempN ` - temperature for device N. For example, ` $temp0 `
25
- * label ` $gpu ` - GPU usage, <i >%</i >. ` aticonfig ` or ` nvidia-smi ` must be installed
26
- * label ` $gputemp ` - GPU temperature. ` aticonfig ` or ` nvidia-smi ` must be installed
27
- * label ` $mem ` - usage memory, <i >%</i >
28
- * label ` $memmb ` - usage memory, <i >MB</i >
29
- * label ` $swap ` - swap, <i >%</i >
30
- * label ` $swapmb ` - swap, <i >MB</i >
31
- * label ` $hddN ` - usage for mount point N, <i >%</i >. For example, ` $hdd0 `
32
- * label ` $hddtempN ` - temperature for HDD N. For example, ` $hddtemp0 `
33
- * label ` $down ` - download speed, <i >KB/s</i >
34
- * label ` $up ` - upload speed, <i >KB/s</i >
35
- * label ` $netdev ` - current network device
36
- * label ` $bat ` - battery charge, <i >%</i >
37
- * label ` $ac ` - status AC device. Return <i >(* )</i > if AC device is online or <i >( )</i > if offline
38
- * label ` $album ` - current song album. One of supported music players must be installed
39
- * label ` $artist ` - current song artist. One of supported music players must be installed
40
- * label ` $progress ` - current song progress. One of supported music players must be installed (mpd does not support yet)
41
- * label ` $time ` - current song duration. One of supported music players must be installed
42
- * label ` $title ` - current song title. One of supported music players must be installed
43
- * label ` $custom ` - returns output for custom command
13
+ * tag ` $time ` - time in default format. For example, ` fri Nov 6 04:48:01 2013 `
14
+ * tag ` $isotime ` - time in iso format
15
+ * tag ` $shorttime ` - time in short locale format
16
+ * tag ` $longtime ` - time in long locale format
17
+ * tag ` $custom ` - custom time format
18
+ * tag ` $uptime ` - uptime, <i >---d--h--m</i >
19
+ * tag ` $custom ` - custom uptime format
20
+ * tag ` $cpu ` - total load cpu, <i >%</i >
21
+ * tag ` $cpuN ` - load CPU for core N, <i >%</i >. N should be in range 0 to 8
22
+ * tag ` $cpucl ` - average cpu clock, <i >MHz</i >
23
+ * tag ` $cpuclN ` - cpu clock for core N, <i >MHz</i >. N should be in range 0 to 8
24
+ * tag ` $tempN ` - temperature for device N. For example, ` $temp0 `
25
+ * tag ` $gpu ` - GPU usage, <i >%</i >. ` aticonfig ` or ` nvidia-smi ` must be installed
26
+ * tag ` $gputemp ` - GPU temperature. ` aticonfig ` or ` nvidia-smi ` must be installed
27
+ * tag ` $mem ` - usage memory, <i >%</i >
28
+ * tag ` $memmb ` - usage memory, <i >MB</i >
29
+ * tag ` $swap ` - swap, <i >%</i >
30
+ * tag ` $swapmb ` - swap, <i >MB</i >
31
+ * tag ` $hddN ` - usage for mount point N, <i >%</i >. For example, ` $hdd0 `
32
+ * tag ` $hddtempN ` - temperature for HDD N. For example, ` $hddtemp0 `
33
+ * tag ` $down ` - download speed, <i >KB/s</i >
34
+ * tag ` $up ` - upload speed, <i >KB/s</i >
35
+ * tag ` $netdev ` - current network device
36
+ * tag ` $bat ` - battery charge, <i >%</i >
37
+ * tag ` $ac ` - status AC device. Return <i >(* )</i > if AC device is online or <i >( )</i > if offline
38
+ * tag ` $album ` - current song album. One of supported music players must be installed
39
+ * tag ` $artist ` - current song artist. One of supported music players must be installed
40
+ * tag ` $progress ` - current song progress. One of supported music players must be installed (mpd does not support yet)
41
+ * tag ` $time ` - current song duration. One of supported music players must be installed
42
+ * tag ` $title ` - current song title. One of supported music players must be installed
43
+ * tag ` $custom ` - returns output for custom command
44
44
45
45
Label order will changed if you change slider position. HTML tags in label work normally.
46
46
47
- ** NOTE** you don't may set to show $cpu in swap label for example. < b > $cpu will work only in cpu label</ b > .
47
+ ** NOTE** you don't may set to show $cpu in swap label for example. ** $cpu will work only in cpu label** .
48
48
49
49
Advanced settings
50
50
-----------------
51
51
** Custom time**
52
52
53
- * label ` $dddd ` - weekday in long format
54
- * label ` $ddd ` - weekday in short format
55
- * label ` $dd ` - day
56
- * label ` $d ` - day without zero
57
- * label ` $MMMM ` - month in long format
58
- * label ` $MMM ` - month in short format
59
- * label ` $MM ` - month
60
- * label ` $M ` - month without zero
61
- * label ` $yyyy ` - year
62
- * label ` $yy ` - year in short format
63
- * label ` $hh ` - hours
64
- * label ` $h ` - hours without zero
65
- * label ` $mm ` - minutes
66
- * label ` $m ` - minutes without zero
67
- * label ` $ss ` - seconds
68
- * label ` $s ` - seconds without zero
53
+ * tag ` $dddd ` - weekday in long format
54
+ * tag ` $ddd ` - weekday in short format
55
+ * tag ` $dd ` - day
56
+ * tag ` $d ` - day without zero
57
+ * tag ` $MMMM ` - month in long format
58
+ * tag ` $MMM ` - month in short format
59
+ * tag ` $MM ` - month
60
+ * tag ` $M ` - month without zero
61
+ * tag ` $yyyy ` - year
62
+ * tag ` $yy ` - year in short format
63
+ * tag ` $hh ` - hours
64
+ * tag ` $h ` - hours without zero
65
+ * tag ` $mm ` - minutes
66
+ * tag ` $m ` - minutes without zero
67
+ * tag ` $ss ` - seconds
68
+ * tag ` $s ` - seconds without zero
69
69
70
70
** Custom uptime**
71
71
72
- * label ` $ds ` - uptime days
73
- * label ` $hs ` - uptime hours
74
- * label ` $ms ` - uptime minutes
72
+ * tag ` $dd ` - uptime days
73
+ * tag ` $dd ` - uptime days without zero
74
+ * tag ` $hh ` - uptime hours
75
+ * tag ` $h ` - uptime hours without zero
76
+ * tag ` $mm ` - uptime minutes
77
+ * tag ` $m ` - uptime minutes without zero
75
78
76
79
** Temperature devices**
77
80
0 commit comments