You are not logged in.

#1 2015-03-15 22:32:16

StormHF
Member
Registered: 2014-09-26
Posts: 34

Powerline issues with bspwm

I can't get powerline to show anything else but the hostname , time and date. my config is almost identical to user u-ra. When he posted the  script he mentioned how it would need to be slightly modified. Sadly I don't know python so I'm unable to resolve the issue and have no experience with powerline. 
Ask me if you need any other configs.

My bspwmrc config:
http://hastebin.com/xodepitigi.bash
His dotfiles: https://github.com/u-ra/dotfiles
script used to display screens : https://gist.github.com/u-ra/7456dc9afe100aea8be5

Offline

#2 2015-03-15 22:39:44

Knute
Member
From: Minot, ND
Registered: 2009-03-17
Posts: 604

Re: Powerline issues with bspwm

Did you actually install and are you using a powerline font?


Knute

Offline

#3 2015-03-15 22:49:48

StormHF
Member
Registered: 2014-09-26
Posts: 34

Re: Powerline issues with bspwm

Yes... I'm using powerline.. What is the font that needs to be used ?

Here's my bar : http://a.pomf.se/febjau.png

Offline

#4 2015-03-15 22:58:52

Knute
Member
From: Minot, ND
Registered: 2009-03-17
Posts: 604

Re: Powerline issues with bspwm

If you search pacman for powerline-font you get a list similar to this:

aur/monaco-powerline-font-git r16.616d338-1 (7)
    Monaco Powerline fonts for X11 and the console
aur/powerline-fonts-git r69.8aab61d-1 (47)
    Powerline fonts for X11 and the console
aur/python2-powerline-fontpatcher-git 5.18a788b-1 (2)
    OTF/TTF font patcher for Powerline symbols
aur/terminess-powerline-font 1ceb8dc-1 (5)
    Terminus patched for Powerline users
aur/terminess-powerline-font-git r69.8aab61d-1 (3)
    Terminess Powerline

HTH


Knute

Offline

#5 2015-03-16 00:31:55

StormHF
Member
Registered: 2014-09-26
Posts: 34

Re: Powerline issues with bspwm

The issue i'm having is getting the bar to render my workspaces. Since I don't know python I wasn't able to modify the bar to render my workspaces. It would be nice if someone could modify the script so it would work for me. I posted my bspwmrc config. Also while searching around the interwebs I found a fork of lemonboy bar that supports xft fonts. Here's the link https://github.com/krypt-n/bar/tree/xft-port

Offline

#6 2015-03-16 01:29:52

Knute
Member
From: Minot, ND
Registered: 2009-03-17
Posts: 604

Re: Powerline issues with bspwm

First step would seem to me to be is if you have the python script in the location specified in your rc file.

python /usr/lib/python3.4/site-packages/powerline/bindings/bar/powerline-bar.py | bar -u 0 -B\#ff202020 -g 700x20+345+20

So, is your powerline-bar.py file located as stated above?


Knute

Offline

#7 2015-03-16 17:40:55

StormHF
Member
Registered: 2014-09-26
Posts: 34

Re: Powerline issues with bspwm

Yes, thats the location of the of the powerline bar.

Offline

#8 2015-03-16 17:59:09

Knute
Member
From: Minot, ND
Registered: 2009-03-17
Posts: 604

Re: Powerline issues with bspwm

So that file exists and is executable?

We are trying to determine WHY it's not working.  If it doesn't exist or can't be run that would be a reason why it doesn't work.


Knute

Offline

#9 2015-03-16 19:32:08

StormHF
Member
Registered: 2014-09-26
Posts: 34

Re: Powerline issues with bspwm

Knute wrote:

So that file exists and is executable?

We are trying to determine WHY it's not working.  If it doesn't exist or can't be run that would be a reason why it doesn't work.

Yes. That script executes and works fine. Here's a picture of my bar.


I'm not trying to edit the rendering script for the bar.. I think I'm trying to edit this script just to show the active workspaces and inactive workspaces I have and how many.. Sorry if theres any miss communiations. This is what I want it to display at the top  一 二 三 四 五.

Last edited by StormHF (2015-03-16 19:46:57)

Offline

#10 2015-03-16 19:49:09

Knute
Member
From: Minot, ND
Registered: 2009-03-17
Posts: 604

Re: Powerline issues with bspwm

Why do you need to edit that script?  And where is that script being called from anyway?


Knute

Offline

#11 2015-03-17 19:07:52

StormHF
Member
Registered: 2014-09-26
Posts: 34

Re: Powerline issues with bspwm

The script is being called at /usr/lib/python3.4/site-packages/powerline/segments/bspwm/workspaces.py
Well I need help editting the script to display how many like pages I have and am using at the moment. There might be an alternative that i'm not aware of but as far as I know thats the only way to do it with powerbar.

Offline

Board footer

Powered by FluxBB