Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output in bar shows as < < < < #3

Open
angryrobot opened this issue Mar 2, 2019 · 8 comments
Open

Output in bar shows as < < < < #3

angryrobot opened this issue Mar 2, 2019 · 8 comments

Comments

@angryrobot
Copy link

After installing tmux-plugin-spotify I added the options to my tmux.conf.local file in the tmux_conf_theme_status_right line as follows:

tmux_conf_theme_status_right='#{prefix}#{pairing}#{synchronized} #{?battery_status, #{battery_status},}#{?battery_bar, #{battery_bar},}#{?battery_percentage, #{battery_percentage},} , %R , %d %b | #{username}#{root} | #{hostname} | #{spotify_status}, #{spotify_song}, #{spotify_artist}, #{spotify_album}, #{spotify_playback} |'

Then I save and reload my tmux.conf file and it only shows < < < < in the lower right corner next to my hostname. A NOTE: This is very important, I noticed that while the tmux.conf file is reloading that the status bar changes it's look several times and it even shows the spotify song info but only for a second. It almost seems like there might be more than one option that is trying to load since the look changes several times but then goes back to the original look. Here is a copy of my tmux.conf.local file if you want to look at my settings. I think maybe there is more than one option for the statusbar look that is trying to load but im a noob to tmux and it has been quite the battle just to make it this far. I want to learn more so any help that you can give me would be awesome. BTW i'm not a linux noob just a noob to tmux and terminal multiplexing. Thank you in advance.

tmux.conf.local.txt

@pwittchen
Copy link
Owner

Hi,

Have you installed spotify-cli-linux app? It's required while using this plugin.

@angryrobot
Copy link
Author

Yes it's installed, this is really weird but like I said previously it works but only for a split second then it goes away. This happens while reloading the tmux config the bar at the bottom changes it's look several times before landing on my current config. I've tried this on three machines, @ Arch Linux and 1 Linux Mint and I always get the same result, it show for a second then it's gone. I think my config might be inaccurate, did you look at it to see if it's set correctly?

@pwittchen
Copy link
Owner

I had a look at your config and it seems to be fine. I'm not an expert in tmux. Maybe something else in your setup causes this problem...

@angryrobot
Copy link
Author

I'm at a loss here. I've been through it a lot of times now and have tried it on 3 different setups: 2 Arch Linux and 1 Linux Mint system. I think i'm going to try some other distros in VirtualBox but i'm pretty sure it's my setup but i'm no expert in tmux either. Like I said it does show up but only briefly while the config is reloading (this does seem strange) then it goes away, so we know that it works yet the question is why? I've tried other configs and have the same issue so I must either be missing a dependency or it's my config file. Is there a tmux IRC channel that I can visit?

@pwittchen
Copy link
Owner

pwittchen commented Mar 4, 2019

I don't know about tmux IRC channel. You can try to search it. Nevertheless, your config looks complicated. Maybe try to prepare very easy config, exclude other stuff and leave things from this plugin only to verify it works on your system. You can have a look at my .tmux.conf file as an example. It works on the latest Ubuntu LTS.

@angryrobot
Copy link
Author

Ok so I used your config and still the same issue, if I add your spotify stuff it doesn't show up it just shows a blank area for it. This is really strange. 3 machines the same problem no matter what config I use... It has to be a dependency I think.

@angryrobot
Copy link
Author

I have powerline installed and I think that may be what is interfering with my status bar, possibly, i'm looking into it...

@pwittchen
Copy link
Owner

Yeah, you may be right. I'm not using powerline.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants