Skip to content

Commit ddf1de6

Browse files
author
arcan1s
committed
Yes another edit readme
1 parent 4689a90 commit ddf1de6

File tree

1 file changed

+30
-32
lines changed

1 file changed

+30
-32
lines changed

README.md

Lines changed: 30 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -8,30 +8,30 @@ PyTextMonitor is a minimalistic Plasmoid script written on Python2. It looks lik
88
Configuration
99
-------------
1010
For edited output you must open Settings window and setup output format in lines:
11-
* label "$uptime" means uptime, ---d--h--m
12-
* label "$cpu" means total load cpu, %
13-
* label "$ccpu" means load CPU for each core, %
14-
* label "$cpucl" - average cpu clock, MHz
15-
* label "$ccpucl" - cpu clock for each core, MHz
16-
* label "$temp" - average temperature in system
17-
* label "$gpu" - GPU usage, %. `aticonfig` or `nvidia-smi` must be installed
18-
* label "$gputemp" - GPU temperature. `aticonfig` or `nvidia-smi` must be installed
19-
* label "$mem" - usage memory, %
20-
* label "$memmb" - usage memory, MB
21-
* label "$swap" - swap, %
22-
* label "$swapmb" - swap, MB
23-
* label "@@/@@" (in hdd label) - mount point ('/' in example) usage, %. Separator for mount points list is ';', for example "@@/;/home;/mnt/global@@". `hddtemp` must be installed
24-
* label "@@/dev/sda@@" (in hddtemp label) - HDD ('/dev/sda' in example) temperature
25-
* label "$net" - download and upload speed, KB/s. You may specify network device: something like @@eth0@@
26-
* label "$netdev" - current network device
27-
* label "$bat" - battery charge, %. Battery device may be set below. File ("/sys/class/power_supply/BAT0/capacity" by default) must contain only battery charge in percent
28-
* label "$ac" - status AC device. Return (*) if AC device is online or ( ) if offline. AC device may be set below. FIle ("/sys/class/power_supply/AC/online" by default) must contain '1' if AC is online
29-
* label "$artist" - current song artist. One of supported music players must be installed
30-
* label "$title" - current song title. One of supported music players must be installed
11+
* label `$uptime` means uptime, <i>---d--h--m</i>
12+
* label `$cpu` means total load cpu, <i>%</i>
13+
* label `$ccpu` means load CPU for each core, <i>%</i>
14+
* label `$cpucl` - average cpu clock, <i>MHz</i>
15+
* label `$ccpucl` - cpu clock for each core, <i>MHz</i>
16+
* label `$temp` - average temperature in system
17+
* label `$gpu` - GPU usage, <i>%</i>. `aticonfig` or `nvidia-smi` must be installed
18+
* label `$gputemp` - GPU temperature. `aticonfig` or `nvidia-smi` must be installed
19+
* label `$mem` - usage memory, <i>%</i>
20+
* label `$memmb` - usage memory, <i>MB</i>
21+
* label `$swap` - swap, <i>%</i>
22+
* label `$swapmb` - swap, <i>MB</i>
23+
* label `@@/@@` (in hdd label) - mount point (`/` in example) usage, <i>%</i>. Separator for mount points list is `;`, for example `@@/;/home;/mnt/global@@`
24+
* label `@@/dev/sda@@` (in hddtemp label) - HDD (`/dev/sda` in example) temperature. `hddtemp` must be installed
25+
* label `$net` - download and upload speed, <i>KB/s</i>. You may specify network device: something like `@@eth0@@`
26+
* label `$netdev` - current network device
27+
* label `$bat` - battery charge, <i>%</i>. Battery device may be set below. File (`/sys/class/power_supply/BAT0/capacity` by default) must contain only battery charge in percent
28+
* label `$ac` - status AC device. Return <i>(*)</i> if AC device is online or <i>( )</i> if offline. AC device may be set below. FIle (`/sys/class/power_supply/AC/online` by default) must contain `1` if AC is online
29+
* label `$artist` - current song artist. One of supported music players must be installed
30+
* label `$title` - current song title. One of supported music players must be installed
3131

3232
Label order will changed if you change slider position. HTML tags in label work normally.
3333

34-
**NOTE** you don't may set to show $cpu in swap label for example. $cpu will work only in cpu label.
34+
**NOTE** you don't may set to show $cpu in swap label for example. <b>$cpu will work only in cpu label</b>.
3535

3636
TODO (wish) list
3737
----------------
@@ -70,24 +70,22 @@ Installation
7070
* download sources
7171
* install dataengine
7272

73-
mkdir build && cd build
73+
mkdir build && cd build
74+
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=`kde4-config --localprefix` ../
75+
make && make install
7476

75-
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=`kde4-config --localprefix` ../
77+
Also you may install it to "/":
7678

77-
make && make install
79+
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ../
80+
make && sudo make install
7881

79-
Also you may install it to "/":
80-
81-
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ../
82-
83-
make && sudo make install
8482
* install plasmoid
8583

86-
plasmapkg -i py-text-monitor-1.5.0.plasmoid
84+
plasmapkg -i py-text-monitor-1.5.0.plasmoid
8785

88-
Also you may install it to "/" too:
86+
Also you may install it to "/" too:
8987

90-
plasmapkg -g -i py-text-monitor-1.5.0.plasmoid
88+
plasmapkg -g -i py-text-monitor-1.5.0.plasmoid
9189

9290
Additional information
9391
======================

0 commit comments

Comments
 (0)