Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ##Main .conkyrc
- background yes
- cpu_avg_samples 2
- net_avg_samples 2
- out_to_console no
- use_xft yes
- xftfont dejavusans:size=8
- xftalpha 1.0
- update_interval 2
- own_window yes
- own_window_type override
- own_window_transparent yes
- own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
- double_buffer yes
- minimum_size 5 5
- maximum_width 300
- draw_shades yes
- draw_outline no
- draw_borders no
- stippled_borders 0
- border_margin 10
- border_width 2
- default_color white
- default_shade_color black
- default_outline_color white
- alignment top_right
- gap_x 20
- gap_y 20
- use_spacer right
- no_buffers yes
- uppercase no
- if_up_strictness address
- short_units yes
- # colours for Google Calendar
- color1 white
- # light blue
- color2 6892C6
- # orange
- color3 E77320
- # green
- color4 78BF39
- # red
- color5 CC0000
- text_buffer_size 2048
- # stuff after 'TEXT' will be formatted on screen
- TEXT
- ${font DejaVu Sans:size=8}${color #ffccaa}SYSTEM ${color #888888}${alignr}Uptime ${color #CCCCCC}$uptime_short
- ${color #888888}CPU 1 ${color #CCCCCC}${freq cpu1} MHz ${alignr}${cpubar cpu1 7,155 ff0000 ff00ff}
- ${color #888888}CPU 2 ${color #CCCCCC}${freq cpu2} MHz ${alignr}${cpubar cpu2 7,155 ff0000 ff00ff}
- ${color #888888}RAM ${color #CCCCCC}$memmax $memperc% ${alignr}${membar 7,155}
- ${color #888888}Swap ${color #CCCCCC}$swapmax $swapperc% ${alignr}${swapbar 7,155}
- ${font DejaVu Sans:size=8}${color #ffccaa}FILESYSTEMS
- ${color #888888}/ ${alignr}${color #CCCCCC}${fs_size /} ${fs_used_perc /}% ${alignr}${fs_bar 6,100 /}
- ${color #888888}/home ${alignr}${color #CCCCCC}${fs_size /home} ${fs_used_perc /home}% ${alignr}${fs_bar 6,100 /home}
- ${if_mounted /boot} ${color #888888}/boot ${alignr}${color #CCCCCC}${fs_size /boot} ${fs_used_perc /boot}% ${alignr}${fs_bar 6,100 /boot} ${endif}
- ${if_mounted /mnt/mediacenter} ${color #888888}/mnt/mediacenter ${alignr}${color #CCCCCC}${fs_size /mnt/mediacenter} ${fs_used_perc /mnt/mediacenter}% ${alignr}${fs_bar 6,100 /mnt/mediacenter} ${endif}
- ${if_mounted /mnt/business} ${color #888888}/mnt/business ${alignr}${color #CCCCCC}${fs_size /mnt/business} ${fs_used_perc /mnt/business}% ${alignr}${fs_bar 6,100 /mnt/business} ${endif}
- ${font DejaVu Sans:size=8}${color #ffccaa}PROCESSES
- ${color #888888}Name (by CPU usage) ${alignr}PID CPU% MEM%
- ${color #CCCCCC}${top name 1} ${alignr}${top pid 1} ${top cpu 1} ${top mem 1}
- ${color #CCCCCC}${top name 2} ${alignr}${top pid 2} ${top cpu 2} ${top mem 2}
- ${color #CCCCCC}${top name 3} ${alignr}${top pid 3} ${top cpu 3} ${top mem 3}
- ${color #888888}Name (by Memory usage) ${alignr}PID CPU% MEM%
- ${color #CCCCCC}${top_mem name 1} ${alignr}${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
- ${color #CCCCCC}${top_mem name 2} ${alignr}${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
- ${color #CCCCCC}${top_mem name 3} ${alignr}${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
- ${font DejaVu Sans:size=8}${color #ffccaa}NETWORK
- ${if_up wlan0} ${color #888888}Up ${color #CCCCCC}${upspeed wlan0}kb/s${alignr}${color #888888}Total ${color #CCCCCC}${totalup wlan0}
- ${color #888888}Down ${color #CCCCCC}${downspeed wlan0}kb/s${alignr}${color #888888}Total ${color #CCCCCC}${totaldown wlan0}${endif}
- ${if_up eth0} ${color #888888}Up ${color #CCCCCC}${upspeed eth0}kb/s${alignr}${color #888888}Total ${color #CCCCCC}${totalup eth0}
- ${color #888888}Down ${color #CCCCCC}${downspeed eth0}kb/s${alignr}${color #888888}Total ${color #CCCCCC}${totaldown eth0}${endif}
- ${font DejaVu Sans:size=8}${color #ffccaa}CAPTAIN'S TEST
- ${color #CCCCCC}${execi 300 head -n 2 /home/firecat53/docs/fire/Studytime.txt}
- ${font DejaVu Sans:size=8}${color #ffccaa}CALENDAR
- ${execpi 300 cat /home/firecat53/.conky-cal}
- ${font DejaVu Sans Mono :size=8}${color #888888}${execi 300 /home/firecat53/scripts/conky-month-cal.sh}
- #########################################
- ##Second .conkyrc for small area at bottom left
- background yes
- cpu_avg_samples 2
- out_to_console no
- use_xft yes
- xftfont DejaVuSans:size=6
- xftalpha 1.0
- update_interval 1
- own_window yes
- own_window_type override
- own_window_transparent yes
- own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
- double_buffer yes
- draw_outline no
- draw_borders no
- border_margin 0
- border_width 0
- draw_graph_borders no
- alignment bottom_left
- gap_x 1
- gap_y 0
- no_buffers yes
- uppercase no
- if_up_strictness address
- # stuff after 'TEXT' will be formatted on screen
- # the first line {voffset -40}${battery} used and then hidden again because battery_bar apparently needs battery displayed first or it throws an error msg
- mail_spool /home/firecat53/mail/inbox
- TEXT
- ${voffset -40}${battery}
- ${voffset 40}${cpubar cpu0 6,35} ${membar 6,35} ${battery_bar 6,35} Mail ${if_up wlan0} U ${upspeed wlan0} k${endif}
- CPU RAM BAT${if_up wlan0} ${new_mails} D ${downspeed wlan0} k${endif}
- #########################################
- ##conky-calendar.sh (for google calendar entries)
- #!/bin/sh
- /usr/local/bin/conkyGoogleCalendar --username=emailaddress --password=password --nowho --daysahead=7 --indent=4 --limit=15 --dateformat="%a %m/%d" --timeformat="%H%M" --template=/home/firecat53/.conky-gcal-template > ~/.conky-cal-tmp
- ERROR=`grep 'No Events' ~/.conky-cal-tmp | tr -d [:space:]`
- ERROR2=`cat ~/.conky-cal-tmp`
- if [ "$ERROR" != "" -o "$ERROR2" == "" ]
- then
- exit 1
- else
- cp ~/.conky-cal-tmp /home/firecat53/.conky-cal
- fi
- #########################################
- ##.conky-gcal-template
- ${voffset -10}${color1}<starttime> -- ${color4}<title>
- ##conky-month-cal.sh (for small month calendar)
- #!/bin/sh
- cal | awk 'NR>1' | sed -e 's/ / /g' -e 's/[^ ] /& /g' -e 's/..*/ & /' -e 's/ \('`date | awk '{print $3}'`'\) /\['`date | awk '{print $3}'`'\]/'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement