Skip to content

Instantly share code, notes, and snippets.

@Gh0stlyKn1ght
Forked from cyruzin/bash_powerline.log
Created March 26, 2022 00:12
Show Gist options
  • Save Gh0stlyKn1ght/88f50192f6478888b8d95e78bc22126d to your computer and use it in GitHub Desktop.
Save Gh0stlyKn1ght/88f50192f6478888b8d95e78bc22126d to your computer and use it in GitHub Desktop.
Install Powerline in Arch Linux
# 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