Skip to content

Instantly share code, notes, and snippets.

@shahinism
Created August 15, 2016 07:19
Show Gist options
  • Save shahinism/98522521c5ba9a5992b517706797047d to your computer and use it in GitHub Desktop.
Save shahinism/98522521c5ba9a5992b517706797047d to your computer and use it in GitHub Desktop.
My conkyrc
-- vim: ts=4 sw=4 noet ai cindent syntax=lua
conky.config = {
------------------------------
-- Generic
------------------------------
background = true,
update_interval = 1,
double_buffer = true,
no_buffers = true,
imlib_cache_size = 10,
draw_shades=false,
draw_outline=false,
draw_borders=false,
draw_graph_borders=false,
default_graph_height=26,
default_graph_width=80,
show_graph_scale=true,
show_graph_range=false,
------------------------------
-- Window
------------------------------
alignment = 'top_right',
gap_x = 30,
gap_y = 50,
own_window = true,
own_window_type = 'normal',
own_window_hints="undecorated,below,sticky,skip_taskbar,skip_pager",
border_inner_margin=0,
border_outer_margin=5,
own_window_argb_visual = true,
own_window_argb_value = 150,
------------------------------
-- Text
------------------------------
use_xft = true,
xft_alpha = 1,
font = 'Hack:size=9',
text_buffer_size = 256,
override_utf8_locale=true,
-------------------------------------
-- Color Scheme
-------------------------------------
default_color="FFFFFF",
color1="3A3A3A",
color2="FFFFFF",
color3="F42828",
}
conky.text = [[
${alignc}${color green}Status:
${color 206414}$hr$color
${color gray}uptime: ${alignr}$color$uptime
${color gray}Frequency (in GHz): ${alignr}$color$freq_g
${color gray}RAM Usage: ${alignr}$color$mem/$memmax - $memperc%
${membar 4}
${color gray}Swap Usage: ${alignr}$color$swap/$swapmax - $swapperc%
${swapbar 4}
${color gray}CPU Usage: ${alignr}$color$cpu%
${cpubar 4}
${color gray}Processes:$color $processes ${goto 145} ${color gray}Running:$color $running_processes
${alignc}${color green}File system:
${color 206414}$hr$color
${color gray}/: ${alignr}$color${fs_used /}/${fs_size /}
${fs_bar 6 /}
${color gray}/home: ${alignr}$color${fs_used /home}/${fs_size /home}
${fs_bar 6 /home}
${alignc}${color green}Networking:
${color 206414}$hr$color
${color 6cff00}↑ ${upspeed enp2s0} ${goto 145} ${color ff2400}↓ ${downspeed enp2s0}
${color 6cff00}+ ${totalup enp2s0} ${goto 145} ${color ff2400}+ ${totaldown enp2s0} $color
${upspeedgraph enp2s0 20,120 888888 6cff00 -l} ${downspeedgraph enp2s0 20,120 888888 ff2400 -l}
${alignc}${color green}Glance:
${color 206414}$hr$color
${color gray}Name PID CPU% MEM%
${color lightgray}${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color lightgray}${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color lightgray}${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color lightgray}${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment