Bspwm edition

I kept looking at the code, and on paper it looked good to me. So I started to run through the code manually, step by step.

When I got to
sudo -u $username mkdir /home/$username/.local/share/fonts
It bombed out. Evidently mkdir cannot create new folders three layers deep.

Here is a quick example from a terminal window in my home directory
$ mkdir part1/part2/part3
mkdir: cannot create directory ‘part1/part2/part3’: No such file or directory

So when the code tried to copy the fonts to the .local/share/fonts directory, it didn’t exist.

So I changed it to three separate commands.
sudo -u $username mkdir /home/$username/.local
sudo -u $username mkdir /home/$username/.local/share
sudo -u $username mkdir /home/$username/.local/share/fonts

I learned something on that one. :nerd_face:

Pudge

3 Likes

Try mkdir -p - will create intervening dirs if needed, and NOT error if already there… very handy option!

6 Likes

Just learned something else!

Pudge

5 Likes

Just came here to say this. Sometimes duck-ducking the problem gives a better solution. As always, i learnt it the hard way :wink:

2 Likes

@OdiousImp
Did you add xdg-user-dirs to the package list?
If so, I will add it to the EndeavourOS Arm bspwm-pkg-list.
Need to keep them in sync.

Pudge

2 Likes

It was acc already there. Under the name xdg-user-dirs-gtk

1 Like

may missing also:

xdg-user-dirs-gtk

1 Like

@joekamprad @manuel The configs are finished! You can test propely if you want and add to the official thing.

@flyingcakes can be the maintainer if he is okay with that?

4 Likes

i will do a test installl and then it needs to change the welcome app and include needed files on ISO…

1 Like

:pray: 1st chance i get to install ( busy work ) install fine on pi4 :+1: I start look at keybindings ( they different :upside_down_face: but ok to use ) only take fast look ( might missed it ) i no see refresh/restart polybar ?

i see restart bspwm but polybar no refresh with that … scrot glitch when take screenshot . probably a pi4 problem .2021-03-11-1920x1080_scrot

1 Like

setup.sh is not working there are some unused commands.
can someone review it?

Maybe something to do with this mkdir ~/.local/share/fonts I remeber Pudge saying this didn’t work on ARM too. Can you try with the -p flag.]
mkdir -p ~/.local/share/fonts

EDIT: You use NEWUSER instead so maybe mkdir -p /home/$NEW_USER/.local/share/fonts

i think i fixed it…

xdg and font commands are not needed they will get done on first boot

2 Likes
rm -rf bspwm

fc-cache -f -v

xdg-user-dirs-update

EDIT : Got there before me!

2 Likes

@joekamprad Sorry! I think I forgot three things!

chmod -R +x /home/$NEW_USER/.config/bspwm/
chmod -R +x /home/$NEW_USER/.config/sxhkd/
chmod -R +x /home/$NEW_USER/.config/polybar/scripts/

1 Like
1 Like

Reproduced! Thank you for that! I’ll see what the problem is!

Polybar refreshes with it! I should add killall polybar then start it.

!
BSPWM defaults! Didn’t want to change too far away! They are very weird I agree! To much ALT key is is weird to press!

1 Like

@OdiousImp @flyingcakes

these useful in polybar if user no like tray :blush: :innocent:

click-left = " exec termite -e nmtui "
click-right = " exec /usr/bin/blueman-manager "
click-right = " exec /usr/bin/pavucontrol "
click-left = " exec termite -e htop "

no try them on bspwm yet … i use in polybar on i3

@OdiousImp still like " nmcli dev wifi list " 55555555 :rofl: guess i just old :worried:

2 Likes

It does look quite nice too! Maybe…just maybe… :shushing_face:

I let @flyingcakes decide polybar.

1 Like

i do remove the browser group and put firefox to be installed per default again, it will cause too much users missing to install a browser, and it is EOS default also…

is it right that termite has no transparency?
something like:

opacity-rule = ["85:class_g = 'Termite'"];

in picom.conf?
Screenshot_2021-03-10_23-02-56

3 Likes