From d89c69574f8109fc989a9e6b78cdb770a7fd9b51 Mon Sep 17 00:00:00 2001 From: Marius Peter Date: Sun, 8 Jan 2023 17:22:24 +0100 Subject: Conky conf file. --- conky.org | 85 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100755 conky.org (limited to 'conky.org') diff --git a/conky.org b/conky.org new file mode 100755 index 0000000..9eab266 --- /dev/null +++ b/conky.org @@ -0,0 +1,85 @@ +# -*- mode: org; -*- + +#+TITLE: =Conky= configuration file +#+AUTHOR: Marius Peter +#+DATE: <2022-11-01 Tue> + +#+PROPERTY: header-args :tangle "~/.config/conky/conky.conf" + + +* Configuration + +#+begin_src lua + conky.config = { + alignment = 'top_left', + background = false, + border_width = 1, + cpu_avg_samples = 2, + default_color = 'white', + 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 = 'Hack:size=16', + gap_x = 60, + gap_y = 60, + 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_transparent = true, + own_window_argb_visual = true, + show_graph_range = false, + show_graph_scale = false, + stippled_borders = 0, + update_interval = 1.0, + uppercase = false, + use_spacer = 'none', + use_xft = true, + } +#+end_src + + +* Conky content + +#+begin_src lua :noweb yes + conky.text = [[ + <> + ]] +#+end_src + +#+NAME: content +#+begin_src lua :tangle no :exports none + ${font Monoid:size=40}${time %H:%M} + $font${color grey}$color ${scroll 38 Conky $conky_version - $sysname $nodename $kernel $machine} + $hr + ${color grey}Uptime:$color $uptime + ${color grey}Frequency (in MHz):$color $freq + ${color grey}Frequency (in GHz):$color $freq_g + ${color grey}RAM Usage:$color $mem/$memmax - $memperc% ${membar 4} + ${color grey}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 4} + ${color grey}CPU Usage:$color $cpu% ${cpubar 4} + ${color grey}Processes:$color $processes ${color grey}Running:$color $running_processes + $hr + ${color grey}File systems: + / $color${fs_used /}/${fs_size /} ${fs_bar 6 /} + ${color grey}Networking: + Up:$color ${upspeed} ${color grey} - Down:$color ${downspeed} + $hr + ${color grey}Name PID CPU% MEM% + ${color lightgrey} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1} + ${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2} + ${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3} + ${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4} +#+end_src -- cgit v1.2.3