You are not logged in.

#1 2014-06-30 02:13:46

Dragon707
Member
From: The Netherlands
Registered: 2013-06-04
Posts: 61
Website

[SOLVED] BSPWM and DZEN2 On multiple monitors

Hi Guys,

I have a hard time to configure the BSPWM and DZEN2 panel using multiple monitors (in my case, 3 fullhd monitors).

First, i have the following script in my bspwmrc file. The problem is, it works but they are inverted. Like the first 3 desktops are on the right screen, the next 3 on the middle screen and the last 3 on the left screen. So, is there a way to invert this ?

i=1
for monitor in $(bspc query -M); do
bspc monitor $monitor \
        -n "$i" \
        -d $i/{a,b,c}
    let i++
done
NMON=$i
unset i

Second, i try to use the DZEN2 bar on 3 monitors, for each monitor their own virtualdesktops and their bspwm internal states. But i have no idea how i should do this, just one long bar and calculate the distances, or just 3 instances of the DZEN bar?

Answer:

bspc monitor ^1 -s ^3

Last edited by Dragon707 (2014-07-04 19:46:35)


ArchLinux is Awesome

GitHub   •   Dotfiles   •   Contact me   •   DELETE...!

Offline

#2 2014-06-30 08:44:51

o_caino
Member
Registered: 2013-06-06
Posts: 167

Re: [SOLVED] BSPWM and DZEN2 On multiple monitors

What's the order of the monitors listed by bspc query -M?

Offline

#3 2014-06-30 12:41:35

Dragon707
Member
From: The Netherlands
Registered: 2013-06-04
Posts: 61
Website

Re: [SOLVED] BSPWM and DZEN2 On multiple monitors

o_caino wrote:

What's the order of the monitors listed by bspc query -M?

The order of my bspc query -M is:

[kevin@blacklist ~]$ bspc query -M
1
2
3

ArchLinux is Awesome

GitHub   •   Dotfiles   •   Contact me   •   DELETE...!

Offline

#4 2014-06-30 20:50:00

o_caino
Member
Registered: 2013-06-06
Posts: 167

Re: [SOLVED] BSPWM and DZEN2 On multiple monitors

Provide more details, please.
Is 1 the right monitor, 2 the middle one, and 3 the left one?
Have you tried substituting

for monitor in $(bspc query -M); do

with the desired order, something like

for monitor in $left_monitor $middle_monitor $right_monitor; do

?

Offline

#5 2014-06-30 20:53:03

Dragon707
Member
From: The Netherlands
Registered: 2013-06-04
Posts: 61
Website

Re: [SOLVED] BSPWM and DZEN2 On multiple monitors

o_caino wrote:

Provide more details, please.
Is 1 the right monitor, 2 the middle one, and 3 the left one?
Have you tried substituting

for monitor in $(bspc query -M); do

with the desired order, something like

for monitor in $left_monitor $middle_monitor $right_monitor; do

?

3 is the left monitor, 2 the middle and 1 the right monitor (like inverted).


ArchLinux is Awesome

GitHub   •   Dotfiles   •   Contact me   •   DELETE...!

Offline

#6 2014-06-30 21:08:51

o_caino
Member
Registered: 2013-06-06
Posts: 167

Re: [SOLVED] BSPWM and DZEN2 On multiple monitors

o_caino wrote:
for monitor in $left_monitor $middle_monitor $right_monitor; do

That's it.

Offline

#7 2014-06-30 23:29:46

Dragon707
Member
From: The Netherlands
Registered: 2013-06-04
Posts: 61
Website

Re: [SOLVED] BSPWM and DZEN2 On multiple monitors

o_caino wrote:
o_caino wrote:
for monitor in $left_monitor $middle_monitor $right_monitor; do

That's it.

Nope, that still doesnt change the order sad


ArchLinux is Awesome

GitHub   •   Dotfiles   •   Contact me   •   DELETE...!

Offline

#8 2014-07-01 10:17:33

bloom
Member
Registered: 2010-08-18
Posts: 749
Website

Re: [SOLVED] BSPWM and DZEN2 On multiple monitors

You could swap the problematic monitors beforehand:

bspc monitor ^1 -s ^3

gh · da · ds

Offline

#9 2014-07-04 19:45:57

Dragon707
Member
From: The Netherlands
Registered: 2013-06-04
Posts: 61
Website

Re: [SOLVED] BSPWM and DZEN2 On multiple monitors

bloom wrote:

You could swap the problematic monitors beforehand:

bspc monitor ^1 -s ^3

Late reply, but thanks! it worked :-)


ArchLinux is Awesome

GitHub   •   Dotfiles   •   Contact me   •   DELETE...!

Offline

Board footer

Powered by FluxBB