From 02ca0ab7fe633c63af1e48daf2a26e36ca2bcb26 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Thu, 3 Aug 2017 16:14:26 -0500 Subject: [PATCH] Fix app launcher font --- scripts/arch-linux/provisioning/0-adduser.bash | 2 +- scripts/bin/app-launcher | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/arch-linux/provisioning/0-adduser.bash b/scripts/arch-linux/provisioning/0-adduser.bash index 2eb7a10..ffaa71e 100755 --- a/scripts/arch-linux/provisioning/0-adduser.bash +++ b/scripts/arch-linux/provisioning/0-adduser.bash @@ -4,7 +4,7 @@ USERNAME=daniel groupadd admin 2>/dev/null mkdir -p "/home/$USERNAME/usr" -useradd -m -d "/home/$USERNAME/usr" -G admin,users,wheel -s "/usr/bin/bash" "$USERNAME" +useradd -m -d "/home/$USERNAME/usr" -G admin,users,wheel -s "/bin/bash" "$USERNAME" chown -R "$USERNAME:$USERNAME" "/home/$USERNAME" echo "Setting password for user '$USERNAME'" passwd "$USERNAME" diff --git a/scripts/bin/app-launcher b/scripts/bin/app-launcher index 5245b97..b42eb78 100755 --- a/scripts/bin/app-launcher +++ b/scripts/bin/app-launcher @@ -3,7 +3,7 @@ source "$DOTFILES_PATH/de/bar/bar.bash" --just-vars LAUNCHER_FONT=$(xrdb -query | sed -ne 's/.*font:\s*xft:\([^:]*\).*$/\1/p' | head -n 1) -LAUNCHER_FONT_SIZE=$(xrdb -query | sed -ne 's/.*font:\s*xft:.*=\(.*\)$/\1/p' | head -n 1) +LAUNCHER_FONT_SIZE=$(xrdb -query | sed -ne 's/.*font:\s*xft:.*=\([0-9]*\).*$/\1/p' | head -n 1) HIGHLIGHT_COLOR=$(xrdb -query | sed -ne 's/.*color4*:\s*\(.*\)$/\1/p' | head -n 1) HIGHLIGHT_FOREGROUND_COLOR=$(xrdb -query | sed -ne 's/.*background:\s*\(.*\)$/\1/p' | head -n 1) BACKGROUND_COLOR=$(xrdb -query | sed -ne 's/.*background:\s*\(.*\)$/\1/p' | head -n 1)