View difference between Paste ID: hFUt7aSc and tjT1dMF9
SHOW: | | - or go back to the newest paste.
1
out_to_x no
2
out_to_console yes
3
short_units yes
4
update_interval 1
5
6
TEXT
7
[\
8
{ "full_text" : ${if_mpd_playing} "♪", "color" : "\#EEE8D5", "separator" : false, "separator_block_width" : 3 },\
9
{ "full_text" : "${mpd_artist 20} - ${mpd_title 30}"${else}""${endif}, "color" : "\#268BD2", "min_width" : 300, "separator" : false, "separator_block_width" : 3 },\
10
# Kernel:
11
{"full_text":"ⓚ","color":"\#888888","separator":false,"separator_block_width":6},\
12
{"full_text":"${kernel}","color":"\#EEEEEE","separator":false,"separator_block_width":6},\
13
# CPU temperature:
14
{"full_text":"τ","color":"\#888888","separator":false,"separator_block_width":6},\
15
{"full_text":"${if_match ${acpitemp}<45}${acpitemp}","color":"\#AAF096","separator":false,"separator_block_width":0},\
16
{"full_text":"${else}"},\
17
{"full_text":"${if_match ${acpitemp}<50}${acpitemp}","color":"\#F0DC64","separator":false,"separator_block_width":0},\
18
{"full_text":"${else}"},\
19
{"full_text":"${if_match ${acpitemp}<55}${acpitemp}","color":"\#FF9933","separator":false,"separator_block_width":0},\
20
{"full_text":"${else}"},\
21
{"full_text":"${if_match ${acpitemp}>=55}${acpitemp}","color":"\#FF3333","separator":false,"separator_block_width":0},\
22
{"full_text":"${else}"},\
23
{"full_text":"${endif}${endif}${endif}${endif}"},\
24
{"full_text":"°C","color":"\#EEEEEE","separator":false,"separator_block_width":6},\
25
# Download:
26
{"full_text":"↓","color":"\#888888","separator":false,"separator_block_width":6},\
27
{"full_text":"${if_match ${downspeedf wlo1}<100}${downspeed wlo1}","color":"\#AAF096","separator":false,"separator_block_width":6},\
28
{"full_text":"${else}"},\
29
{"full_text":"${if_match ${downspeedf wlo1}<300}${downspeed wlo1}","color":"\#68B1E8","separator":false,"separator_block_width":6},\
30
{"full_text":"${else}"},\
31
{"full_text":"${if_match ${downspeedf wlo1}<700}${downspeed wlo1}","color":"\#DB70B8","separator":false,"separator_block_width":6},\
32
{"full_text":"${else}"},\
33
{"full_text":"${if_match ${downspeedf wlo1}<1000}${downspeed wlo1}","color":"\#9470DB","separator":false,"separator_block_width":6},\
34
{"full_text":"${else}"},\
35
{"full_text":"${if_match ${downspeedf wlo1}>=1000}${downspeed wlo1}","color":"\#FF3333","separator":false,"separator_block_width":6},\
36
{"full_text":"${endif}${endif}${endif}${endif}${endif}"},\
37
# Upload:
38
{"full_text":"↑","color":"\#888888","separator":false,"separator_block_width":6},\
39
{"full_text":"${if_match ${upspeedf wlo1}<15}${upspeed wlo1}","color":"\#AAF096","separator":false,"separator_block_width":6},\
40
{"full_text":"${else}"},\
41
{"full_text":"${if_match ${upspeedf wlo1}<35}${upspeed wlo1}","color":"\#9470DB","separator":false,"separator_block_width":6},\
42
{"full_text":"${else}"},\
43
{"full_text":"${if_match ${upspeedf wlo1}>=35}${upspeed wlo1}","color":"\#FF3333","separator":false,"separator_block_width":6},\
44
{"full_text":"${endif}${endif}${endif}"},\
45
# Memory:
46
{"full_text":"ⓜ","color":"\#888888","separator":false,"separator_block_width":6},\
47
{"full_text":"${if_match ${memperc}<30}${memeasyfree}","color":"\#AAF096","separator":false,"separator_block_width":6},\
48
{"full_text":"${else}"},\
49
{"full_text":"${if_match ${memperc}<60}${memeasyfree}","color":"\#F0DC64","separator":false,"separator_block_width":6},\
50
{"full_text":"${else}"},\
51
{"full_text":"${if_match ${memperc}<85}${memeasyfree}","color":"\#FF9933","separator":false,"separator_block_width":6},\
52
{"full_text":"${else}"},\
53
{"full_text":"${if_match ${memperc}>=85}${memeasyfree}","color":"\#FF3333","separator":false,"separator_block_width":6},\
54
{"full_text":"${endif}${endif}${endif}${endif}"},\
55
# CPU:
56
{"full_text":"ⓒ","color":"\#888888","separator":false,"separator_block_width":6},\
57
{"full_text":"${if_match ${cpu cpu0}<25}${cpu cpu0}","color":"\#AAF096","separator":false,"separator_block_width":0},\
58
{"full_text":"${else}"},\
59
{"full_text":"${if_match ${cpu cpu0}<50}${cpu cpu0}","color":"\#F0DC64","separator":false,"separator_block_width":0},\
60
{"full_text":"${else}"},\
61
{"full_text":"${if_match ${cpu cpu0}<75}${cpu cpu0}","color":"\#FF9933","separator":false,"separator_block_width":0},\
62
{"full_text":"${else}"},\
63
{"full_text":"${if_match ${cpu cpu0}<=100}${cpu cpu0}","color":"\#FF3333","separator":false,"separator_block_width":0},\
64
{"full_text":"${endif}${endif}${endif}${endif}"},\
65
{"full_text":"%","color":"\#EEEEEE","separator":false,"separator_block_width":6},\
66
# Weather:
67
{"full_text":"☂","color":"\#888888","separator":false,"separator_block_width":6},\
68
{"full_text":"${execi 300 ~/bin/weather_simple "EUR|UK|UK241|LONDON"}","color":"\#EEEEEE","separator":false,"separator_block_width":6},\
69
# Mail:
70
{"full_text":"✉","color":"\#888888","separator":false,"separator_block_width":6},\
71
{"full_text":"${if_match ${execpi 60 python ~/bin/gmail.py}<=0}${execpi 60 python ~/bin/gmail.py}","color":"\#AAF096","separator":false,"separator_block_width":6},\
72
{"full_text":"${else}"},\
73
{"full_text":"${if_match ${execpi 60 python ~/bin/gmail.py}<2}${execpi 60 python ~/bin/gmail.py}","color":"\#F0DC64","separator":false,"separator_block_width":6},\
74
{"full_text":"${else}"},\
75
{"full_text":"${if_match ${execpi 60 python ~/bin/gmail.py}>2}${execpi 60 python ~/bin/gmail.py}","color":"\#FF9933","separator":false,"separator_block_width":6},\
76
{"full_text":"${endif}${endif}${endif}"},\
77
# Battery:
78
{"full_text":"ⓑ","color":"\#888888","separator":false,"separator_block_width":6},\
79
{"full_text":"${battery_percent}%","color":"\#EEEEEE","separator":false},\
80
# Volume:
81
{"full_text":"ⓥ","color":"\#888888","separator":false,"separator_block_width":6},\
82
{"full_text":"${execi 1 amixer sget Master,0 | egrep -o '([0-9]+%|\[(on|off)\])' | sed ':a;N;$!ba;s/\n/ /g'}","color":"\#EEEEEE","separator":false},\
83
# Date:
84
{"full_text":"ⓓ","color":"\#888888","separator":false,"separator_block_width":6},\
85
{"full_text":"${time %D}","color":"\#EEEEEE","separator":false,"separator_block_width":6},\
86
# Time:
87
{"full_text":"ⓣ","color":"\#888888","separator":false,"separator_block_width":6},\
88
{"full_text":"${time %R}","color":"\#EEEEEE","separator":false}\
89
],