You are not logged in.
Pages: 1
Hi all, can i please ask for a bit of help with this conky im putting together.
So i have it set up ok as a bar at the bottom but if i change the font to anything larger than 10px it just goes off screen and down into a slant.
I am using in font awesome so maybe its this that is causing it but i wouldnt think so?
Im using arch linux with jwm.
Config.
]
conky.config = {
alignment = 'bl',
background = false,
border_width = 0,
border_inner_margin = 5,
border_outer_margin = 0,
cpu_avg_samples = 2,
default_color = 'white',
default_outline_color = 'white',
default_shade_color = 'white',
draw_borders = false,
draw_graph_borders = true,
draw_outline = false,
draw_shades = false,
use_xft = true,
text_buffer_size = 2048,
xftalpha = 0.5,
font = 'Roboto:Regular:size=10',
gap_x = 0,-- l|r
gap_y = 0,-- u|d
minimum_width = 1366, minimum_height = 20,
maximum_width = 1366,
net_avg_samples = 2,
double_buffer = true,
out_to_console = false,
out_to_ncurses = false,
out_to_stderr = false,
out_to_x = true,
override_utf8_locale = true,
extra_newline = false,
own_window = true,
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
own_window_transparent = false,
own_window_argb_visual = true,
own_window_argb_value = 250,
own_window_class = 'Conky',
own_window_type = 'desktop',
stippled_borders = 0,
update_interval = 1.0,
uppercase = false,
use_spacer = 'left',
show_graph_scale = false,
show_graph_range = false,
pad_percents = 2,
}
conky.text = [[
${color #5294E2} | \
${font FontAwesome} ${font}${color grey} RAM:$color $mem ${color #5294E2} | \
${font FontAwesome} ${font}${color grey}CPU:$color $cpu% ${color #5294E2} | \
${font FontAwesome} ${font}${color grey}SWAP:$color $swap ${color #5294E2} | \
${font FontAwesome} ${font}${color grey}File Sys: / $color${fs_used /}/${fs_size /} ${color #5294E2} | \
${font FontAwesome} ${font}${color grey}Up:$color ${totalup wlp7s0b1} ${color grey} ${color #5294E2} \
${font FontAwesome} ${font}${color grey}Down:$color ${totaldown wlp7s0b1} ${color #5294E2} | \
${font FontAwesome}
]]
scrots, 1st is 10 px and behaves, second is 12 px and misbehaves.
Last edited by S7.L (2019-01-05 11:07:23)
Offline
Maybe reduce the inner margin to compensate?
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
^ no change.
I deleted the awesome fonts and it behaves, must be a setting i am missing.
Offline
I am using in font awesome so maybe its this that is causing it but i wouldnt think so?
That appears to be your issue. I reproduced your issue with the slanting text for Roboto and Sans fonts at sizes 11, 12, 14. (fluxbox not jwm)
Remove those FontAwseome icons and there is no issue at any font size. You can try a different icon font - I've had pretty good luck with nerd fonts ; mainly ubuntu, monofur, and anonymouspro.
You must unlearn what you have learned.
-- yoda
Online
The font Roboto Regular size=10 and "FontAwesome" render sizes differently.
You will have to use the Vertical Offset command ${voffset } to bring each section into line properly.
${color 5294E2} | \
${font FontAwesome} ${font}${color grey} RAM:$color $mem ${color 5294E2} | \
${voffset -3}${font FontAwesome} ${font}${color grey}CPU:$color $cpu% ${color 5294E2} | \
${voffset -3}${font FontAwesome} ${font}${color grey}SWAP:$color $swap ${color 5294E2} | \
${voffset -3}${font FontAwesome} ${font}${color grey}File Sys: / $color${fs_used /}/${fs_size /} ${color 5294E2} | \
${voffset -3}${font FontAwesome} ${font}${color grey}Up:$color ${totalup wlp7s0b1} ${color grey} ${color 5294E2} \
${voffset -3}${font FontAwesome} ${font}${color grey}Down:$color ${totaldown wlp7s0b1} ${color 5294E2} | \
${voffset -3}${font FontAwesome} ${font}${font}
${color 5294E2} | \
${font FontAwesome} ${font}${color grey} RAM:$color $mem ${color 5294E2} | \
${font FontAwesome} ${font}${color grey}CPU:$color $cpu% ${color 5294E2} | \
${font FontAwesome} ${font}${color grey}SWAP:$color $swap ${color 5294E2} | \
${font FontAwesome} ${font}${color grey}File Sys: / $color${fs_used /}/${fs_size /} ${color 5294E2} | \
${font FontAwesome} ${font}${color grey}Up:$color ${totalup wlp7s0b1} ${color grey} ${color 5294E2} \
${font FontAwesome} ${font}${color grey}Down:$color ${totaldown wlp7s0b1} ${color 5294E2} | \
${font FontAwesome} ${font}${font}
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Thankyou packrat and sector11, conky now behaving with fontawesome with the voffset settings. Must remember this if i ever put the font down to 10 px (now at 12 and rendering readable on my small screen)..as the voffset makes it slant upwards when you go down in px size now.
Last edited by S7.L (2019-01-05 10:52:52)
Offline
You're welcome S7.L
I bend, fold, and mutilate conkys for fun.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
You're welcome S7.L
I bend, fold, and mutilate conkys for fun.
"Conky Butcher"!
Offline
Sector11 wrote:You're welcome S7.L
I bend, fold, and mutilate conkys for fun.
"Conky Butcher"!
HAHAHAHAHAHAHA - Oh you have no idea do you!
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Pages: 1