# Standard antiX .conkyrc file # For conky editing help and commands visit = Casey's Conky Reference with Examples {http://www.ifxgroup.net/conky.htm} # set to yes if you want Conky to be forked in the background background yes short_units yes cpu_avg_samples 1 net_avg_samples 1 out_to_console no # X font when Xft is disabled, you can pick one with program xfontsel #font 7x12 #font 6x10 #font 7x13 font 8x12 #font 7x12 # Use Xft? use_xft yes # Xft font when Xft is enabled #xftfont gentium:size=12 #ftfont DejaVu Sans:size=10 xftfont DejaVu Sans:bold:size=9 #xftfont DejaVu Sans:size=9 # Create own window instead of using desktop (required in nautilus, pcmanfm and rox desktops) own_window yes own_window_transparent yes own_window_hints undecorated,below,sticky,skip_taskbar own_window_type desktop # Text alpha when using Xft xftalpha 1.0 #on_bottom no # Update interval in seconds update_interval 1 # Use double buffering (reduces flicker, may not work for everyone) double_buffer yes # Minimum size of text area minimum_size 55 maximum_width 242 # Draw shades? draw_shades no # Draw outlines? draw_outline no # Draw borders around text draw_borders no # Stippled borders? stippled_borders 0 # border margins #border_margin 10 # border width border_width 2 # Default colors and also border colors default_color white default_shade_color white default_outline_color white #color ffffff color4 yellow color8 77ccff color9 5599cc # Text alignment, other possible values are commented # alignment top_left alignment top_right #alignment bottom_left #alignment bottom_right # Gap between borders of screen and text gap_x 20 gap_y 40 # Add spaces to keep things from moving about? This only affects certain objects. use_spacer right # Subtract file system buffers from used memory? no_buffers yes # if_up_strictness link: up | link | address if_up_strictness address # set to yes if you want all text to be in uppercase uppercase no TEXT #Geeky diagnostic info. section ${alignc}${color8}${exec hostname} #Show actual hostname ${alignc}${color}${exec less /etc/live/version/antiX | grep "Version"} ${alignc}${color}${exec less /etc/live/version/antiX | grep "flavour"} ${alignc -5}${color3}${color}${exec uname -r} #Show antix Version, original install iso, and current running kernel ${color}Init:${alignr}${color3}${execi 60 detect-init.sh} #Moved init to top section with other diagnostic information ${color3}${color} ${stippled_hr 1} #Separators (dotted line) between different sections of information displayed #Time, day of the week, date, etc. info. section #${alignc}${color}${font DejaVu Sans:size=12}${time %r} ${font} ${color} #${color}${alignc}${time %a %b %d %Y} #Los Angeles, 12 hour AM/PM then US date format, Sofia in 24 hour EU date format ${color}${font DejaVu Sans:size=12}${tztime Europe/Sofia %a, %d %b, %Y %R %z} ${font} ${color} ${color}${font DejaVu Sans:size=12}${tztime America/Los_Angeles %a, %-m/%-d/%Y, %I:%M %p %z} ${font} ${color} ${color3}${color} ${stippled_hr 1} #Separators (dotted line) between different sections of information displayed #${alignc}${color}${font DejaVu Sans:size=12}${time %a %b %D %Y} ${font} ${color} #Added different time parameters like day of the week, date, etc. #Calendar, current month, week starts Monday, vertical ${alignc}${color}${font DejaVu Sans:size=12}${exec ncal -MA 1} ${font} ${color} ${color3}${color} ${stippled_hr 1} #Separators (dotted line) between different sections of information displayed #Also weather. # https://askubuntu.com/questions/1190907/how-can-i-get-conky-to-display-weather #${color}${alignc} ${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ KLAX temperature (1)} # https://github.com/chubin/wttr.in ${alignc -5}LAX: ${color3}${alignc}${color} ${exec curl wttr.in/?format="%c+%t+%0+%p\n"} ${alignc -5}SOF: ${color3}${alignc}${color} ${exec curl wttr.in/sofia?format="%c+%t+%0+%p\n"} ${alignc}Uptime: $uptime ${color3}${color} ${stippled_hr 1} #Separators (dotted line) between different sections of information displayed #Combined FM-WM with Res. to display in one line FM-WM / Res: ${alignr}${exec disp=${DISPLAY#:}; disp=${disp%.[0-9]}; cat $HOME/.desktop-session/desktop-code.$disp 2>/dev/null} / ${alignr}${execi 60 xdpyinfo | sed -n -r "s/^\s*dimensions:.*\s([0-9]+x[0-9]+).*/\1/p"} / #Added label FM-WM: (short for "File Manager-Window Manager") #Also capitalized first letter of all headings for consistency and readability #commented out DPI #Res. (WxH):${alignr}${execi 60 xdpyinfo | sed -n -r "s/^\s*dimensions:.*\s([0-9]+x[0-9]+).*/\1/p"} / #DPI:${alignr}${execi 60 sed -nr "s/^\s*Xft.dpi:\s*([0-9]+(x[0-9]+)?).*/\1/p" $HOME/.Xresources | grep "[0-9]" || echo 96} ${color3}${color} ${stippled_hr 1} #Separators (dotted line) between different sections of information displayed #CPU info. section #Use loadavg instead of cpu or freq. CPU Load (1,5,15m.) ${loadavg 1},${loadavg 2},${loadavg 3}${alignr} #CPU:${alignr}${cpu}% #${alignr}${cpugraph cpu0 30,170 5599cc 5599cc} #Hide graphs to make display text only and less busy, uncomment to restore #Freq. (Mhz):${alignr}${freq} ${color3}${color} ${stippled_hr 1} #Separators (dotted line) between different sections of information displayed #Disk info. section Disk read / write:${alignr}${diskio_read}/ ${diskio_write} #${alignr}${diskiograph 30,170 5599cc 5599cc} #Hide graphs to make display text only and less busy, uncomment to restore Automount: ${alignr}${execi 60 grep -q "^automount=TRUE" $HOME/.desktop-session/automount.conf 2>/dev/null && echo "Enabled" || echo "disabled"} #Moved automount below graph, similar to freq. above ${color3}${color} ${stippled_hr 1} #Separators (dotted line) between different sections of information displayed #Network throughput info. section #Deliberately comment out if_up to remove empty line in output #${if_up eth0} #Slight code refactoring, moved if_up eth0 here, instead of the Disk info. section where it didn't belong #Refactor to combine up and downspeed on one line like WLAN0 ETH0 up / down: $alignr ${upspeed eth0} / $alignr ${downspeed eth0} #${alignr}${upspeedgraph eth0 30,170 5599cc 5599cc} #Hide graphs to make display text only and less busy, uncomment to restore #ETH0 down: $alignr ${downspeed eth0} #${alignr}${downspeedgraph eth0 30,170 5599cc 5599cc} #Hide graphs to make display text only and less busy, uncomment to restore #Deliberately comment out endif to remove empty line in output #${endif} #Deliberately comment out if_up to remove empty line in output #${if_up eth1} #Deliberately comment out eth1 #ETH1 up: $alignr ${upspeed eth1} #${alignr}${upspeedgraph eth1 30,170 5599cc 5599cc} #Hide graphs to make display text only and less busy, uncomment to restore #ETH1 down: $alignr ${downspeed eth1} #${alignr}${downspeedgraph eth1 30,170 5599cc 5599cc} #Hide graphs to make display text only and less busy, uncomment to restore #Deliberately comment out if_up to remove empty line in output #${endif} #Deliberately comment out if_up to remove empty line in output #${if_up wlan0} #Refactor to combine up and downspeed on one line like disk usage WLAN0 up / down: $alignr ${upspeed wlan0} / $alignr ${downspeed wlan0} #${alignr}${upspeedgraph wlan0 30,170 5599cc 5599cc} #Hide graphs to make display text only and less busy, uncomment to restore #WLAN0 down: $alignr ${downspeed wlan0} #${alignr}${downspeedgraph wlan0 30,170 5599cc 5599cc} #Hide graphs to make display text only and less busy, uncomment to restore #${endif}${if_up wlan1} #WLAN1 up: $alignr ${upspeed wlan1} #${alignr} ${upspeedgraph wlan1 30,170 5599cc 5599cc} #Hide graphs to make display text only and less busy, uncomment to restore #WLAN1 down: $alignr ${downspeed wlan1} #${alignr}${downspeedgraph wlan1 30,170 5599cc 5599cc} #Hide graphs to make display text only and less busy, uncomment to restore #Deliberately comment out endif to remove empty line in output #${endif} AP:${alignr}${color} ${wireless_ap wlan0} ${color} Essid:${alignr}${color} ${wireless_essid wlan0} ${color} Signal: ${alignr}${wireless_link_qual_perc wlan0}% #Public IPv4: ${alignr} ${exec "cat ~/whereswaldo"} Local IPv4:${alignr}${color} ${addr wlan0} ${color} #Speed:${alignr} ${color} ${wireless_freq wlan0} ${color} #Link strength:${alignr} ${color} ${wireless_link_qual wlan0} ${color} #Fix 3 commented statements above, conky no longer accepts old syntax ${color3}${color} ${stippled_hr 1} #Separators (dotted line) between different sections of information displayed #Memory info. section ${alignr}${color8}Used / Total ${color} RAM:${alignr}$mem / $memmax #Swap:${alignr}$swap / $swapmax #Hide swap, e.g. when using SSD, having swap off is recommended, so why show it? ${color3}${color} ${stippled_hr 1} #Separators (dotted line) between different sections of information displayed #Disk used info. section #Use mount points as listed by df for currently mounted partitions Root:${alignr}${fs_used_perc /}% / ${fs_size /} Home:${alignr}${fs_used_perc /home}% / ${fs_size /home} Other:${alignr}${fs_used_perc /media/OS}% / ${fs_size /media/OS} #Comment out sizes above in favor of percentage full shown below #Alternate display of partitions, directly from df command #Partitions: #${exec df -h -x tmpfs --output=fstype,source,pcent,size | grep /[sh]d} #Added display partitions, shown as mount point, percentage full, size #Listed in the following order: /, /home, other mounted partitions ${color3}${color} ${stippled_hr 1} #Separators (dotted line) between different sections of information displayed #Persist-enabled is useful for live-session only, otherwise inserts a blank line #${alignc}${execi 1000 persist-enabled} #Battery info. section, comment out on desktops unless using UPS, which can be displayed as "battery" #Battery: ${battery_percent BAT0}% ${alignr}${color8}${battery_bar 8,70 BAT0} # You may need to change BAT0 to BAT1 or add the same line again if you have more then one battery. #${execi 1000 acpi 2>/dev/null | grep -q . && echo "Battery: "}${execi 10 acpi -b 2>/dev/null | cut -d" " -f3,4 | sed 's/,$//'} #Ac adapter:${alignr}${color8} ${acpiacadapter AC1} ${color} #Fix AC adapter ${audacious_title 30}${alignr}${audacious_position} Battery:${alignr} ${color8}${battery_percent BAT1}% ${color} ${stippled_hr 1} #Separators (dotted line) between different sections of information displayed