From: Maximilian Friedersdorff Date: Thu, 18 Feb 2021 11:13:16 +0000 (+0000) Subject: Optimise the conky display a little for size X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=98e74df4e65edd8c205e2f0164fc6d38396976ad;p=max%2Fsaltfiles.git Optimise the conky display a little for size --- 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