Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # set locale
- localectl set-locale LANG=en_US.UTF-8
- # installed powerline
- pip install powerline-status
- # installed powerline patched fonts
- # in Qtile config.py, imported powerline widget, set powerline font, and placed widget in first screen
- from powerline.bindings.qtile.widget import PowerlineTextBox
- widget_defaults = dict(
- font='ProFont for Powerline',
- fontsize=fsize,
- padding=3,
- )
- extension_defaults = widget_defaults.copy()
- screen = [
- Screen(
- top=bar.Bar(
- [
- PowerlineTextBox(update_interval=2, side='left'),
- widget.Spacer(),
- PowerlineTextBox(update_interval=2, side='right'),
- ],
- 30)
- ]
- # result, powerline comes up on the top Qtile bar, but the text is a nonsense string, except for the date and time.
- # Attempted to use Lembonbar instead, as well as powerline-lemonbar, but the first won't see any fonts, and the second failed with "ImportError: No module named powerline.lemonbar". Attempted to solve as outlined here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=839599 by installing python3-powerline with no success.
- # system: cpu Intel i7 8700, graphics: Nvidia rtx2060, OS: Linux Mint 19.3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement