diff options
author | Joe <bousset.rudy@gmail.com> | 2023-02-17 13:25:56 +0100 |
---|---|---|
committer | Joe <bousset.rudy@gmail.com> | 2023-02-17 13:25:56 +0100 |
commit | cd9cc0153322ba241f5224fcc7c414f5ba605138 (patch) | |
tree | 5498117af99a6b3b0b4eec36d27ac46a4734d948 | |
parent | fix (diff) | |
download | dotfiles-bsd-cd9cc0153322ba241f5224fcc7c414f5ba605138.tar.gz dotfiles-bsd-cd9cc0153322ba241f5224fcc7c414f5ba605138.tar.bz2 dotfiles-bsd-cd9cc0153322ba241f5224fcc7c414f5ba605138.tar.xz dotfiles-bsd-cd9cc0153322ba241f5224fcc7c414f5ba605138.tar.zst dotfiles-bsd-cd9cc0153322ba241f5224fcc7c414f5ba605138.zip |
up
-rw-r--r-- | .config/conky/conkyrc | 6 | ||||
-rwxr-xr-x | .local/bin/conky/net.sh | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/.config/conky/conkyrc b/.config/conky/conkyrc index bf4a548..42c04f1 100644 --- a/.config/conky/conkyrc +++ b/.config/conky/conkyrc @@ -48,8 +48,8 @@ conky.config = { } conky.text = [[ -${color #928374}${alignc}${time %A %e %B %Y - %Hh%M} -${color #ebdbb2}${font1}SYS ${hr 2}${font} +${color #ebdbb2}${color #928374}${alignc}${time %A %e %B %Y - %Hh%M} +${font1}SYS ${hr 2}${font} ${color #928374}Terminal: ${font2}${color #ebdbb2}${nodename_short}${font} ${color #928374}OS: ${font2}${color #ebdbb2}${sysname}${font} ${color #928374}Kernel: ${font2}${color #ebdbb2}${kernel}${font} @@ -69,7 +69,7 @@ ${color #928374}1: ${color #ebdbb2}${cpubar cpu0 8,150}${color #ebdbb2}${color # ${color #928374}3: ${color #ebdbb2}${cpubar cpu2 8,150}${color #ebdbb2}${color #928374}${alignr}4: ${color #ebdbb2}${cpubar cpu3 8,150}${color #ebdbb2} ${color #928374}5: ${color #ebdbb2}${cpubar cpu4 8,150}${color #ebdbb2}${color #928374}${alignr}6: ${color #ebdbb2}${cpubar cpu5 8,150}${color #ebdbb2}${if_match "${nodename_short}" == "mother"} ${color #928374}7: ${color #ebdbb2}${cpubar cpu6 8,150}${color #ebdbb2}${color #928374}${alignr}8: ${color #ebdbb2}${cpubar cpu7 8,150}${color #ebdbb2}${endif}${font} -${font1}MEMORY ${hr 2}${font} +${font1}MEM ${hr 2}${font} ${color #928374}RAM: ${font2}${color #ebdbb2}${mem} / ${memmax} ${color #ebdbb2}${membar 8}${font} ${memgraph 50,380 ebdbb2 928374 -t} ${voffset -25}${hr} diff --git a/.local/bin/conky/net.sh b/.local/bin/conky/net.sh index 903dd4a..3b380ed 100755 --- a/.local/bin/conky/net.sh +++ b/.local/bin/conky/net.sh @@ -21,7 +21,7 @@ if grep up "/sys/class/net/$if_main/operstate" >/dev/null 2>&1 && ! [ -z $(ifcon elif grep up "/sys/class/net/$if_alt/operstate" >/dev/null 2>&1 && ! [ -z $(ifconfig $if_alt 2>/dev/null | awk '/inet / {print $2}') ]; then if_main=$if_alt else - echo '${font1}NETWORK ${hr}${font} + echo '${font1}NET ${hr}${font} ${color #928374}No network${font}' exit fi |