You are not logged in.
Image: https://imgur.com/a/xdXtWNC
I installed pip using
sudo pacman -S python-pip
then ran
sudo pip install --user powerline
then added this
if [ -f `which powerline-daemon` ]; then
powerline-daemon -q
POWERLINE_BASH_CONTINUATION=1
POWERLINE_BASH_SELECT=1
. /usr/lib/python3.8/site-packages/powerline/bindings/bash/powerline.sh
fi
to my .bashrc. Now I get powerline in bash, but it doesn't look right.
Laptop: Lenovo Thinkpad E590
Kernel: Linux-Zen 5.9
WM: i3
DM: LightDM
Terminal: URxvt
Last edited by AirsoftHamster (2020-11-13 22:08:43)
Offline
Offline
You should not use 'sudo' to install with pip --user. Though I don't believe that's related to the current issue. The current problem is simply that you need a font in your terminal that provides those symbols. What font are you currently using? What's the content of your ~/.Xdefaults and/or ~/.Xresources?
Last edited by Trilby (2020-11-13 18:29:43)
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
.Xresources (I use URxvt):
! font
URxvt.font: xft:monospace:size=11
! scrollBar
URxvt.scrollBar: false
! colors
! special
*.foreground: #c5c8c6
*.background: #1d1f21
*.cursorColor: #c5c8c6
! black
*.color0: #282a2e
*.color8: #373b41
! red
*.color1: #a54242
*.color9: #cc6666
! green
*.color2: #8c9440
*.color10: #b5bd68
! yellow
*.color3: #de935f
*.color11: #f0c674
! blue
*.color4: #5f819d
*.color12: #81a2be
! magenta
*.color5: #85678f
*.color13: #b294bb
! cyan
*.color6: #5e8d87
*.color14: #8abeb7
! white
*.color7: #707880
*.color15: #c5c8c6
! Extensions
URxvt.perl-ext-common: default,matcher
URxvt.url-launcher: /usr/bin/xdg-open
URxvt.matcher.button: 1
.Xdefaults has nothing in it.
Offline
You need to use a font that contains the appropriate symbols.
What font would that be? I tried running
sudo pacman -S powerline-fonts
like it said in the guide I was reading but it didn't work.
Offline
You need to actually configure urxvt to use the font, not just install it.
Offline
How might I do that? Sorry, I'm new to arch.
Offline
Offline