summaryrefslogtreecommitdiffstats
path: root/.i3/conkyrc-perl
blob: ded17c3fdf3ee41ad0308ba5b34aee498b78020f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
out_to_x no
own_window no
out_to_console yes
background no
max_text_width 0
update_interval 0.5
total_run_times 0
short_units yes
if_up_strictness link
use_spacer none
override_utf8_locale no
cpu_avg_samples 6
net_avg_samples 6

mpd_host localhost
mpd_port 6600

TEXT

${if_match "${mpd_status}" == "Playing"}
COLOR: \#d466138
FULLTEXT: ${mpd_artist} - ${mpd_title} (${mpd_vol}%)
${endif}

COLOR: \#00FF00
FULLTEXT: intern0 ${upspeed intern0}↑ ${downspeed intern0}↓

${if_up guest0}
COLOR: \#FF0000
FULLTEXT: guest0 ${upspeed guest0}↑ ${downspeed guest0}↓
${endif}

${if_up usb0}
COLOR: \#FF0000
FULLTEXT: usb0 ${upspeed usb0}↑ ${downspeed usb0}↓
${endif}

# { "full_text" : "IO ${diskio_read}↑ ${diskio_write}↓"},
FULLTEXT: PA ${pa_sink_volume}%${if_pa_sink_muted} MUTED${endif}

FULLTEXT: / ${fs_free /}
FULLTEXT: /home ${fs_free /home}

COLOR: \#55ff55
FULLTEXT: CPU ${cpu cpu}%

COLOR: ${if_match ${memperc}<80}\#55ff55${else}\#ff0000${endif}
FULLTEXT: RAM ${mem} (${memperc}%)

FULLTEXT: ${loadavg} ${running_threads}/${processes}
FULLTEXT: Up ${uptime}

SHORTTEXT: ${time %F %H:%M:%S}
FULLTEXT: ${time %a %F %H:%M:%S

END_BLOCK