You are not logged in.
Hi all, so I tried switching from i3 to bspwm. However, like everyone else my panel bar isn't showing up even when I run "panel &" (a script added to my path from ~/.config/bspwm/panel, shown below) from bspwmrc. I've tried linc186's solution attempt and instantepiphany's solution but to not avail. If I run "panel &" in a terminal it works without any errors. Here are my relevant files:
~/.xinitrc
#!/bin/sh
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi
xset +fp /usr/share/fonts/local/
xset -b
/usr/local/bin/wallpaper.sh &
syndaemon -i .8 -K -R &
dropboxd &
#exec i3
sxhkd &
exec bspwm~/.config/bspwm/bspwmrc
#! /bin/sh
bspc config border_width 2
bspc config window_gap 30
bspc config split_ratio 0.52
bspc config borderless_monocle true
bspc config gapless_monocle true
bspc config focus_by_distance true
bspc monitor -d 1 2 3 4 5 6 7 8 9
panel &~/.config/bspwm/panel/panel
if [ $(pgrep -cx panel) -gt 1 ] ; then
printf "%s\n" "The panel is already running." >&2
exit 1
fi
trap 'trap - TERM; kill 0' INT TERM QUIT EXIT
[ -e "$PANEL_FIFO" ] && rm "$PANEL_FIFO"
mkfifo "$PANEL_FIFO"
bspc config top_padding $PANEL_HEIGHT
bspc control --subscribe > "$PANEL_FIFO" &
xtitle -sf 'T%s' > "$PANEL_FIFO" &
clock -sf 'S%a %H:%M' > "$PANEL_FIFO" &
. panel_colors
cat "$PANEL_FIFO" | panel_bar | bar -g x$PANEL_HEIGHT -f "$PANEL_FONT_FAMILY" -F "$COLOR_FOREGROUND" -B "$COLOR_BACKGROUND" &
waitAll scripts paths have been added to my ~/.bashrc and echoing $PANEL_FIFO does return "/tmp/panel-fifo". The weirdest thing is that if I put something like "urxvt &" at the top of ~/.config/bspwm/panel/panel it opens up a terminal when I run it in another terminal. The panel shows and everything is pretty cool. However, it doesn't open a terminal or show the panel when "panel &" is executed from my bspwmrc upon startup. It's like my the panel script isn't even being run.
Please any help would be fantastic!
EDIT: I've tried substituting different panels/notification things in for "panel &" in my bspwmrc too. Like using "bar &", "dzen2 &", and "xfce4-panel &". All are ignored (not executed) except for xfce4-panel. Not sure if this is relevant but I hope this gives you guys more info
Last edited by Bunbohue (2014-10-11 22:27:57)
Offline