From 036c889c4a4f7f59d1e1a592586b54c5c5e93005 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Sun, 26 May 2024 20:10:26 +0500 Subject: initial commit --- conky/conky-center.conf | 51 +++++++++++++++ conky/conky-old.conf | 96 ++++++++++++++++++++++++++++ conky/conky.conf | 53 ++++++++++++++++ conky/conky_minimal_left.conf | 49 +++++++++++++++ conky/conky_notes.conf | 90 +++++++++++++++++++++++++++ conky/conky_stats.conf | 50 +++++++++++++++ conky/start-conky.desktop | 13 ++++ conky/start-conky.sh | 3 + conky/system-all.conf | 141 ++++++++++++++++++++++++++++++++++++++++++ conky/test.conf | 42 +++++++++++++ 10 files changed, 588 insertions(+) create mode 100644 conky/conky-center.conf create mode 100644 conky/conky-old.conf create mode 100644 conky/conky.conf create mode 100644 conky/conky_minimal_left.conf create mode 100644 conky/conky_notes.conf create mode 100644 conky/conky_stats.conf create mode 100755 conky/start-conky.desktop create mode 100755 conky/start-conky.sh create mode 100644 conky/system-all.conf create mode 100644 conky/test.conf (limited to 'conky') diff --git a/conky/conky-center.conf b/conky/conky-center.conf new file mode 100644 index 0000000..ca38b57 --- /dev/null +++ b/conky/conky-center.conf @@ -0,0 +1,51 @@ +# Conky Configuration + +conky.config = { + alignment = 'middle_middle', + background = false, + border_width = 0, + cpu_avg_samples = 2, + default_color = 'BFDDB2', + default_outline_color = 'white', + default_shade_color = 'white', + double_buffer = true, + draw_borders = false, + draw_graph_borders = true, + draw_outline = false, + draw_shades = false, + extra_newline = false, + font = 'Sarasa Mono K:size=12', + gap_x = 0, + gap_y = 80, + minimum_height = 5, + minimum_width = 5, + net_avg_samples = 2, + no_buffers = true, + out_to_console = false, + out_to_ncurses = false, + out_to_stderr = false, + out_to_x = true, + own_window = true, + own_window_class = 'Conky', + own_window_type = 'desktop', + own_window = true, + own_window_transparent = false, + own_window_colour = '#2a2f33', + own_window_argb_visual = false, + own_window_argb_value = 200, + own_window_type = 'desktop', + show_graph_range = false, + show_graph_scale = false, + stippled_borders = 0, + update_interval = 3.0, + uppercase = false, + use_spacer = 'none', + use_xft = true, +} + +conky.text = [[ +${font Sarasa Mono K:weight=Regular:size=64}${time %H:%M}${font} ${voffset -50}${alignc}${font MesloLGS NF:size=12} ${font} ${font Sarasa Mono K:weight=Regular:size=14}${time %A, %d %b}${font} +${offset 215} ${voffset 2}${font MesloLGS NF:size=12} ${font}${mem} ${font MesloLGS NF:size=12} ${font}${cpu cpu0}% +${offset 215} ${voffset 2}${font MesloLGS NF:size=12} ${font}${font Sarasa Mono K:size=12}${exec vnstat --short | grep "today" | awk '{print $2, $3}'}${font} ${font MesloLGS NF:size=12} ${font}${font Sarasa Mono K:size=12}${texeci 60 exec vnstat --short | grep "today" | awk '{print $5, $6}'}${font} +${voffset 20}${alignc}${texeci 360 exec curl "https://api.quotable.io/random?maxLength=66" 2> /dev/null | jq '.content'} +]] diff --git a/conky/conky-old.conf b/conky/conky-old.conf new file mode 100644 index 0000000..fc4a997 --- /dev/null +++ b/conky/conky-old.conf @@ -0,0 +1,96 @@ +conky.config = { + + --Various settings + + background = true, -- forked to background + cpu_avg_samples = 2, + diskio_avg_samples = 10, + double_buffer = true, + if_up_strictness = 'address', + net_avg_samples = 2, + no_buffers = true, + temperature_unit = 'celsius', + text_buffer_size = 2048, + update_interval = 1, + imlib_cache_size = 0, --spotify cove + + --Placement + + alignment = 'bottom_left', + gap_x = 15, + gap_y = 15, + minimum_height = 280, + minimum_width = 600, + maximum_width = 700, + + --Graphical + + border_inner_margin = 10, -- margin between border and text + border_outer_margin = 0, -- margin between border and edge of window + border_width = 0, -- border width in pixels + default_bar_width = 280, + default_bar_height = 10, + default_gauge_height = 25, + default_gauge_width =40, + default_graph_height = 40, + default_graph_width = 153, + default_shade_color = '#000000', + default_outline_color = '#000000', + draw_borders = false, --draw borders around text + draw_graph_borders = true, + draw_shades = false, + draw_outline = false, + stippled_borders = 0, + + --Textual + + extra_newline = false, + format_human_readable = true, + font = 'Feena Casual', + max_text_width = 0, + max_user_text = 16384, + override_utf8_locale = true, + short_units = true, + top_name_width = 21, + top_name_verbose = false, + uppercase = false, + use_spacer = 'none', + use_xft = true, + xftalpha = 1, + + --Windows + + own_window = true, + own_window_argb_value = 00, + own_window_argb_visual = true, + own_window_class = 'Conky', + own_window_colour = '#000000', + own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager', + own_window_transparent = no, + own_window_title = 'system_conky', + own_window_type = 'desktop',-- # options are: normal/override/dock/desktop/panel + + + --Colours + + default_color = '#ECEFF4', -- default color and border color + color1 = '#d4be98', + color2 = '#ea6962', + color3 = '#888888', + color4 = '#BDBDBD', + color5 = '#CCCCCC', + color6 = '#FFFFFF', + + --Signal Colours + color7 = '#1F7411', --green + color8 = '#FFA726', --orange + color9 = '#F1544B', --firebrick +}; + + +conky.text = [[ +${goto 35}${color1}${font Feena Casual:size=100}${time %I }${font Feena Casual:size=45}${color1}${time %A}${color2}${goto 35}${voffset 55}${color2}${font Feena Casual:size=22}${time %d} ${font Feena Casual:size=65}${voffset -15}${color2}${time %B} ${font Feena Casual:size=22}${goto 65}${voffset 34}${color2}${time %Y}${font Feena Casual:size=100}${goto 155}${voffset -54}${color1}${time %M}${font Feena Casual:size=25}${color2} ${time %P} + + +#${goto 60}${voffset -65}${font Feena Casual:size=23} ${time %A} | #${time %B %d %Y} +]] diff --git a/conky/conky.conf b/conky/conky.conf new file mode 100644 index 0000000..76bad48 --- /dev/null +++ b/conky/conky.conf @@ -0,0 +1,53 @@ +# Conky Configuration + +conky.config = { + alignment = 'top_left', + background = false, + border_width = 0, + cpu_avg_samples = 2, + default_color = 'aadae0', + default_outline_color = 'white', + default_shade_color = 'white', + double_buffer = true, + draw_borders = false, + draw_graph_borders = true, + draw_outline = false, + draw_shades = false, + extra_newline = false, + font = 'FiraSans:size=12', + gap_x = 30, + gap_y = 60, + minimum_height = 256, + minimum_width = 256, + net_avg_samples = 2, + no_buffers = true, + out_to_console = false, + out_to_ncurses = false, + out_to_stderr = false, + out_to_x = true, + own_window = true, + own_window_class = 'Conky', + own_window_type = 'desktop', + own_window = true, + own_window_transparent = true, + own_window_argb_visual = true, + own_window_type = 'desktop', + show_graph_range = false, + show_graph_scale = false, + stippled_borders = 0, + update_interval = 3.0, + uppercase = false, + use_spacer = 'none', + use_xft = true, + xinerama_head = 1; +} + +conky.text = [[ +${image ~/.face -p 0,0 -s 128x128 -n} +${voffset 90} +${font FiraSans:weight=Semibold:size=24}Hi, ${exec whoami}${font} + +${font FiraSans:weight=Semibold:size=28}It's ${time %H:%M}${font} +${font FiraSans:weight=Medium:size=20}${time %A}${font} +${font FiraSans:weight=Regular:size=20}${time %d %b}${font} +]] diff --git a/conky/conky_minimal_left.conf b/conky/conky_minimal_left.conf new file mode 100644 index 0000000..3400c73 --- /dev/null +++ b/conky/conky_minimal_left.conf @@ -0,0 +1,49 @@ +# Conky Configuration + +conky.config = { + alignment = 'bottom_left', + background = false, + border_width = 0, + cpu_avg_samples = 2, + default_color = 'BFDDB2', + default_outline_color = 'white', + default_shade_color = 'white', + double_buffer = true, + draw_borders = false, + draw_graph_borders = true, + draw_outline = false, + draw_shades = false, + extra_newline = false, + font = 'Sarasa Mono K:size=12', + gap_x = 30, + gap_y = 30, + minimum_height = 5, + minimum_width = 5, + net_avg_samples = 2, + no_buffers = true, + out_to_console = false, + out_to_ncurses = false, + out_to_stderr = false, + out_to_x = true, + own_window = true, + own_window_class = 'Conky', + own_window_type = 'desktop', + own_window = true, + own_window_transparent = true, + own_window_argb_visual = true, + own_window_type = 'desktop', + show_graph_range = false, + show_graph_scale = false, + stippled_borders = 0, + update_interval = 3.0, + uppercase = false, + use_spacer = 'none', + use_xft = true, +} + +conky.text = [[ +${font Sarasa Mono K:weight=Regular:size=24}${time %H:%M}${font} +${voffset 2}${font Sarasa Mono K:weight=Regular:size=14}${time %A, %d %b}${font} +${voffset 2}${font MesloLGS NF:size=12} ${font}${mem} ${font MesloLGS NF:size=12} ${font}${cpu cpu0}% +${voffset 2}${font MesloLGS NF:size=12} ${font}${font Sarasa Mono K:size=12}${exec vnstat --short | grep "today" | awk '{print $2, $3}'}${font} ${font MesloLGS NF:size=12} ${font}${font Sarasa Mono K:size=12}${texeci 60 exec vnstat --short | grep "today" | awk '{print $5, $6}'}${font} +]] diff --git a/conky/conky_notes.conf b/conky/conky_notes.conf new file mode 100644 index 0000000..c30ff90 --- /dev/null +++ b/conky/conky_notes.conf @@ -0,0 +1,90 @@ +conky.config = { + + --Various settings + + background = true, -- forked to background + cpu_avg_samples = 2, + diskio_avg_samples = 10, + double_buffer = true, + if_up_strictness = 'address', + net_avg_samples = 2, + no_buffers = true, + temperature_unit = 'celsius', + text_buffer_size = 2048, + update_interval = 2, + imlib_cache_size = 0, + + --Placement + + alignment = 'top_right', + gap_x = 30, + gap_y = 50, + minimum_height = 200, + minimum_width = 200, + maximum_width = 550, + + --Graphical + + border_inner_margin = 10, + + -- margin between border and text + border_outer_margin = 0, + -- margin between border and edge of window + border_width = 0, + -- border width in pixels + default_bar_width = 280, + default_bar_height = 2, + default_gauge_height = 25, + default_gauge_width =40, + default_graph_height = 40, + default_graph_width = 153, + default_shade_color = '#000000', + default_outline_color = '#828282', + draw_borders = false, + --draw borders around text + draw_graph_borders = true, + draw_shades = false, + draw_outline = false, + stippled_borders = 0, + + --Textual + + extra_newline = false, + format_human_readable = true, + font = 'Open Sans', + max_text_width = 0, + max_user_text = 16384, + override_utf8_locale = false, + short_units = true, + top_name_width = 21, + top_name_verbose = false, + uppercase = false, + use_spacer = 'none', + use_xft = true, + xftalpha = 1, + + --Windows + + own_window = true, + own_window_argb_value = 0, + own_window_argb_visual = true, + own_window_class = 'Conky', + own_window_colour = '#000000', + own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager', + own_window_transparent = yes, + own_window_title = 'Conky', + own_window_type = 'desktop', + + + --Colors + + default_color = '#BFDDB2', + color1 = '#BFDDB2', +}; + + +conky.text = [[ +${alignc}${font Sarasa Mono K:weight=Regular:size=24}Todo${color0}${font} +${voffset 15}${font Sarasa Mono K:weight=Light:size=18}${color1}\ +${exec awk '{printf "%d. %s\n", NR, $0}' < "$HOME/todo.md" | fmt --width=30 -s}${color1}${font} +]] diff --git a/conky/conky_stats.conf b/conky/conky_stats.conf new file mode 100644 index 0000000..bf46c59 --- /dev/null +++ b/conky/conky_stats.conf @@ -0,0 +1,50 @@ +# Conky Configuration + +conky.config = { + alignment = 'bottom_right', + background = false, + border_width = 0, + cpu_avg_samples = 2, + default_color = 'aadae0', + default_outline_color = 'white', + default_shade_color = 'white', + double_buffer = true, + draw_borders = false, + draw_graph_borders = true, + draw_outline = false, + draw_shades = false, + extra_newline = false, + font = 'FiraSans:size=12', + gap_x = 30, + gap_y = 30, + minimum_height = 5, + minimum_width = 5, + net_avg_samples = 2, + no_buffers = true, + out_to_console = false, + out_to_ncurses = false, + out_to_stderr = false, + out_to_x = true, + own_window = true, + own_window_class = 'Conky', + own_window_type = 'desktop', + own_window = true, + own_window_transparent = true, + own_window_argb_visual = true, + own_window_type = 'desktop', + show_graph_range = false, + show_graph_scale = false, + stippled_borders = 0, + update_interval = 3.0, + uppercase = false, + use_spacer = 'none', + use_xft = true, + xinerama_head = 1; +} + +conky.text = [[ +${font Symbols Nerd Font:size=12}${font} ${mem} +${font Symbols Nerd Font:size=12}${font} ${cpu cpu0}% +${font Symbols Nerd Font:size=12}${font} ${exec vnstat --short | grep "today" | awk '{print $2, $3}'} ${font Symbols Nerd Font:size=12}${font} ${texeci 60 exec vnstat --short | grep "today" | awk '{print $5, $6}'} +]] + diff --git a/conky/start-conky.desktop b/conky/start-conky.desktop new file mode 100755 index 0000000..46638e7 --- /dev/null +++ b/conky/start-conky.desktop @@ -0,0 +1,13 @@ +#!/usr/bin/env xdg-open + +[Desktop Entry] +Type=Application +Exec=conky +Icon=conky +X-GNOME-Autostart-enabled=true +X-MATE-Autostart-enabled=true +NoDisplay=false +Hidden=false +Name[en_US]=start-conky +Comment[en_US]= +X-GNOME-Autostart-Delay=0 diff --git a/conky/start-conky.sh b/conky/start-conky.sh new file mode 100755 index 0000000..f78d51d --- /dev/null +++ b/conky/start-conky.sh @@ -0,0 +1,3 @@ +#!/bin/bash +conky -c $HOME/.config/conky/conky.conf & +conky -c $HOME/.config/conky/conky_stats.conf & diff --git a/conky/system-all.conf b/conky/system-all.conf new file mode 100644 index 0000000..6d2b791 --- /dev/null +++ b/conky/system-all.conf @@ -0,0 +1,141 @@ +use_xft yes +xftfont DejaVu Sans:size=12 +xftalpha 0.8 +text_buffer_size 2048 + +# Update interval in seconds +update_interval 1 + +# This is the number of times Conky will update before quitting. +total_run_times 0 + +own_window yes +own_window_transparent yes +#own_window_type override +#own_window_type desktop +own_window_type desktop #use this if you want a nice shadow to appear around conky + +# 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 220 0 +#maximum_width 200 + +# 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 #5d5861 +#default_shade_color black +#default_outline_color grey +own_window_colour 000000 + +# Text alignment, other possible values are commented +#alignment top_left +alignment top_left +#alignment bottom_left +#alignment bottom_right +#alignment middle_right + +# Gap between borders of screen and text +# same thing as passing -x at command line +gap_x 20 +gap_y 50 + +# 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 2 + +# 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 + +own_window_argb_value 0 +own_window_argb_visual yes +TEXT +${font Zekton:Regular:size=11}SYSTEM ${hr 2} +#Command exec cut .. know the distribution +${font Zekton:Regular:size=12}${alignc 0}${exec cut -d '\' -f 1 /etc/issue} +${voffset -10}${font OpenLogos:size=40} +#Hostname +${voffset -85}${alignc =10}${font Capture it:size=16}${nodename} +#PC +${font Zekton:Regular:size=12}${alignc 0}ASUS +${font Zekton:Regular:size=12}${alignc 0} +${font DejaVu Sans:Regular:size=13}K${font} Kernel: ${alignr}${kernel} + +${font StyleBats:Regular:size=16}A${font} CPU 1: ${cpu cpu1}% ${alignr}${cpubar cpu1 8,60} +${font StyleBats:Regular:size=16}A${font} CPU 2: ${cpu cpu2}% ${alignr}${cpubar cpu2 8,60} + +${font StyleBats:Regular:size=16}g${font} RAM: $mem $memperc% ${alignr}${membar 8,60} +${font StyleBats:Regular:size=16}j${font} SWAP: $swap $swapperc% ${alignr}${swapbar 8,60} + +${font Webdings:Regular:size=16}~${font}Battery: ${battery_percent BAT0}% ${alignr}${battery_bar 8,60 BAT0} +${font StyleBats:Regular:size=16}q${font} Uptime: ${alignr}${uptime} + +${font Zekton:Regular:size=11}DATE ${hr 2} + +${alignc 0}${font Capture it:size=32}${time %H:%M}${font Zekton:size=10} +${voffset 2}${alignc}${time %A, %d %B %Y} + +${font Zekton:Regular:size=11}HD ${hr 2} + +${voffset 4}${font Pie charts for maps:Regular:size=14}7${font} ${voffset -5}Root: +${voffset 4}${fs_used /}/${fs_size /} ${alignr}${fs_bar 8,60 /} + +${font Pie charts for maps:Regular:size=14}m${font} ${voffset -5}Home: +${voffset 4}${fs_free /home}/${fs_size /home} ${alignr}${fs_bar 8,60 /home} + +${font Zekton:Regular:size=11}NETWORK ${hr 2} +#Aquí tengo que aclarar algo mis interfaces de red son +#Wired = enp2s0 and WiFi = wlp3s0 + +${if_existing /proc/net/route enp2s0} + +${voffset -15}${alignc 0}${font Capture it:size=12}W i r e d +${font PizzaDude Bullets:size=14}O${font} Up: ${upspeed enp2s0}${alignr}${upspeedgraph enp2s0 8,60 black black} +${voffset 4}${font PizzaDude Bullets:size=14}U${font} Down: ${downspeed enp2s0}${alignr}${downspeedgraph enp2s0 8,60 black black} +${voffset 4}${font PizzaDude Bullets:size=14}N${font} Upload: ${alignr}${totalup enp2s0} +${voffset 4}${font PizzaDude Bullets:size=14}T${font} Dowload: ${alignr}${totaldown enp2s0} +${else}${if_existing /proc/net/route wlp3s0}${alignc 0}${font Capture it:size=12}W i F i +${font}${alignc}SSID: ${wireless_essid wlp3s0} + +Signal: ${wireless_link_qual_perc wlp3s0}% ${alignr}${wireless_link_bar 8,60 wlp3s0} + +${font PizzaDude Bullets:size=14}O${font} Up: ${upspeed wlp3s0}${alignr}${upspeedgraph wlp3s0 8,60 black black} +${voffset 4}${font PizzaDude Bullets:size=14}U${font} Down: ${downspeed wlp3s0}${alignr}${downspeedgraph wlp3s0 8,60 black black} + +${voffset 4}${font PizzaDude Bullets:size=14}N${font} Upload: ${alignr}${totalup wlp3s0} +${voffset 4}${font PizzaDude Bullets:size=14}T${font} Download: ${alignr}${totaldown wlp3s0} +${endif} diff --git a/conky/test.conf b/conky/test.conf new file mode 100644 index 0000000..27152dd --- /dev/null +++ b/conky/test.conf @@ -0,0 +1,42 @@ +conky.config = { + alignment = 'top_right', + background = false, + border_width = 0, + cpu_avg_samples = 2, + default_color = 'BFDDB2', + default_outline_color = 'white', + default_shade_color = 'white', + double_buffer = true, + draw_borders = false, + draw_graph_borders = true, + draw_outline = false, + draw_shades = false, + extra_newline = false, + font = 'Sarasa Fixed K :size=18', + gap_x = 50, + gap_y = 50, + minimum_height = 5, + minimum_width = 5, + net_avg_samples = 2, + no_buffers = true, + out_to_console = false, + out_to_ncurses = false, + out_to_stderr = false, + out_to_x = true, + own_window = true, + own_window_class = 'Conky', + own_window_type = 'desktop', + own_window = true, + own_window_transparent = true, + own_window_argb_visual = true, + own_window_type = 'desktop', + show_graph_range = false, + show_graph_scale = false, + stippled_borders = 0, + update_interval = 1.0, + uppercase = false, + use_spacer = 'none', + use_xft = true +} +conky.text=[[ +]] -- cgit v1.2.3