You are not logged in.

#1 2024-03-08 16:47:14

chm0d_Rich
Member
Registered: 2024-03-08
Posts: 1

BSPWM polybar module and BSPWMRC

I have been looking for a resolution for my issues with no luck.  I have two computers setup with BSPWM.  One my one computer BSPWM works like it's suppose to.  I have taken the same configs from the computer that is working to my other computer that BSPWM isn't displaying my virtual desktops.  I have two monitors and I have changed the configs to the name of these monitors, but Polybar BSPWM module does not show my desktops.  It only shows 1 per monitor.

BSPWMRC:

#! /bin/sh
#Autostart
$HOME/.config/bspwm/autostart.sh &

pgrep -x sxhkd > /dev/null || sxhkd &

bspc rule -r "*"
xrandr --output DP-2 --mode 2560x1440 --rotate normal --output DP-0 --primary --mode 2560x1440 --rotate normal --right-of DP-2

#BSPWM configuration
bspc config border_radius       8
bspc config border_width         3
bspc config window_gap           10
bspc config top_padding          30
bspc config bottom_padding       10
bspc config left_padding         10
bspc config right_padding        10
bspc config single_monocle       false
#bspc config click_to_focus       true
bspc config split_ratio          0.52
bspc config borderless_monocle   false
bspc config gapless_monocle      false
#bspc config focus_by_distance    true
bspc config focus_follows_pointer true
#bspc config history_aware_focus  true
bspc config pointer_modifier mod4
bspc config pointer_action1 move
bspc config pointer_action2 resize_side
bspc config pointer_action3 resize_corner
bspc config remove_disabled_monitors true
bspc config merge_overlapping_monitors true

# source the colors.
. "${HOME}/.cache/wal/colors.sh"

# Set the border colors.
bspc config normal_border_color "$color1"
bspc config active_border_color "$color2"
bspc config focused_border_color "$color15"
# Use the line below if you are on bspwm >= 0.9.4
bspc config presel_feedback_color "$color1"
# Use the line below if you are on bspwm < 0.9.4
#bspc config presel_border_color "$color1"


#Monitor configuration
bspc monitor DP-2 -d 1 2 3 4 5
bspc monitor DP-0 -d 6 7 8 9 10

BSPWM Polybar Module:

[module/bspwm]
type = internal/bspwm

enable-click = true
enable-scroll = true
reverse-scroll = true
pin-workspaces = true
occupied-scroll = false

ws-icon-0 = 1;?
ws-icon-1 = 2;
ws-icon-2 = 3;
ws-icon-3 = 4;
ws-icon-4 = 5;
ws-icon-5 = 6;
ws-icon-6 = 7;
ws-icon-7 = 8;
ws-icon-8 = 9;
ws-icon-9 = 10;?
ws-icon-default = "♟"


format = <label-state>

label-focused = ?
label-focused-foreground = ${colors.foreground}

label-occupied = %icon%
label-occupied-foreground= ${colors.foreground}

label-urgent = %icon%

label-empty = %icon%
label-empty-foreground = ${colors.foreground}

label-separator = "|"
label-separator-padding = 2
label-separator-foreground = ${colors.foreground}

Any help would be greatly appreciated.

Rich

Offline

Board footer

Powered by FluxBB