Skip to content

Instantly share code, notes, and snippets.

@ntropy83
Created February 17, 2024 20:22
Show Gist options
  • Save ntropy83/de8aa353df0ca293168a9a54058625a4 to your computer and use it in GitHub Desktop.
Save ntropy83/de8aa353df0ca293168a9a54058625a4 to your computer and use it in GitHub Desktop.
.conkyrc
# set to yes if you want Conky to be forked in the background
background yes
# Use Xft?
use_xft yes
# Xft font when Xft is enabled
#xftfont sans:size=10
xftfont Clean:size=9
# Text alpha when using Xft
xftalpha 0.8
# Update interval in seconds
update_interval 1.0
# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0
# Create own window instead of using desktop (required in nautilus)
own_window yes
# If own_window is yes, you may use type normal, desktop or override
#dock
#own_window_type override
# Use pseudo transparency with own_window?
own_window_transparent yes
own_window_argb_visual yes
own_window_class override
# If own_window_transparent is set to no, you can set the background
colour here
#own_window_colour black
# 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 500 500
#Maximum width
maximum_width 500
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around graphs
draw_graph_borders no
# Draw borders around text
draw_borders no
# Stippled borders?
#stippled_borders 8
# border margins
#border_margin 1
# border width
#border_width 1
# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right
#alignment none
#alignment top_middle
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 3
gap_y 25
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# 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 yes
default_color F4EEE4
default_shade_color 000000
default_outline_color 222222
cpu_avg_samples 1
net_avg_samples 2
#${font size=18}$Nodename $kernel
#${alignc}${font OpenLogos:pixelsize=40}J
TEXT
${voffset 10}${color #3b83ff}${font OpenLogos:size=30}${voffset 50}${font}${kernel}
${voffset -2}Arch Linux OS
${alignc}${color lightgrey}Uptime:$color $uptime
${color lightgrey}${alignc}${time %A - %d-%m-%Y - %H:%M.%S}
${color #3b83ff}CPU $stippled_hr ${alignr}
${color grey}13th Gen Intel® Core™ i9-13905H
${color lightgrey}Freq.: $color${freq_g} GHz ${color lightgrey}${alignr}Temp: ${execi 5 sensors | grep 'Package id 0' | cut -c 17-24}
${color lightgrey}Usage: ${color lightgrey}$cpu% ${cpubar 3}$color
${cpugraph 1, a1a1a1 cd8500}
${color #3b83ff}GPU 1 $stippled_hr ${alignr}
${color grey}Iris Xe Graphics
${color}Mesa version: ${execi 3600 glxinfo | grep 'Version' | cut -c 14-25}
${color #3b83ff}GPU 2 $stippled_hr ${alignr}
${color grey}NVIDIA Geforce RTX 4060 Max-Q ${if_match "${execi 5 cat /sys/class/drm/card0/device/power_state}" == "D3Cold"}${color}- standby${else}${color}${execi 5 sh ~/.conkyrc_nvidia.sh}${endif}
${color #3b83ff}Memory $stippled_hr ${alignr}
${color lightgrey}Ram: ${color lightgrey} $mem / $memmax ${membar 3}
${color lightgrey}Usage:${color lightgrey} $memperc%
${color lightgrey}Swap: ${color lightgrey} $swap / $swapmax ${swapbar 3}
${color lightgrey}Usage:${color lightgrey} $swapperc%
${color #3b83ff}Procs $stippled_hr ${alignr}
${color lightgrey}Total:$color $processes ${color lightgrey}Running:$color $running_processes
${color lightgrey}PID CPU% MEM%$color Proc
${color lightgrey}${top_mem pid 1}${top_mem cpu 1}$color${top_mem mem 1} ${top_mem name 1}
${color lightgrey}${top_mem pid 2}${top_mem cpu 2}$color${top_mem mem 2} ${top_mem name 2}
${color lightgrey}${top_mem pid 3}${top_mem cpu 3}$color${top_mem mem 3} ${top_mem name 3}
${color lightgrey}${top_mem pid 4}${top_mem cpu 4}$color${top_mem mem 4} ${top_mem name 4}
${color lightgrey}${top_mem pid 5}${top_mem cpu 5}$color${top_mem mem 5} ${top_mem name 5}
${color #3b83ff}Disk $stippled_hr ${font}
${color lightgrey}root $alignr ${color lightgrey}${fs_used /} / ${fs_size /}
${fs_bar 3 /}
${color #3b83ff}Networking $stippled_hr ${font}
${color lightgrey}WLAN
${downspeedgraph wlp0s20f3 15,100 a1a1a1 cd8500} $alignr${color lightgrey}${upspeedgraph wlp0s20f3 15,100 cd8500 a1a1a1}
${color grey}Down:${color white} ${downspeed wlp0s20f3}/s${color lightgrey} ${offset 70} ${alignr}Up:${color white} ${upspeed wlp0s20f3}/s
${color grey}Downloaded:$color ${totaldown wlp0s20f3}
${color grey}Uploaded: $color ${totalup wlp0s20f3}
${color #3b83ff}Battery $stippled_hr ${font}
${color lightgrey}Battery: ${battery BAT0} ${battery_bar BAT0}
${battery_time BAT0}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment