Last active
April 3, 2017 00:05
-
-
Save astronasutarou/e1e12a0f64390f803e8e692f0daa1750 to your computer and use it in GitHub Desktop.
.conkyrc template for LinuxMint
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# .conkyrc: the original version created by fabsh <[email protected]> | |
# v. 1.0 | |
# Use Xft? | |
use_xft yes | |
xftfont M+ 1p:Light:size=16 | |
xftalpha 1.0 | |
text_buffer_size 2048 | |
# Update interval in seconds | |
update_interval 4 | |
# This is the number of times Conky will update before quitting. | |
# Set to zero to run forever. | |
total_run_times 0 | |
own_window yes | |
own_window_transparent yes | |
#own_window_type override | |
own_window_type desktop | |
# If own_window is yes, these window manager hints may be used | |
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager | |
# Use double buffering (reduces flicker, may not work for everyone) | |
double_buffer yes | |
# Minimum size of text area | |
minimum_size 440 2000 | |
maximum_width 500 | |
# 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 5 | |
# border width | |
border_width 1 | |
# Default colors and also border colors | |
default_color 999999 | |
own_window_colour grey | |
# 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 | |
# same thing as passing -x at command line | |
gap_x 12 | |
gap_y 8 | |
# Subtract file system buffers from used memory? | |
no_buffers yes | |
# set to yes if you want all text to be in uppercase | |
uppercase no | |
# number of cpu samples to average | |
# set to 1 to disable averaging | |
cpu_avg_samples 1 | |
# number of net samples to average | |
# set to 1 to disable averaging | |
net_avg_samples 2 | |
# Force UTF8? note that UTF8 support required XFT | |
override_utf8_locale yes | |
# Add spaces to keep things from moving about? This only affects certain objects. | |
use_spacer none | |
TEXT | |
${font Ubuntu:size=12}SYSTEM ${hr 2}${font} | |
${alignc}${font Project Paintball + Ikamodoki:size=48}${nodename}${font} | |
${voffset 1} | |
${font FontAwesome:size=16}${font}${voffset -6} Kernel: ${alignr}${kernel} | |
${font FontAwesome:size=16}${font}${voffset -6} CPU1: ${cpu cpu1}% ${alignr}${cpubar cpu1 14,180} | |
${font FontAwesome:size=16}${font}${voffset -6} CPU2: ${cpu cpu2}% ${alignr}${cpubar cpu2 14,180} | |
${font FontAwesome:size=16}${font}${voffset -6} CPU3: ${cpu cpu3}% ${alignr}${cpubar cpu3 14,180} | |
${font FontAwesome:size=16}${font}${voffset -6} CPU4: ${cpu cpu4}% ${alignr}${cpubar cpu4 14,180} | |
${font FontAwesome:size=16}${font}${voffset -6} RAM: $memperc% ${alignr}${membar 14,180} | |
${font FontAwesome:size=14}${font}${voffset -6} SWAP: $swapperc% ${alignr}${swapbar 14,180} | |
${voffset -4}${if_existing /sys/class/power_supply/AC/online 1}${color 99ff99}${font FontAwesome:siz=16}${font}${voffset -6} Charging: ${battery_percent BAT0}% ${alignr}${battery_time}${color}${else}${font FontAwesome:size=16}${if_match ${battery_percent} < 5}${color ff9999}${else}${if_match ${battery_percent} < 20}${else}${if_match ${battery_percent} < 40}${else}${if_match ${battery_percent} < 60}${else}${if_match ${battery_percent} < 80}${else}${endif}${endif}${endif}${endif}${endif}${font}${voffset -6} Battery: ${battery_percent BAT0}% ${alignr}${battery_time}${endif}${color} | |
${font FontAwesome:size=16}${font}${voffset -6} Uptime: ${alignr}${uptime} | |
${font Ubuntu:size=12}DATE ${hr 2}${font} | |
${alignc}${font Project Paintball + Ikamodoki:size=48}${time %H:%M:%S}${font} | |
${voffset 2}${alignc}${font M+ 1p:Light:size=20}${time %A, %d %B %Y}${font} | |
${voffset 20}${font Nimbus Mono L:size=20}${execpi 3600 cal -h | tail -n+3 | sed -e '/^\s*$/d' -e 's/^/\${alignc} /' -e "s/$(date +%d|sed 's/^0/ /') /\${color eeaa77}&\${color}/"}${font} | |
${font Ubuntu:size=12}HD ${hr 2}${font} | |
${voffset -4}${font FontAwesome:size=14}${font}${voffset -6} Root ${alignr}${fs_used /}/${fs_size /} ${voffset 3}${fs_bar 14,80 /} | |
${if_mounted /media/ohsawa/BACKUP}${voffset -4}${font FontAwesome:size=14}${font}${voffset -6} BACKUP ${alignr}${fs_used /media/ohsawa/BACKUP}/${fs_size /media/ohsawa/BACKUP} ${voffset 3}${fs_bar 14,80 /media/ohsawa/BACKUP}${else}${voffset -10}${endif} | |
${font Ubuntu:size=12}NETWORK ${hr 2}${font} | |
${if_existing /proc/net/route wlp4s0}${voffset -10}${alignr}${font Project Paintball + Ikamodoki:size=18}wlp4s0: ${addr wlp4s0}${font} | |
${voffset -8}${font FontAwesome:size=14}${font}${voffset -6} Up: ${upspeed wlp4s0}${alignr}${upspeedgraph wlp4s0 14,180 black black} | |
${voffset -4}${font FontAwesome:size=14}${font}${voffset -6} Down: ${downspeed wlp4s0}${alignr}${downspeedgraph wlp4s0 14,180 black black} | |
${voffset -4}${font FontAwesome:size=14}${font}${voffset -6} Upload: ${alignr}${totalup wlp4s0} | |
${voffset -4}${font FontAwesome:size=14}${font}${voffset -6} Download: ${alignr}${totaldown wlp4s0} | |
${endif} | |
${if_existing /proc/net/route tun0}${voffset -10}${alignr}${font Project Paintball + Ikamodoki:size=18}tun0: ${addr tun0}${font} | |
${voffset -8}${font FontAwesome:size=14}${font}${voffset -6} Up: ${upspeed tun0}${alignr}${upspeedgraph tun0 16,180 black black} | |
${voffset -4}${font FontAwesome:size=14}${font}${voffset -6} Down: ${downspeed tun0}${alignr}${downspeedgraph tun0 16,180 black black} | |
${voffset -4}${font FontAwesome:size=14}${font}${voffset -6} Upload: ${alignr}${totalup tun0} | |
${voffset -4}${font FontAwesome:size=14}${font}${voffset -6} Download: ${alignr}${totaldown tun0} | |
${endif} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment