You are not logged in.

#1 2014-07-18 21:22:43

ninetyfourbit
Member
Registered: 2014-07-17
Posts: 3

[Panel/BSPWM] Desktop switches but doesn't update on the panel

I have not changed anything within my sxhkdrc file. If I am reading it correctly, super + (1-9) should switch the desktops. The shortcut does work, but the panel does not change.

Currently, I have four desktops set: code, web, chat, read. I can switch desktops with super + (1-4) but the panel will not change from the 'code' desktop.

Here is my bspwmrc: http://textuploader.com/kf8y

#! /bin/sh

#bspc monitor -d i ii iii iv v vi vii viii ix x
#bspc monitor -d One Two Three Four Five Six Seven Eight Nine Ten
#bspc monitor -d I II III IV V VI VII VIII IX X
#bspc monitor -d • • •
bspc monitor -d code web chat read

bspc config border_width 3
bspc config window_gap          13
bspc config split_ratio         0.52
bspc config borderless_monocle  true
bspc config gapless_monocle     true

bspc rule -a Screenkey --unmanage
bspc rule -a Gcolor2 floating=true center=true
bspc rule -a Lxappearance floating=true center=true
bspc rule -a Gmrun floating=true center=true
bspc rule -a Lxterminal floating=true center=true
#bspc rule -a urxvt floating=true center=true
bspc rule -a Viewnior floating=true center=true
bspc rule -a Feh floating=true center=true
bspc rule -a File-roller floating=true center=true
bspc rule -a floaterm floating=true center=true

#bspc rule -a Firefox desktop=I
#bspc rule -a Calibre desktop=II
#bspc rule -a Geany desktop=II
#bspc rule -a Deluge desktop=III
#bspc rule -a chromium desktop=web

#bspc desktop code --layout monocle
#bspc desktop web --layout monocle

bspc config adaptative_raise true
bspc config normal_frame_opacity 0.0
bspc config focused_frame_opacity 0.05
bspc config focused_border_color "#a7a7a7"
bspc config normal_border_color "#000000"
bspc config focus_follows_pointer true

#compton -b &
#lxpolkit &

#panel

PANEL_HEIGHT=16
PANEL_FIFO="/tmp/panel-fifo"
PANEL_FONT="Terminus:size=10"

bspc config top_padding $PANEL_HEIGHT

killall bspwmstatus dzen2 bspc xtitle

[ -e "$PANEL_FIFO" ] && rm "$PANEL_FIFO"
mkfifo "$PANEL_FIFO"

bspc control --subscribe > "$PANEL_FIFO" &
xtitle -sf 'T%s' > "$PANEL_FIFO" &  # Optional: for window title
bspwmstatus | dzen2 -fn "$PANEL_FONT" -h $PANEL_HEIGHT -ta l &

panel dzen2

If you need any more information, please just tell me how to get it and I'll amend the post.

Thank you!



#### EDIT

I switched the font to 'Deja Vu Sans Mono:size=9' and everything works fine.

Disregard. After a restart, the panel still does not update.

Last edited by ninetyfourbit (2014-07-18 22:49:45)

Offline

#2 2014-07-19 03:10:24

DisposableHero
Member
Registered: 2013-11-21
Posts: 19

Re: [Panel/BSPWM] Desktop switches but doesn't update on the panel

Try adding the -p switch to your dzen2 panel.

bspwmstatus | dzen2 -fn "$PANEL_FONT" -h $PANEL_HEIGHT -ta l -p &

Offline

Board footer

Powered by FluxBB