From 98e74df4e65edd8c205e2f0164fc6d38396976ad Mon Sep 17 00:00:00 2001 From: Maximilian Friedersdorff Date: Thu, 18 Feb 2021 11:13:16 +0000 Subject: [PATCH] Optimise the conky display a little for size --- states/conky/files/conkyrc | 8 ++++---- states/sway/files/barium | 5 +++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/states/conky/files/conkyrc b/states/conky/files/conkyrc index 8e8fcc1..4d0fc31 100644 --- a/states/conky/files/conkyrc +++ b/states/conky/files/conkyrc @@ -36,11 +36,11 @@ conky.text = [[ {"full_text": "Pomodoro: ${exec cat ~/.local/share/pomodoro}", "color": "\#ea0501"}, ${endif} {% if grains['host'] == 'barium' %} - {"full_text": "Last Tea: ${execi 120 tail -n 1 ~/.local/share/teatimer.log}s", "color": "\#ffffff"}, + {"full_text": "Tea: ${execi 120 tail -n 1 ~/.local/share/teatimer.log}s", "color": "\#ffffff"}, {% endif %} - {"full_text": "Home ${fs_free /home}", "color": "\#ffffff"}, - {"full_text": "Root ${fs_free /root}", "color": "\#ffffff"}, - {"full_text": "Disk r:${diskio_read} w:${diskio_write}", "color": "\#ffffff"}, + {"full_text": "~ ${fs_free /home}", "color": "\#ffffff"}, + {"full_text": "/ ${fs_free /root}", "color": "\#ffffff"}, + {"full_text": "IO r:${diskio_read} w:${diskio_write}", "color": "\#ffffff"}, {"full_text": "CPU ${cpu cpu0}%", "color": "\#ffffff"}, {% for dev in ifdev %} ${if_match "${addr {{ dev }}}"!="No Address"} diff --git a/states/sway/files/barium b/states/sway/files/barium index 3d764f8..9a4e59c 100644 --- a/states/sway/files/barium +++ b/states/sway/files/barium @@ -4,6 +4,7 @@ bar { id bar_left position top output "HDMI-A-1" + status_command ~/.local/bin/conky-i3bar font pango:Liberation Mono 12 colors { background $black_super @@ -21,7 +22,7 @@ bar { status_command ~/.local/bin/conky-i3bar position top output "eDP-1" - font pango:Liberation Mono 12 + font pango:Liberation Mono 11 colors { background $black_super focused_background $black @@ -38,7 +39,7 @@ bar { status_command ~/.local/bin/conky-i3bar position top output "DP-1" - font pango:Liberation Mono 12 + font pango:Liberation Mono 11 colors { background $black_super focused_background $black -- 2.45.2