bran:
conky.config = {
--### Gotham theme Reworked ###
use_xft = true,
font = 'GE Inspira:size=8',
xftalpha = 0.1,
update_interval = 3,
total_run_times = 0,
own_window = true,
own_window_type = 'desktop',
own_window_argb_visual = true,
own_window_transparent = true,
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
double_buffer = true,
maximum_width = 600,
minimum_height = 400,
draw_shades = true,
draw_outline = false,
draw_borders = false,
draw_graph_borders = false,
default_color = '#EAEAEA',
color1 = '#17D1A1',
alignment = 'bottom_right',
gap_x = 0,
gap_y = 0,
no_buffers = true,
uppercase = false,
cpu_avg_samples = 2,
net_avg_samples = 1,
override_utf8_locale = true,
use_spacer = 'right',
};
conky.text = [[
${font :pixelsize=12}${goto 320}${color 17D1A1}Machine ${goto 465}$color${nodename}
${goto 320}${color 17D1A1}Kernel ${goto 465}$color${kernel}
${goto 320}${color 17D1A1}RAM ${goto 465}$color$mem / $memmax
${goto 465}${color 17D1A1}${membar 5,112}
${goto 320}${color 17D1A1}CPU ${goto 400}$color${cpu cpu0}%${goto 465}${color 17D1A1}${cpubar cpu0 5,112}
${goto 320}${color 17D1A1}Akku ${goto 400}$color${battery_percent}%${goto 465}${color 17D1A1}${battery_bar 5,112}
${font :pixelsize=12}
${goto 320}${color1}Root ${goto 430}$color${fs_used /} / ${fs_size /} / ${fs_used_perc /}%
${goto 320}${fs_bar 5,255 /}
${goto 320}${color1}Home ${goto 430}$color${fs_used /home} / ${fs_size /home} / ${fs_used_perc /home}%
${goto 320}${fs_bar 5,255 /home}
${goto 320}${color1}Downloads ${goto 430}$color${fs_used /home/bran/Downloads} / ${fs_size /home/bran/Downloads} / ${fs_used_perc /home/bran/Downloads}%
${goto 320}${fs_bar 5,255 /home/bran/Downloads}
${goto 320}${color1}Doc ${goto 430}$color${fs_used /home/bran/Dokumente} / ${fs_size /home/bran/Dokumente} / ${fs_used_perc /home/bran/Dokumente}%
${goto 320}${fs_bar 5,255 /home/bran/Dokumente}
${voffset 7}${color EAEAEA}${font GE Inspira:pixelsize=120}${time %H:%M}${font}${voffset -84}${goto 320}${color1}${font GE Inspira:pixelsize=42}${time %d} ${voffset -15}${color EAEAEA}${font Ge Inspira:pixelsize=22}${time %B} ${time %Y}${font}${voffset 24}${font GE Inspira:pixelsize=52}${goto 320}${time %A}${font}
]];
thanks for response, getting this error when try to convert ~/.config/conky/conky.conf by convert.lua
/usr/bin/lua: /home/ararat/convert.lua:147: attempt to index a nil value (local ‘settings’)
stack traceback:
/home/ararat/convert.lua:147: in main chunk
[C]: in ?
bran
6 September 2020 19:44
22
This script is the result - it doesn’t need to be converted anymore… It runs on actual software…
As I understood conky-manager is not synchronized with new conky syntax, and the only way to use custom template is to change root conky.conf file by new syntax of conky as I want to design.
or you could use conky-manager2
It also provides support for the newer lua-based conky and configuration files(v1.10)
pamac build conky-manager2-git
https://aur.archlinux.org/packages/conky-manager2-git
1 Like
I installed it, but it’s default templates doesn’t work. I changed one of it’s default templates syntax to the new syntax, and in manager this template disappeared.