Update Conky positioning
This commit is contained in:
@@ -46,7 +46,7 @@ awful.rules.rules = {
|
||||
{
|
||||
rule_any = {
|
||||
name = {
|
||||
"GLava",
|
||||
"GLava"
|
||||
},
|
||||
},
|
||||
properties = {
|
||||
@@ -59,11 +59,11 @@ awful.rules.rules = {
|
||||
placement = awful.placement.maximize
|
||||
}
|
||||
},
|
||||
-- Widgets
|
||||
-- Conky Position
|
||||
{
|
||||
rule_any = {
|
||||
class = {
|
||||
"Conky",
|
||||
name = {
|
||||
"conky (eirene)",
|
||||
},
|
||||
},
|
||||
properties = {
|
||||
@@ -72,8 +72,7 @@ awful.rules.rules = {
|
||||
skip_taskbar = true,
|
||||
titlebars_enabled = false,
|
||||
requests_no_titlebar = true,
|
||||
focusable = false,
|
||||
placement = awful.placement.maximize
|
||||
focusable = false
|
||||
}
|
||||
}
|
||||
},
|
||||
}
|
@@ -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} >
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
]]
|
||||
|
@@ -4,7 +4,7 @@ conky.config = {
|
||||
use_xft = true,
|
||||
font = 'Meslo LGS NF:size=12',
|
||||
xftalpha = 0.8,
|
||||
update_interval = 1,
|
||||
update_interval = 5,
|
||||
update_interval_on_battery = 15,
|
||||
total_run_times = 0,
|
||||
own_window = true,
|
||||
@@ -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,21 +38,6 @@ conky.config = {
|
||||
}
|
||||
|
||||
conky.text = [[
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
${offset 1640}────────────────────── LOCALE < $LANG >
|
||||
|
||||
|
||||
@@ -88,4 +73,15 @@ ${offset 1440} └ < /mnt/storage ${fs_used /mnt/storage}
|
||||
|
||||
|
||||
${offset 1510}─────────────────── BAT < $battery >
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
]]
|
||||
|
Reference in New Issue
Block a user