Update Conky positioning

This commit is contained in:
2021-12-30 22:44:50 +02:00
parent f3925fe250
commit 680b6c4ddb
3 changed files with 38 additions and 37 deletions

View File

@@ -1,6 +1,6 @@
-- Conky, a system monitor https://github.com/brndnmtthws/conky
conky.config = {
background = true,
background = false,
use_xft = true,
font = 'Meslo LGS NF:size=12',
xftalpha = 0.8,
@@ -25,7 +25,7 @@ conky.config = {
default_color = '#d8dee9',
default_shade_color = 'grey',
default_outline_color = 'black',
alignment = 'top_left',
alignment = 'middle_left',
gap_x = 0,
gap_y = 0,
no_buffers = true,
@@ -38,15 +38,6 @@ conky.config = {
}
conky.text = [[
${offset 300} < PF371A40 > ──────────────────────
${offset 300} ┬
${offset 300} ┌─────── < $nodename > ───────┘
@@ -67,8 +58,8 @@ $alignr ${offset -220} < wlp4s0:${if_empty ${exec iwgetid}} Offline$else ${exec
$alignr ${offset -100} < eno1:${if_empty ${exec ifconfig eno1 | grep "inet " | awk '{print $2}'}} Offline$else ${exec ifconfig wlp4s0 | grep "inet " | awk '{print $2}'}$endif > ┴────────────
${offset 450} MEM < $mem/$memmax - ${lua_parse format %2.0f $memperc}% ${membar 8,150} > ┬─────────────
${offset 450} SWAP < $swap/$swapmax - ${lua_parse format %2.0f $swapperc}% ${swapbar 8,150} > ┘
${offset 440} MEM < $mem/$memmax - ${lua_parse format %2.0f $memperc}% ${membar 8,150} > ┬─────────────
${offset 440} SWAP < $swap/$swapmax - ${lua_parse format %2.0f $swapperc}% ${swapbar 8,150} > ┘
@@ -91,4 +82,19 @@ ${offset 410} ├ STATUS < ${exec playerctl status} >
${offset 410} ├ TITLE < ${exec playerctl metadata title} >
${offset 410} ├ ARTIST < ${exec playerctl metadata artist} >
${offset 410} └ ALBUM < ${exec playerctl metadata album} >
]]