Skip to content

Instantly share code, notes, and snippets.

@Cactus64k
Created June 30, 2019 16:04
Show Gist options
  • Save Cactus64k/adb409f5db14d839cae4e5ced6e14405 to your computer and use it in GitHub Desktop.
Save Cactus64k/adb409f5db14d839cae4e5ced6e14405 to your computer and use it in GitHub Desktop.
conky.config = {
alignment = 'top_right',
background = false,
double_buffer = true,
border_width = 1,
cpu_avg_samples = 2,
default_color = 'white',
default_outline_color = 'white',
default_shade_color = 'white',
default_bar_height = 8,
draw_borders = false,
draw_graph_borders = true,
draw_outline = false,
draw_shades = false,
use_xft = true,
font = 'DejaVu Sans Mono:size=12',
gap_x = 25,
gap_y = 50,
net_avg_samples = 2,
no_buffers = true,
out_to_console = false,
out_to_stderr = false,
extra_newline = false,
own_window = true,
own_window_class = 'Conky',
own_window_type = 'desktop',
own_window_transparent = true,
own_window_argb_visual = true,
own_window_argb_value = 0,
stippled_borders = 0,
update_interval = 1.0,
uppercase = false,
use_spacer = 'none',
show_graph_scale = false,
show_graph_range = false
}
conky.text = [[
SYSTEM: $hr
${color grey} Uptime:$color $uptime
${color grey} Battery:$color ${battery_percent BAT0}% ${battery_bar}
${color grey}RAM Usage:$color $memperc% ${membar}
${color grey}CPU Usage:$color $cpu% ${cpubar}
${color grey}CPU Freq:$color $freq_g GHz
${color grey}CPU Temp:$color ${hwmon 0 temp 1}°C
#${color grey}Ext. IP :$color ${execi 10 wget -q -O- http://ipecho.net/plain; echo}
${color grey}Processes:$color $processes
FS: $hr
${color gray}/ $color${fs_used /}/${fs_size /} ${fs_bar /}
${color gray}/tmp $color${fs_used /tmp}/${fs_size /tmp} ${fs_bar /tmp}
${color gray}/boot $color${fs_used /boot}/${fs_size /boot} ${fs_bar /boot}
WIFI: $hr
${color grey}Up:$color ${upspeed wlp2s0} ${color grey}Down:$color ${downspeed wlp2s0}
${color grey} ESSID:$color ${wireless_essid wlp2s0} (ch: ${wireless_channel wlp2s0})
${color grey}Quality:$color ${wireless_link_qual_perc wlp2s0}% ${wireless_link_bar wlp2s0}
${color grey} AP MAC:$color ${wireless_ap wlp2s0}
${color grey} IP:$color ${addr wlp2s0}
${color grey} Temp:$color ${hwmon 3 temp 1}°C
3G-MODEM: $hr
${color grey}Up:$color ${upspeed enx582c80139263} ${color grey}Down:$color ${downspeed enx582c80139263}
${color grey}Signal:$color ${exec e303-info http://192.168.1.1/api/monitoring/status SignalStrength}% ${execbar e303-info http://192.168.1.1/api/monitoring/status SignalStrength}
${color grey} Type:$color ${exec e303-info http://192.168.1.1/api/monitoring/status CurrentNetworkType ~/.config/conky/CurrentNetworkType.replace}
${color grey} Opsos:$color ${exec e303-info http://192.168.1.1/api/net/current-plmn ShortName}
${color grey}Status:$color ${exec e303-info http://192.168.1.1/api/monitoring/status ConnectionStatus ~/.config/conky/ConnectionStatus.replace}
${color grey} SMS:$color ${exec e303-info http://192.168.1.1/api/sms/sms-count LocalUnread}
PROCSESSES: $hr
${color grey}Name PID CPU% MEM%
${color lightgrey}${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color lightgrey}${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color lightgrey}${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color lightgrey}${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${color lightgrey}${top name 5} ${top pid 5} ${top cpu 5} ${top mem 5}
${color lightgrey}${top name 6} ${top pid 6} ${top cpu 6} ${top mem 6}
${color lightgrey}${top name 7} ${top pid 7} ${top cpu 7} ${top mem 7}
${color lightgrey}${top name 8} ${top pid 8} ${top cpu 8} ${top mem 8}
${color lightgrey}${top name 9} ${top pid 9} ${top cpu 9} ${top mem 9}
]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment