feat: smaller icons, make it work on Ubuntu

This commit is contained in:
Krzysztof Rudnicki 2024-11-18 08:16:27 +01:00
parent 1fe4b6f1f5
commit 98a69a96ba
7 changed files with 8 additions and 8 deletions

View File

@ -13,7 +13,7 @@ set $mod Mod4
# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below.
font pango:monospace 8
font pango:System San Francisco Display, FontAwesome 8
# This font is widely installed, provides lots of unicode glyphs, right-to-left
# text rendering and scalability on retina/hidpi displays (thanks to pango).

View File

@ -22,7 +22,7 @@ interval=5
color=#50FA7B
[disk]
command=df -h / | awk '/\// {print " Disk: " $3 "/" $2}' #  for disk
command=df -h / | awk '/\// {print " " $3 "/" $2}' #  for disk
interval=60
color=#50FA7B

View File

@ -75,5 +75,5 @@ rx_rate_human=$(numfmt --to=iec --suffix=B/s $total_rx_rate)
tx_rate_human=$(numfmt --to=iec --suffix=B/s $total_tx_rate)
# Output the result with fixed width
printf " %-7s  %-7s\n" "$rx_rate_human" "$tx_rate_human"
printf " %-8s  %-8s\n" "$rx_rate_human" "$tx_rate_human"
echo "#50FA7B"

View File

@ -19,7 +19,7 @@ fi
if is_ubuntu; then
sudo apt-get update
sudo apt-get install -y fonts-dejavu-core fonts-noto ttf-font-awesome bc jq iw
sudo apt-get install -y fonts-dejavu-core fonts-noto fonts-font-awesome bc jq iw
else
yes | sudo pacman -S --needed ttf-dejavu noto-fonts ttf-font-awesome bc jq iw
fi