From 646c4c62f080e0fe6514cf8f946a4af308aca363 Mon Sep 17 00:00:00 2001 From: Felix Nehrke Date: Mon, 21 Nov 2022 19:46:23 +0100 Subject: [PATCH] Install icon-font for i3 workspaces automatically I use the latest version of the font where the codepoints are still 2-bytes long!!! The I use the technique described in the source to configure the icons in my i3 config. Source: http://kumarcode.com/Adding-your-custom-font-to-i3status/ --- .config/dotfiles/setup-machine.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.config/dotfiles/setup-machine.sh b/.config/dotfiles/setup-machine.sh index 68482d9..f3abdce 100755 --- a/.config/dotfiles/setup-machine.sh +++ b/.config/dotfiles/setup-machine.sh @@ -33,6 +33,14 @@ else i3status \ rofi \ enpass + # install icon-font which I use for i3status + MATERIAL_DESIGN_FONT_ZIP=MaterialDesign-Webfont-4.9.95.zip + curl -sSL --output-dir $HOME/Downloads -o "$MATERIAL_DESIGN_FONT_ZIP" https://github.com/Templarian/MaterialDesign-Webfont/archive/v4.9.95.zip + mkdir -p $HOME/.local/share/fonts || true + unzip -jod $HOME/.local/share/fonts/ "$HOME/Downloads/$MATERIAL_DESIGN_FONT_ZIP" MaterialDesign-Webfont-4.9.95/fonts/materialdesignicons-webfont.ttf + fc-cache -fv + + # handle work-setup while true do echo "" @@ -51,6 +59,8 @@ else *) echo "Please answer yes or no.";; esac done + + # handle cli's for clouds while true do echo ""