Open amtoine opened 1 year ago
hello there :wave: :yum:
i have noticed, and that was intentional at the time, that some part of the config use polybar to get the list of connected monitors i think this is not great because it adds a useless dependency to them...
polybar
these files are:
~/.config/bspwm/bspwmrc
~/.config/qtile/popups.py
bspwm
monitors=($(polybar -m | awk -F: '{ print $1 }' | tr '\n' ' '))
qtile
output = subprocess.check_output(["polybar", "-m"]).decode("utf-8") monitors = [monitor.split(":")[0] for monitor in output.strip().split("\n")]
we should be able to use something like
bspc wm -d | jq .monitors.{{SOMETHING}}
we should be able to use qtile shell but, as i'm not on qtile these days, i did not try this idea :thinking:
qtile shell
actually, thanks to the Command Syntax Rewrite page of the wiki of bspwm, i think i found it
bspc query --desktops --desktop --names
hello there :wave: :yum:
i have noticed, and that was intentional at the time, that some part of the config use
polybar
to get the list of connected monitors i think this is not great because it adds a useless dependency to them...these files are:
~/.config/bspwm/bspwmrc
~/.config/qtile/popups.py
now
bspwm
qtile
new ideas
bspwm
we should be able to use something like
qtile
we should be able to use
qtile shell
but, as i'm not onqtile
these days, i did not try this idea :thinking: