# Standard antiX .conkyrc file # # Note: delete the line above to disable automatic scaling with DPI # on the live system. # 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 #font *mintsmild.se* #font -*-*-*-*-*-*-34-*-*-*-*-*-*-* #font -artwiz-snap-normal-r-normal-*-*-100-*-*-p-*-iso8859-1 # 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 # Text alpha when using Xft xftalpha 1.0 #on_bottom no # mail spool mail_spool $MAIL # 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 5 5 maximum_width 180 # 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 color2 ffffff color3 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 # boinc (seti) dir # seti_dir /opt/seti # Possible variables to be used: # # Variable Arguments Description # acpiacadapter ACPI ac adapter state. # acpifan ACPI fan state # acpitemp ACPI temperature. # adt746xcpu CPU temperature from therm_adt746x # adt746xfan Fan speed from therm_adt746x # battery (num) Remaining capasity in ACPI or APM # battery. ACPI battery number can be # given as argument (default is BAT0). # buffers Amount of memory buffered # cached Amount of memory cached # color (color) Change drawing color to color # cpu CPU usage in percents # cpubar (height) Bar that shows CPU usage, height is # bar's height in pixels # downspeed net Download speed in kilobytes # downspeedf net Download speed in kilobytes with one # decimal # exec shell command Executes a shell command and displays # the output in torsmo. warning: this # takes a lot more resources than other # variables. I'd recommend coding wanted # behaviour in C and posting a patch :-). # execi interval, shell Same as exec but with specific interval. # command Interval can't be less than # update_interval in configuration. # fs_bar (height), (fs) Bar that shows how much space is used on # a file system. height is the height in # pixels. fs is any file on that file # system. # fs_free (fs) Free space on a file system available # for users. # fs_free_perc (fs) Free percentage of space on a file # system available for users. # fs_size (fs) File system size # fs_used (fs) File system used space # hr (height) Horizontal line, height is the height in # pixels # i2c (dev), type, n I2C sensor from sysfs (Linux 2.6). dev # may be omitted if you have only one I2C # device. type is either in (or vol) # meaning voltage, fan meaning fan or temp # meaning temperature. n is number of the # sensor. See /sys/bus/i2c/devices/ on # your local computer. # kernel Kernel version # loadavg (1), (2), (3) System load average, 1 is for past 1 # minute, 2 for past 5 minutes and 3 for # past 15 minutes. # machine Machine, i686 for example # mails Mail count in mail spool. You can use # program like fetchmail to get mails from # some server using your favourite # protocol. See also new_mails. # mem Amount of memory in use # membar (height) Bar that shows amount of memory in use # memmax Total amount of memory # memperc Percentage of memory in use # new_mails Unread mail count in mail spool. # nodename Hostname # outlinecolor (color) Change outline color # pre_exec shell command Executes a shell command one time before # torsmo displays anything and puts output # as text. # processes Total processes (sleeping and running) # running_processes Running processes (not sleeping), # requires Linux 2.6 # shadecolor (color) Change shading color # stippled_hr (space), Stippled (dashed) horizontal line # (height) # swapbar (height) Bar that shows amount of swap in use # swap Amount of swap in use # swapmax Total amount of swap # swapperc Percentage of swap in use # sysname System name, Linux for example # time (format) Local time, see man strftime to get more # information about format # totaldown net Total download, overflows at 4 GB on # Linux with 32-bit arch and there doesn't # seem to be a way to know how many times # it has already done that before torsmo # has started. # totalup net Total upload, this one too, may overflow # updates Number of updates (for debugging) # upspeed net Upload speed in kilobytes # upspeedf net Upload speed in kilobytes with one # decimal # uptime Uptime # uptime_short Uptime in a shorter format # # seti_prog Seti@home current progress # seti_progbar (height) Seti@home current progress bar # seti_credit Seti@hoome total user credit ## antiX additives examples. Add below Text## ##Battery examples## ##${color}battery: ${color}$acpiacadapter, ${battery_percent BAT1}% ##${color}battery:${color} ${battery} #${color}ACPI Battery: ${color}$battery #${battery_bar 11,0} ##Wireless example## #${color}Wireless: #${color}essid: ${wireless_essid wlan0} #${color}IP:${color} ${addr wlan0} #${color}speed: ${color} ${wireless_bitrate wlan0} #${color}link strength: ${color} ${wireless_link_bar 7,50 wlan0} # stuff after 'TEXT' will be formatted on screen TEXT # Original, commented out, don't like hard coded text, prefer to query live system via CLI #${color3}${alignc}${color}antiX # Commented out, I prefer custom hostnames, not 10 systems all named antix1! #${color3}${alignc}${color} ${pre_exec hostname} # Next command works as expected in antix 17.x, shows Debian Buster in 19.x! Not as useful. #${color3}${alignc}${color} ${pre_exec lsb_release -d | cut -f2} # Replacement for lsb_release invocation, hopefully it works in both 17.x and 19.x! ${color3}${alignc}${color} ${pre_exec less /etc/live/version/antiX | grep :a} ${color3}${alignc}${color} ${pre_exec less /etc/live/version/antiX | grep n:1} ${color3}${color} ${hr 2} ${color}${alignc}${color}$alignc${font DejaVu Sans:size=12}${time %I:%M %P} $font #${color8}$alignc${font DejaVu Sans:size=12}${time %I:%M} $font ${color}${alignc}${time %a %d %B %Y} ${color}${alignc} ${color8}On: ${color}$uptime ${color3}${color} ${stippled_hr 1} # 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/ LBSF temperature (5)} # https://github.com/chubin/wttr.in ${color3}${alignc}${color} ${pre_exec curl wttr.in/?format="%c+%t+%0+%p\n"} ${color3}${color} ${stippled_hr 1} ${color3}Fm/Wm:${color8}${alignr}${exec disp=${DISPLAY#:}; disp=${disp%.[0-9]}; cat $HOME/.desktop-session/desktop-code.$disp 2>/dev/null} ${color}Res:${alignr}${color8}${execi 60 xdpyinfo | sed -n -r "s/^\s*dimensions:.*\s([0-9]+x[0-9]+).*/\1/p"} #${color}dpi:${alignr}${color3}${execi 60 sed -nr "s/^\s*Xft.dpi:\s*([0-9]+(x[0-9]+)?).*/\1/p" $HOME/.Xresources | grep "[0-9]" || echo 96} ${color}Automount: ${alignr}${color8}${execi 60 grep -q "^automount=TRUE" $HOME/.desktop-session/automount.conf 2>/dev/null && echo "enabled" || echo "disabled"} ${color3}${color} ${stippled_hr 1} ${color}Cpu:${alignr}${color8}${cpu}${color8}% ${color3}${alignc}Core 0 temp:${color8} ${alignr}${hwmon 0 temp 2 input}°C ${color}${alignc}Freq:${color8}${alignr}${freq} Mhz #${color}$alignr${cpugraph cpu0 30,170 5599cc 5599cc} ${color}Disk activity:${alignr}${color8}${diskio} #${color}${alignr}${diskiograph 30,170 5599cc 5599cc} ${color3}${color} ${stippled_hr 1} #${if_up eth0} #${color}eth0 up: $alignr${color3} ${upspeed eth0} #${color}$alignr${upspeedgraph eth0 30,170 5599cc 5599cc} #${color}eth0 down: $alignr${color3} ${downspeed eth0} #${color2}$alignr${downspeedgraph eth0 30,170 5599cc 5599cc}${endif}${if_up eth1} #${color}eth1 up: $alignr${color3} ${upspeed eth1} #${color}$alignr${upspeedgraph eth1 30,170 5599cc 5599cc} #${color}eth1 down: $alignr${color3} ${downspeed eth1} #${color2}$alignr${downspeedgraph eth1 30,170 5599cc 5599cc}${endif} ${if_up wlan0}${color}Wlan upload: $alignr${color8} ${upspeed wlan0} #${color2}$alignr${upspeedgraph wlan0 30,170 5599cc 5599cc} ${color}Wlan download: $alignr${color8} ${downspeed wlan0} ${color3}${color} ${stippled_hr 1} ${color}Essid:${alignr}${color8} ${wireless_essid wlan0} ${color}Ip:${alignr}${color8} ${addr wlan0} ${color}Speed:${alignr} ${color8} ${wireless_bitrate wlan0} ${color}Link strength:${alignr} ${color8} ${wireless_link_qual_max wlan0} #${color8}link strength: ${color8} ${wireless_link_bar 7,50 wlan0} #${color2}$alignr${downspeedgraph wlan0 30,170 5599cc 5599cc}${endif}${if_up wlan1} #${color}wlan1 up: $alignr${color3} ${upspeed wlan1} #${color2}$alignr${upspeedgraph wlan1 30,170 5599cc 5599cc} #${color}wlan1 down: $alignr${color3} ${downspeed wlan1} #${color2}$alignr${downspeedgraph wlan1 30,170 5599cc 5599cc}${endif} ${color3}${color} ${stippled_hr 1} ${color}${alignr}${color8}Used ${color}/ Total ${color}Ram:${alignr}${color8}$mem ${color3} /${color} $memmax ${color}Swap:${alignr}${color8}$swap ${color3} /${color} $swapmax ${color}Disk:${alignr}${color8}${fs_used /} ${color3} /${color} ${fs_size /} ${color8}${alignc}${execi 1000 persist-enabled} ${color3}${color} ${stippled_hr 1} #For reference what the battery and power adapter are called: # ls -la /sys/class/power_supply # or man conky ${color3}Ac adapter:${alignr}${color8} ${acpiacadapter ACAD} ${color}Battery: ${alignr} ${color8}${battery BAT1} #${color}Battery:${alignr} ${color8}${battery_percent BAT1}% ##${color}battery:${color} ${battery} #${color}ACPI Battery: ${color}$battery #${battery_bar 11,0 BAT1} #${execi 1000 acpi 2>/dev/null | grep -q . && echo "Batt: "}${execi 10 acpi -b 2>/dev/null | cut -d" " -f3,4 | sed 's/,$//'} ${color3}${color} ${stippled_hr 1} #${color3}${alignc}${color} ${pre_exec inxi -B | grep charge | cut -d " " -f5-11}