-
-
Save Gh0stlyKn1ght/88f50192f6478888b8d95e78bc22126d to your computer and use it in GitHub Desktop.
Install Powerline in Arch Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install powerline and powerline fonts. | |
sudo pacman -S powerline powerline-fonts | |
# Optional - Install powerline-fonts-git package from AUR to get the patched fonts. | |
# Remove the powerline-fonts first then: | |
sudo pacman -S powerline-fonts-git | |
# Add this to the end of the .bashrc file. | |
powerline-daemon -q | |
POWERLINE_BASH_CONTINUATION=1 | |
POWERLINE_BASH_SELECT=1 | |
. /usr/share/powerline/bindings/bash/powerline.sh | |
# Enable GIT branch. | |
# Create the powerline config file | |
mkdir -p ~/.config/powerline | |
# Execute this entire block on the terminal: | |
cat <<-'EOF' > ~/.config/powerline/config.json | |
{ | |
"ext": { | |
"shell": { | |
"theme": "default_leftonly" | |
} | |
} | |
} | |
EOF | |
# Apply the changes restarting the daemon. | |
powerline-daemon --replace | |
# Customizations | |
Set font "Droid Sans Mono Dotted for Powerline" with size 10. | |
Set transparency to 10%. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment