Minor edits to config.

This commit is contained in:
Derek Taylor
2021-04-21 14:32:19 -05:00
parent a930e13b0a
commit c0e29a2c67
5 changed files with 22 additions and 50 deletions

View File

@@ -2,7 +2,6 @@
#=====================================================================================
# XMonad Conky
#======================================================================================
]]
conky.config = {
@@ -24,8 +23,8 @@ conky.config = {
--Placement
-- settings for my triple monitor setup; conky on the middle monitor
alignment = 'top_left', -- top_left,top_middle,top_right,bottom_left,bottom_middle,bottom_right,
gap_x = 3550, -- pixels between right or left border
alignment = 'top_left', -- top_left,top_middle,top_right,bottom_left,bottom_middle,bottom_right,
gap_x = 3550, -- pixels between right or left border
-- settings for single monitor setups.
--alignment = 'top_right', -- top_left,top_middle,top_right,bottom_left,bottom_middle,bottom_right,
@@ -98,33 +97,23 @@ conky.config = {
color7 = '#1F7411', --green
color8 = '#FFA726', --orange
color9 = '#F1544B', --firebrick
--Lua
};
conky.text = [[
${alignc}${color0}${font Ubuntu:size=24}${time %H:%M}${font}
${voffset 4}${alignc}${color0}${font Ubuntu:size=16}${time %b %d, %Y}${font}${color}
Packages installed:${alignr}${execi 3600 pacman -Q | wc -l}
Updates available:${alignr}${execi 3600 checkupdates | wc -l}
Last update:${alignr}${execi 3600 grep "starting full system upgrade" /var/log/pacman.log | tail -n1| cut --bytes=2-17}
${voffset 10}${goto 12}${color3}CPU${goto 50}$cpu%
${voffset 18}${goto 12}${color3}CPU${goto 50}$cpu%
${color2}${goto 12}${cpubar 8,254}${color}
${voffset 5}${goto 12}$font${top name 1}$alignr$color${top cpu 1}%
${goto 12}${top name 2}$alignr$color${top cpu 2}%
${goto 12}${top name 3}$alignr$color${top cpu 3}%
${goto 12}${top name 4}$alignr$color${top cpu 4}%
#
${voffset 10}${goto 12}${color3}RAM${goto 50}$mem/$memmax
${color2}${goto 12}${membar 8,254}${color}
${goto 12}${voffset 5}${top_mem name 1}$alignr$color${top_mem mem_res 1}
${goto 12}${top_mem name 2}$alignr$color${top_mem mem_res 2}
${goto 12}${top_mem name 3}$alignr$color${top_mem mem_res 3}
${goto 12}${top_mem name 4}$alignr$color${top_mem mem_res 4}
${voffset 8}${color1}${alignc}XMONAD KEYBINDINGS${color}
${voffset 18}${color1}${alignc}XMONAD KEYBINDINGS${color}
${color1}${hr}${color}
${color1}[S]+[RET]${alignr}${color2}opens terminal${color}
${color1}[S]+[SPC]+[RET]${alignr}${color2}run prompt${color}