Upload files to "content/conky"
This commit is contained in:
parent
795d77497d
commit
530d0b66ef
1 changed files with 209 additions and 0 deletions
209
content/conky/.conkyrc
Normal file
209
content/conky/.conkyrc
Normal file
|
@ -0,0 +1,209 @@
|
||||||
|
--[[
|
||||||
|
#======================================================================================
|
||||||
|
# CONKY
|
||||||
|
# For commands in conky.config section:
|
||||||
|
# http://conky.sourceforge.net/config_settings.html
|
||||||
|
#
|
||||||
|
# For commands in conky.text section:
|
||||||
|
# http://conky.sourceforge.net/variables.html
|
||||||
|
#
|
||||||
|
# A PDF with all variables is provided
|
||||||
|
#
|
||||||
|
#======================================================================================
|
||||||
|
]]
|
||||||
|
|
||||||
|
conky.config = {
|
||||||
|
|
||||||
|
--Various settings
|
||||||
|
|
||||||
|
background = true, -- forked to background
|
||||||
|
cpu_avg_samples = 1, -- The number of samples to average for CPU monitoring.
|
||||||
|
diskio_avg_samples = 1, -- The number of samples to average for disk I/O monitoring.
|
||||||
|
double_buffer = true, -- Use the Xdbe extension? (eliminates flicker)
|
||||||
|
if_up_strictness = 'link', -- how strict if testing interface is up - up, link or address
|
||||||
|
net_avg_samples = 1, -- The number of samples to average for net data
|
||||||
|
no_buffers = true, -- Subtract (file system) buffers from used memory?
|
||||||
|
temperature_unit = 'celsius', -- fahrenheit or celsius
|
||||||
|
text_buffer_size = 2048, -- size of buffer for display of content of large variables - default 256
|
||||||
|
update_interval = 3, -- update interval
|
||||||
|
imlib_cache_size = 0, -- disable image cache to get a new spotify cover per song
|
||||||
|
|
||||||
|
|
||||||
|
--Placement
|
||||||
|
|
||||||
|
alignment = 'top_right', -- top_left,top_middle,top_right,bottom_left,bottom_middle,bottom_right,
|
||||||
|
-- middle_left,middle_middle,middle_right,none
|
||||||
|
--Arch Duoscreen
|
||||||
|
--gap_x = -1910,
|
||||||
|
gap_x = 25, -- pixels between right or left border
|
||||||
|
gap_y = 20, -- pixels between bottom or left border
|
||||||
|
minimum_height = 600, -- minimum height of window
|
||||||
|
minimum_width = 245, -- minimum width of window
|
||||||
|
maximum_width = 325, -- maximum width of window
|
||||||
|
|
||||||
|
--Graphical
|
||||||
|
|
||||||
|
border_inner_margin = 1, -- margin between border and text
|
||||||
|
border_outer_margin = 1, -- margin between border and edge of window
|
||||||
|
border_width = 0, -- border width in pixels
|
||||||
|
default_bar_width = 80, -- default is 0 - full width
|
||||||
|
default_bar_height = 10, -- default is 6
|
||||||
|
default_gauge_height = 25, -- default is 25
|
||||||
|
default_gauge_width =40, -- default is 40
|
||||||
|
default_graph_height = 40, -- default is 25
|
||||||
|
default_graph_width = 0, -- default is 0 - full width
|
||||||
|
default_shade_color = '#000000', -- default shading colour
|
||||||
|
default_outline_color = '#000000', -- default outline colour
|
||||||
|
draw_borders = false, -- draw borders around text
|
||||||
|
draw_graph_borders = true, -- draw borders around graphs
|
||||||
|
draw_shades = false, -- draw shades
|
||||||
|
draw_outline = false, -- draw outline
|
||||||
|
stippled_borders = 0, -- dashing the border
|
||||||
|
|
||||||
|
--Textual
|
||||||
|
|
||||||
|
extra_newline = false, -- extra newline at the end - for asesome's wiboxes
|
||||||
|
format_human_readable = true, -- KiB, MiB rather then number of bytes
|
||||||
|
font = 'Liberation Sans: style=Bold: size=12', -- font for complete conky unless in code defined
|
||||||
|
max_text_width = 0, -- 0 will make sure line does not get broken if width too smal
|
||||||
|
max_user_text = 16384, -- max text in conky default 16384
|
||||||
|
override_utf8_locale = true, -- force UTF8 requires xft
|
||||||
|
short_units = true, -- shorten units from KiB to k
|
||||||
|
top_name_width = 21, -- width for $top name value default 15
|
||||||
|
top_name_verbose = false, -- If true, top name shows the full command line of each process - Default value is false.
|
||||||
|
uppercase = false, -- uppercase or not
|
||||||
|
use_spacer = 'none', -- adds spaces around certain objects to align - default none
|
||||||
|
use_xft = true, -- xft font - anti-aliased font
|
||||||
|
xftalpha = 1, -- alpha of the xft font - between 0-1
|
||||||
|
|
||||||
|
--Windows
|
||||||
|
|
||||||
|
own_window = true, -- create your own window to draw
|
||||||
|
own_window_argb_value = 0, -- real transparency - composite manager required 0-255
|
||||||
|
own_window_argb_visual = true, -- use ARGB - composite manager required
|
||||||
|
own_window_colour = '#000000', -- set colour if own_window_transparent no
|
||||||
|
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager', -- if own_window true - just hints - own_window_type sets it
|
||||||
|
own_window_transparent = false, -- if own_window_argb_visual is true sets background opacity 0%
|
||||||
|
own_window_title = 'system_conky', -- set the name manually - default conky "hostname"
|
||||||
|
own_window_type = 'normal', -- if own_window true options are: normal/override/dock/desktop/panel
|
||||||
|
|
||||||
|
|
||||||
|
--Colours
|
||||||
|
|
||||||
|
default_color = '#FFFFFF', -- default color and border color
|
||||||
|
color1 = '#F1F1F2',
|
||||||
|
color2 = '#E80808',
|
||||||
|
color3 = '#00d52a',
|
||||||
|
color4 = '#eee100',
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
conky.text = [[
|
||||||
|
${execi 10000 awk -F= '/TION/ {print $2}' /etc/lsb-release |sed 's/"//g'} ${execi 10000 awk -F= '/EASE=/ {printf $2" "} /NAME/ {print $2}' /etc/lsb-release}
|
||||||
|
$stippled_hr
|
||||||
|
##############
|
||||||
|
# - SYSTEM - #
|
||||||
|
##############
|
||||||
|
Gépnév: $alignr ${execi 10000}$nodename
|
||||||
|
Kernel: $alignr ${execi 10000}$kernel
|
||||||
|
Futásiidő: $alignr ${execi 10000}$uptime
|
||||||
|
Frissítések: $alignr ${execi 10000 checkupdates | awk 'END { print (NR == 0 ? "Nincs elérhető" : NR " csomag frissíthető" (NR > 1 ? "s" : "")); }'}
|
||||||
|
#Akkumlátor: $alignr ${execi 100} ${battery_percent BAT1}
|
||||||
|
|
||||||
|
# |--CPU
|
||||||
|
CPU: ${execi 1000000 grep -m1 'model name' /proc/cpuinfo | cut -c13-29}$stippled_hr
|
||||||
|
$alignc ${freq_g (1)} GHz ${if_match "${execi 10 sensors k10temp-pci-00c3 | grep 'Tctl' | cut -c16-17}" <="45"}${color} ${else} ${color orange} ${if_match "${execi 10 sensors k10temp-pci-00c3 | grep 'Tctl' | cut -c16-17}" >="60"}${color red} ${endif} ${endif} ${execi 10 sensors k10temp-pci-00c3 | grep 'Tctl' | cut -c16-22}
|
||||||
|
${color}
|
||||||
|
#$alignc ${hwmon 2 temp 1}°C
|
||||||
|
CPU1: ${cpu cpu1}% $alignr${cpugraph cpu1 8,110}
|
||||||
|
CPU2: ${cpu cpu2}% $alignr${cpugraph cpu2 8,110}
|
||||||
|
CPU3: ${cpu cpu3}% $alignr${cpugraph cpu3 8,110}
|
||||||
|
CPU4: ${cpu cpu4}% $alignr${cpugraph cpu4 8,110}
|
||||||
|
CPU5: ${cpu cpu5}% $alignr${cpugraph cpu5 8,110}
|
||||||
|
CPU6: ${cpu cpu6}% $alignr${cpugraph cpu6 8,110}
|
||||||
|
CPU7: ${cpu cpu7}% $alignr${cpugraph cpu7 8,110}
|
||||||
|
CPU8: ${cpu cpu8}% $alignr${cpugraph cpu8 8,110}
|
||||||
|
CPU9: ${cpu cpu9}% $alignr${cpugraph cpu9 8,110}
|
||||||
|
CPU10: ${cpu cpu10} %$alignr${cpugraph cpu10 8,110}
|
||||||
|
CPU11: ${cpu cpu11} %$alignr${cpugraph cpu11 8,110}
|
||||||
|
CPU12: ${cpu cpu12} %$alignr${cpugraph cpu12 8,110}
|
||||||
|
|
||||||
|
# |--MEM
|
||||||
|
RAM: $memperc% $alignr${mem} / ${memmax}
|
||||||
|
$alignr${membar 3,320}
|
||||||
|
# |--SWAP
|
||||||
|
Swap: $swapperc% $alignr$swap / $swapmax
|
||||||
|
${swapbar 3,320}
|
||||||
|
|
||||||
|
# |--GPU AMD
|
||||||
|
GPU: ${execi 6000 hwinfo --gfxcard | grep "Model"| cut -c 11-18} $stippled_hr
|
||||||
|
Driver: Mesa ${execi 60 glxinfo | grep Version | cut -c 14-23}
|
||||||
|
OpenGL: ${execi 10000 glxinfo | grep "OpenGL version" |cut -c 52-70}
|
||||||
|
${goto 20} Kihasználtság: ${alignr} ${exec cat /sys/class/drm/card1/device/gpu_busy_percent} %
|
||||||
|
${goto 20} Frekvencia ${alignr} ${exec grep -Po '\d+:\s\K(\d+)(?=.*\*$)' /sys/class/drm/card1/device/pp_dpm_sclk} MHz
|
||||||
|
${goto 20} VRAM: ${exec glxinfo | grep 'dedicated'| cut -c48-60} of ${exec glxinfo | grep 'Dedicated'| cut -c29-60} ${goto 290}
|
||||||
|
#${goto 20} VRAM: ${execi 5 radeontop -d- -l1 | grep -o 'vram [0-9]\{1,3\}' | cut -c 1-10}%
|
||||||
|
${goto 20} VRAM: ${alignr} ${exec numfmt --to=iec < /sys/class/drm/card1/device/mem_info_vram_used} / ${exec numfmt --to=iec < /sys/class/drm/card1/device/mem_info_vram_total}
|
||||||
|
|
||||||
|
Hőmérséklet: ${alignr} ${execi 2 sensors | grep "fan1"|cut -c14-22}
|
||||||
|
${goto 20} edge: $alignr ${exec sensors amdgpu-pci-0300|grep "edge"|cut -c16-22}
|
||||||
|
${goto 20} junction: $alignr ${exec sensors|grep "junction"|cut -c16-22}
|
||||||
|
${goto 20} mmem: $alignr ${exec sensors | grep "mem"|cut -c16-22}
|
||||||
|
Fogyasztás: $alignr ${exec sensors amdgpu-pci-0300 | grep "PPT"|cut -c14-22}
|
||||||
|
#
|
||||||
|
#NVIDIA 1050TI $stippled_hr
|
||||||
|
#Driver: ${alignr}${nvidia driverversion}
|
||||||
|
#Orajel: ${alignr}${nvidia gpufreqcur} Mhz
|
||||||
|
#Memória:${alignr}${nvidia memused} MB / ${nvidia memfree} MB
|
||||||
|
#GPU Hőfok: ${alignr}${nvidia gputemp}°C
|
||||||
|
#Ventillátor: ${alignr}${nvidia fanlevel}%
|
||||||
|
#GPU terhelés:${alignr}${nvidia gpuutil}% ${nvidiabar 5,80 gpuutil}
|
||||||
|
#
|
||||||
|
# |--PROC
|
||||||
|
$stippled_hr
|
||||||
|
FOLYAMATOK: ${alignr 13} CPU RAM
|
||||||
|
${top name 1}${goto 150}${top cpu 1}${alignr }${top mem 1}
|
||||||
|
${top name 2}${goto 150}${top cpu 2}${alignr }${top mem 2}
|
||||||
|
${top name 3}${goto 150}${top cpu 3}${alignr }${top mem 3}
|
||||||
|
${top name 4}${goto 150}${top cpu 4}${alignr }${top mem 4}
|
||||||
|
${top name 5}${goto 150}${top cpu 5}${alignr }${top mem 5}
|
||||||
|
${top name 6}${goto 150}${top cpu 6}${alignr }${top mem 6}
|
||||||
|
|
||||||
|
###############
|
||||||
|
# - LEMEZEK - #
|
||||||
|
###############
|
||||||
|
LEMEZEK $stippled_hr
|
||||||
|
/: ${hwmon nvme temp 1}°C ${alignr}${fs_used /} / ${fs_size /}
|
||||||
|
${fs_bar 3,320 /}
|
||||||
|
#
|
||||||
|
${if_existing /run/media/egon/FE022DF0022DAE99/} /SSD: ${hwmon nvme temp 2}°C ${alignr}${fs_used /run/media/egon/FE022DF0022DAE99/} / ${fs_size /run/media/egon/FE022DF0022DAE99/}
|
||||||
|
${fs_bar 3,320 /run/media/egon/FE022DF0022DAE99/} ${endif}
|
||||||
|
#
|
||||||
|
${if_existing /run/media/egon/uj_kotet/} /HDD: ${hwmon hdd temp 1}°C ${alignr}${fs_used /run/media/egon/uj_kotet/} / ${fs_size /run/media/egon/uj_kotet/}
|
||||||
|
${fs_bar 3,320 /run/media/egon/uj_kotet/} ${endif}
|
||||||
|
#
|
||||||
|
###############
|
||||||
|
# - NETWORK - #
|
||||||
|
###############
|
||||||
|
########################vezetékes
|
||||||
|
HÁLÓZAT $stippled_hr
|
||||||
|
${goto 20}DNS: ${alignr}$nameserver
|
||||||
|
${goto 20}Router IP:${alignr}${gw_ip}
|
||||||
|
${goto 20}Local IP:${alignr}${addr enp14s0}
|
||||||
|
|
||||||
|
LAN $alignr Ping: ${execi 450 ping www.google.com -c 1 | grep time= | rev | cut -c -6 | rev}
|
||||||
|
${alignc}${downspeedgraph enp14s0 8,320}
|
||||||
|
Letöltés: $alignr${downspeed enp14s0}
|
||||||
|
#
|
||||||
|
${alignc}${upspeedgraph enp14s0 8,320}
|
||||||
|
Feltöltés: $alignr${upspeed enp14s0}
|
||||||
|
|
||||||
|
|
||||||
|
$stippled_hr
|
||||||
|
# |--DATE
|
||||||
|
${execpi 60 DJS="`date +%_d`"; cal |
|
||||||
|
sed s/"\(^\|[^0-9]\)$DJS"'\b'/'\1${color orange}'"$DJS"'$color'/ |
|
||||||
|
sed s/^/'${offset 45}'/}${font Droid Sans :size=9}
|
||||||
|
|
||||||
|
]];
|
Loading…
Reference in a new issue