134 lines
3.9 KiB
Plaintext
134 lines
3.9 KiB
Plaintext
conky.config = {
|
|
-- Conky configuration
|
|
-- https://gitlab.com/nodiscc/debian-live-config
|
|
-- Enable more items by commenting out their respective lines
|
|
-- To install/enable scripts for extra functionality:
|
|
-- git clone https://gitlab.com/nodiscc/toolbox; sudo cp -r toolbox/ARCHIVE/conky-scripts /opt/
|
|
background = false,
|
|
border_margin = '5',
|
|
border_width = 5,
|
|
cpu_avg_samples = 2,
|
|
-- default_outline_color 000000
|
|
-- default_shade_color 000000
|
|
double_buffer = true,
|
|
draw_borders = false,
|
|
draw_graph_borders = false,
|
|
draw_outline = false,
|
|
draw_shades = false,
|
|
gap_x = 30,
|
|
gap_y = 50,
|
|
max_specials = '1024',
|
|
max_user_text = 10000,
|
|
maximum_width = 900,
|
|
minimum_width = 350,
|
|
net_avg_samples = 2,
|
|
no_buffers = true,
|
|
override_utf8_locale = true,
|
|
own_window_class = 'Conky',
|
|
own_window = true,
|
|
own_window_argb_visual = true,
|
|
-- own_window_argb_value 0
|
|
-- own_window_colour 000000
|
|
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
|
|
own_window_transparent = true,
|
|
own_window_type = 'normal',
|
|
pad_percents = 2,
|
|
short_units = true,
|
|
stippled_borders = 3,
|
|
text_buffer_size = 8000,
|
|
total_run_times = 0,
|
|
uppercase = false,
|
|
use_spacer = 'right',
|
|
use_xft = true,
|
|
xftalpha = 1,
|
|
update_interval = 5.0,
|
|
-- update_interval 1.0 # for second-precision clock
|
|
alignment = 'top_right',
|
|
default_color = '#FFFFFF',
|
|
-- default_color 000000
|
|
color1 = '#C6B59B',
|
|
color2 = '#FF0000',
|
|
color3 = '#00FF00',
|
|
font = 'Roboto:pixelsize=17',
|
|
font = 'Roboto:pixelsize=17',
|
|
|
|
};
|
|
|
|
conky.text = [[
|
|
##### CLOCK #####
|
|
### DAY OF WEEK ###
|
|
${font Roboto:pixelsize=40}${time %A}${font}
|
|
${hr}
|
|
### DATE ###
|
|
${font}${time %B %d, %Y}
|
|
### TIME ###
|
|
${font Roboto:pixelsize=40}${time %H:%M}${font}
|
|
### TIME WITH SECONDS ###
|
|
#${font Roboto:pixelsize=40}${time %H:%M:%S}${font}
|
|
|
|
##### SYSTEM MONITOR #####
|
|
### MEMORY/CPU USAGE (%) ###
|
|
#${color1}MEM ${color}${memperc}% ${color1}CPU ${color}${cpu cpu0}%${color1}
|
|
#
|
|
### MEMORY USAGE (ABSOLUTE) ###
|
|
#${color1}MEM USED ${color}${mem} ${color1}MEM FREE ${color}${memeasyfree}${color1}
|
|
#
|
|
### SWAP USAGE (ABSOLUTE) ###
|
|
#${color1}SWP USED ${color}${swap} ${color1}SWP FREE ${color}${swapfree}${color1}
|
|
#
|
|
### NETWORK UP/DOWN SPEED ###
|
|
#${color1}NET UP ${color}${upspeedf eth0} ${color1}NET DWN ${color}${downspeedf eth0}
|
|
#
|
|
### PRIVATE IP ADDRESS ###
|
|
#${color1}LAN IP ${color}${addr eth0}
|
|
#
|
|
### PUBLIC IP ADDRESS ###
|
|
#${color1}WAN IP ${color}${texeci 10800 curl -s https://ifconfig.me}
|
|
#
|
|
### FREE DISK SPACE ###
|
|
#${execpi 30 /opt/conky-scripts/conky-alldisks-free.sh}
|
|
#
|
|
### BATTERY/UPTIME ###
|
|
#${color1}BAT ${color}${battery_percent BAT0}% ${color1}UPTIME ${color}${uptime}
|
|
#
|
|
### NUMBER OF RUNNING PROCESSES ###
|
|
#${color1}PROCESSES ${color}${processes}
|
|
#
|
|
### TOP PROCESSES ###
|
|
#${font sans-serif:bold:size=8}TOP PROCESS ${hr}
|
|
#${font sans-serif:normal:size=8}NAME $alignr PID CPU
|
|
#${top name 1} $alignr [${top pid 1}] ${top cpu 1}
|
|
#${top name 2} $alignr ${top pid 2} ${top cpu 2}
|
|
#${top name 3} $alignr ${top pid 3} ${top cpu 3}
|
|
#${top name 4} $alignr ${top pid 4} ${top cpu 4}
|
|
#${top name 5} $alignr ${top pid 5} ${top cpu 5}
|
|
#${font}${color}
|
|
#
|
|
##### UTILITY/SCRIPTS #####
|
|
#
|
|
### MASTER VOLUME LEVEL ###
|
|
#${color1}VOLUME ${color}${texeci 5 /opt/conky-scripts/conky-master-volume.sh}
|
|
#
|
|
### QUODLIBET CURRENT TRACK + COVER ART ###
|
|
# argument: vertical position of the cover art, in pixels
|
|
#${execpi 5 /opt/conky-scripts/conky-quodlibet.sh 185}
|
|
#
|
|
#
|
|
### TIMESTAMP CHECKS ###
|
|
#${execpi 10 /opt/conky-scripts/check-max-age.py ~/.local/cache/last_backup_timestamp 2678400}
|
|
#${execpi 10 /opt/conky-scripts/check-max-age.py ~/.local/share/last_cron_success 604800}
|
|
#
|
|
### MESSAGE OF THE DAY ###
|
|
#${color1}NEWS ${color}${hr}
|
|
#${font sans-serif:normal:size=8}${texeci 300 cat /etc/motd | fold -w55}
|
|
#
|
|
### THUNDERBIRD EVENTS ###
|
|
#${color1}EVENTS ${color}${hr}
|
|
#${font Roboto:pixelsize=12}${execpi 35 /opt/conky-scripts/thundercal -l 5 events}${font}
|
|
#
|
|
### THUNDERBIRD TASKS ###
|
|
#${color1}TASKS ${color}${hr}
|
|
#${font Roboto:pixelsize=12}${execpi 30 /opt/conky-scripts/thundercal -l 5 tasks}${font}
|
|
|
|
]];
|