Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- out_to_x no
- out_to_console yes
- short_units yes
- update_interval 1
- TEXT
- [\
- # MPD
- { "full_text" : ${if_mpd_playing} "now_playing ", "color" : "\#545454", "separator" : false, "separator_block_width" : 3 },\
- { "full_text" : "${mpd_artist 20} - ${mpd_title 30}"${else}""${endif}, "color" : "\#909737", "min_width" : 300, "separator" : false, "separator_block_width" : 3 },\
- # CPU temperature:
- {"full_text":"CPU","color":"\#545454","separator":false,"separator_block_width":6},\
- {"full_text":"${if_match ${acpitemp}<45}${acpitemp}°C","color":"\#909737","separator":false,"separator_block_width":6},\
- {"full_text":"${else}"},\
- {"full_text":"${if_match ${acpitemp}<55}${acpitemp}°C","color":"\#b27d12","separator":false,"separator_block_width":6},\
- {"full_text":"${else}"},\
- {"full_text":"${if_match ${acpitemp}>=55}${acpitemp}°C","color":"\#802828","separator":false,"separator_block_width":6},\
- {"full_text":"${else}"},\
- {"full_text":"${endif}${endif}${endif}"},\
- # Download:
- {"full_text":"DOWN","color":"\#545454","separator":false,"separator_block_width":6},\
- {"full_text":"${if_match ${downspeedf wlp0s3f3u2}<1000}${downspeed wlp0s3f3u2}","color":"\#909737","separator":false,"separator_block_width":6},\
- {"full_text":"${else}"},\
- {"full_text":"${if_match ${downspeedf wlp0s3f3u2}<3000}${downspeed wlp0s3f3u2}","color":"\#b27d12","separator":false,"separator_block_width":6},\
- {"full_text":"${else}"},\
- {"full_text":"${if_match ${downspeedf wlp0s3f3u2}>=3000}${downspeed wlp0s3f3u2}","color":"\#802828","separator":false,"separator_block_width":6},\
- {"full_text":"${endif}${endif}${endif}"},\
- # Upload:
- {"full_text":"UP","color":"\#545454","separator":false,"separator_block_width":6},\
- {"full_text":"${if_match ${upspeedf wlp0s3f3u2}<300}${upspeed wlp0s3f3u2}","color":"\#909737","separator":false,"separator_block_width":6},\
- {"full_text":"${else}"},\
- {"full_text":"${if_match ${upspeedf wlp0s3f3u2}<800}${upspeed wlp0s3f3u2}","color":"\#b27d12","separator":false,"separator_block_width":6},\
- {"full_text":"${else}"},\
- {"full_text":"${if_match ${upspeedf wlp0s3f3u2}>=800}${upspeed wlp0s3f3u2}","color":"\#802828","separator":false,"separator_block_width":6},\
- {"full_text":"${endif}${endif}${endif}"},\
- # Memory:
- {"full_text":"MEM","color":"\#545454","separator":false,"separator_block_width":6},\
- {"full_text":"${if_match ${memperc}<30}${memeasyfree}","color":"\#909737","separator":false,"separator_block_width":6},\
- {"full_text":"${else}"},\
- {"full_text":"${if_match ${memperc}<70}${memeasyfree}","color":"\#b27d12","separator":false,"separator_block_width":6},\
- {"full_text":"${else}"},\
- {"full_text":"${if_match ${memperc}>=70}${memeasyfree}","color":"\#802828","separator":false,"separator_block_width":6},\
- {"full_text":"${endif}${endif}${endif}"},\
- # CPU:
- {"full_text":"CPU","color":"\#545454","separator":false,"separator_block_width":6},\
- {"full_text":"${if_match ${cpu cpu0}<50}${cpu cpu0}%","color":"\#909737","separator":false,"separator_block_width":6},\
- {"full_text":"${else}"},\
- {"full_text":"${if_match ${cpu cpu0}<60E}${cpu cpu0}%","color":"\#b27d12","separator":false,"separator_block_width":6},\
- {"full_text":"${else}"},\
- {"full_text":"${if_match ${cpu cpu0}<=100}${cpu cpu0}%","color":"\#802828","separator":false,"separator_block_width":6},\
- {"full_text":"${endif}${endif}${endif}"},\
- # Weather:
- #{"full_text":"☂","color":"\#545454","separator":false,"separator_block_width":6},\
- #{"full_text":"${execi 300 ~/bin/weather_simple "EUR|UK|UK241|LONDON"}","color":"\#EEEEEE","separator":false,"separator_block_width":6},\
- # Mail:
- # {"full_text":"MAIL","color":"\#545454","separator":false,"separator_block_width":6},\
- # {"full_text":"${if_match ${execpi 60 python ~/bin/gmail.py}<=0}${execpi 60 python ~/bin/gmail.py}","color":"\#909737","separator":false,"separator_block_width":6},\
- # {"full_text":"${else}"},\
- # {"full_text":"${if_match ${execpi 60 python ~/bin/gmail.py}<2}${execpi 60 python ~/bin/gmail.py}","color":"\#b27d12","separator":false,"separator_block_width":6},\
- # {"full_text":"${else}"},\
- # {"full_text":"${if_match ${execpi 60 python ~/bin/gmail.py}>2}${execpi 60 python ~/bin/gmail.py}","color":"\#802828","separator":false,"separator_block_width":6},\
- # {"full_text":"${endif}${endif}${endif}"},\
- # Battery:
- {"full_text":"BAT","color":"\#545454","separator":false,"separator_block_width":6},\
- {"full_text":"${if_match ${battery_percent}<30}${battery_percent}%","color":"\#802828","separator":false,"separator_block_width":6},\
- {"full_text":"${else}"},\
- {"full_text":"${if_match ${battery_percent}<70}${battery_percent}%","color":"\#b27d12","separator":false,"separator_block_width":6},\
- {"full_text":"${else}"},\
- {"full_text":"${if_match ${battery_percent}>=70}${battery_percent}%","color":"\#909737","separator":false,"separator_block_width":6},\
- {"full_text":"${endif}${endif}${endif}"},\
- # Dropbox
- # {"full_text":"DB","color":"\#545454","separator":false,"separator_block_width":6},\
- # {"full_text":"${execi 6 dropbox status | sed -n 1p}","color":"\#909737","separator":false},\
- # Volume:
- # {"full_text":"VOL","color":"\#545454","separator":false,"separator_block_width":6},\
- # {"full_text":"${execi 1 amixer sget Master,0 | egrep -o '([0-9]+%|\[(on|off)\])' | sed ':a;N;$!ba;s/\n/ /g'}","color":"\#909737","separator":false},\
- #
- #{"full_text":"|","color":"\#545454","separator":false,"separator_block_width":6},\
- #{"full_text":"${pre_exec uname -r}","color":"\#EEEEEE","separator":false,"separator_block_width":6},\
- #{"full_text":"Host","color":"\#545454","separator":false,"separator_block_width":6},\
- #{"full_text":"$nodename","color":"\#EEEEEE","separator":false,"separator_block_width":6},\
- #{"full_text":"Uptime","color":"\#545454","separator":false,"separator_block_width":6},\
- #{"full_text":"$uptime","color":"\#EEEEEE","separator":false,"separator_block_width":6},\
- #{"full_text":"RAM","color":"\#545454","separator":false,"separator_block_width":6},\
- #{"full_text":"$mem/$memmax","color":"\#EEEEEE","separator":false,"separator_block_width":6},\
- # Date:
- {"full_text":"|","color":"\#545454","separator":false,"separator_block_width":6},\
- {"full_text":"${time %D}","color":"\#aaaaaa","separator":false,"separator_block_width":6},\
- # Time:
- {"full_text":"|","color":"\#545454","separator":false,"separator_block_width":6},\
- {"full_text":"${time %H:%M}","color":"\#aaaaaa","separator":false}\
- ],
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement