My bspwm is broken and I’m not sure what I did
Edit2: ok so turns out the issue was in my xinitrc, I was missing a couple &’s :/
I can’t even post my bspwmrc. When x starts, I get a very weird thing where my background is right, but polybar doesn’t appear, windows open weird, so I think my bspwmrc is broken, but I can’t even post what it is, so if there are some common problems I would love to know
Edit: I managed to copy paste it, here it is:
#! /bin/sh
pgrep -x sxhkd > /dev/null || sxhkd &
polybar bar &
bspc monitor -d I II III IV V VI VII VIII IX X
bspc config border_width 0
bspc config window_gap 45
config split_ratio 0.52
bspc config borderless_monocle true
bspc config gapless_monocle true
bspc rule -a Gimp desktop='^8' state=floating follow=on
bspc rule -a firefox desktop='^2' state=tiled
bspc rule -a steam desktop='^10' state=floating
# bspc rule -a thunar state=floating
# bspc rule -a
#$HOME/.config/polybar/launch.sh
Edited 13 Oct 2020. We only hold this version.
About this post
- Posted
- Archived
- Edited
- Score
- 1 · 67% up
- Kind
- Text
- ID
- jacbxp
18 comments
Make sure bspwmrc is in one of the places mentioned in the man page, make sure it's executable, make sure it doesn't have syntax or spelling errors.
How would I make sure it’s executable? What could I have done to make it not so?
chmod +x bspwmrc
Edit:
To check permissions,
ls -l
It should be -rwxr-xr-x
Deleted before we saved it.
ok I managed to copy paste it, here it is:
comment the sxhkd line and see if polybar launches?
Deleted before we saved it.
To troubleshoot polybar, try launching it from the terminal and see if you get any errors.
From bspwm, have you tried changing the window state or mode with the hotkeys? Your sxhkdrc file should have them all listed.
Yeah, so, switching desktops doesn’t work, switching windows doesn’t work. Every opened window is just on top of the others and can’t be moved.
Edit: polybar does successfully launch from the terminal
Edit2: ok so turns out the issue was in my xinitrc, I was missing a couple &’s :/