Bspwm edition

Raspberry Pi 4b 4GB - 32 bit OS on USB SSD 256GB - 1360x768 resolution

screenshot

As one can see in the upper right corner, I have both bspwm and i3 installed.
I tried to add Sway to the mix, got a conflict between lxappearance & lxappearance-gtk3
Is there any work around for this, or is it strictly one or the other?

Pudge

5 Likes

had same conflict. i just replace lxappearance-gtk3 . no big problem so far

3 Likes

:pray: Thank you. I replaced lxappearance-gtk3 with lxapprearance and Sway then installed. :grin:

All three are now working. As long as one doesnā€™t want to change the theming, it should be OK. However, I donā€™t know what the consequences will be down the road when some updates come in.

Now I can easily compare the three and make a decision. Right now I am kind of leaning towards Sway just a little.

Pudge

4 Likes

Thanks everyone for trying out the bspwm config and sharing your views :pray:

@OdiousImp Iā€™ll have added a launch script for polybar that will take care of refreshes.

@Shjim I wanted to stick with default keybindings. They are very different form i3wm keybindings. I wouldā€™ve liked to change it, but I just wanted the defaults.


Thank you @Shjim
I donā€™t want to remove the sys tray, because it shows many useful icons. Like flameshot, minimized applications etc. I will add those on-click scripts.

Edit : @OdiousImp I want to add the click on cpu module to launch a *top application. But afaik we are not bundling any such package as of now. Would you like to add any such package? :thinking:

1 Like

I remember a while back joe saying Lxapperance-gtk3 didnā€™t work on sway so thats why I went with the old one. If it works I can always use the gtk3 one too!

you add htop I did for the sway. You can also you the preinstalled oneā€¦@Shijim what is it called I forgot?

1 Like

will need testing, but it was the case that the gtk3 version does not start at all on sway

1 Like

glances you mean?

1 Like

I can take care of picom too. Been adding that bling to my i3 screenshots since forever :laughing:

Iā€™ll add bind CPU module click to glances.

1 Like

Pacman will not allow both lxappearance and lxappearance-gtk3 to be installed at the same time. If you try, pacman will blow the whistle, call a ā€˜conflicting packagesā€™ foul, and ask if you want to replace one or keep the other, but not both.

So we need to keep lxappearance and NOT add lxappearance-gtk3.
So for bspwm we need lxappearance-gtk3.

Pudge

1 Like

Edit:

Sorry! I didnt too as in both. I meant we use the gtk3 one in sway as well. Thats is better one. We want the gtk3 one over the gtk2 right? Ill check the gtk3 one works on sway.

You have me wrong. I no say remove tray :upside_down_face: just small useful options that good for both users :blush: Going trayless no for everyone :wink: We all different + there no right or wrong way :+1:

2 Likes

Hmm. Okay. I decided to add only a click on cpu module to start glances and right click on volume module to launch pavucontrol.

I like people who understand this. Thanks :pray:

3 Likes

@Shjim
It turns out polybar cannot have click events on Cpu/memory modules. To have them clickable, Iā€™ll need to write a script that gives me the output, since text modules are clickable.

Right click on volume module works fine. It opens pavucontrol.

2 Likes

okā€¦ this one work (use if you want )

[module/vpn-networkmanager-status]
type = custom/script
exec = ~/polybar-scripts/vpn-networkmanager-status.sh
interval = 10
format-prefix ="ļ›¢ "
format-prefix-foreground =#69acbf
click-left = " exec termite -e nmtui "
#!/bin/sh

vpn="$(nmcli -t -f name,type connection show --order name --active 2>/dev/null | grep vpn | head -1 | cut -d ':' -f 1)"

if [ -n "$vpn" ]; then
	echo "ļ€Œ"
else
	echo "ļ€"
fi
2 Likes

@flyingcakes

might find helpful.

2 Likes

please PR to https://github.com/EndeavourOS-Community-Editions/bspwm if you do changes :dizzy:

2 Likes

Sure :+1:


@Shjim Thanks for the link. Iā€™ll see what can be done. :pray:

2 Likes

i just give ideaā€¦ it your bar ! so no use if you not feel needed ā€¦ :+1:

1 Like

;label-connected =%signal%%
label-connected = %{A1:nm-connection-editor:}%signal%% %{A} :innocent:

or

label-connected = %{A1:termite -e nmtui &:} %signal%% %{A}

cpu

;label = %percentage:2%%
label = %{A1:termite -e htop &:} %percentage:2%% %{A}

1 Like