Skip to content

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.

1 points16 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
1 · 67% up
Kind
Text
ID
jacbxp

Author

36
posts
151
comments
4
media
View profile

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.

1 points
unknown author4 hidden

Deleted before we saved it.

1 points

ok 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
1 points
unknown author

Deleted before we saved it.

1 points

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.

1 points

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 :/

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.