This repository has been archived on 2021-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
2020-05-27 02:31:42 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2020-06-03 14:23:45 +00:00
|
|
|
M=$(bspc query -M --names)
|
2020-05-27 02:31:42 +00:00
|
|
|
|
|
|
|
cyclops() {
|
|
|
|
xrandr --output LVDS1 --primary --auto --scale 1.0x1.0 "$(echo "$M" | awk '! /LVDS1/ {print "--output", $1, "--off"}' | paste -sd ' ')"
|
2020-06-03 14:23:45 +00:00
|
|
|
bspc config remove_disabled_monitors
|
|
|
|
bspc config remove_unplugged_monitors
|
2020-05-27 02:31:42 +00:00
|
|
|
bspc monitor -d 1 2 3 4 5 6 7 8 9 10
|
|
|
|
bspc rule -a Firefox:Navigator state=tiled, desktop='^2'
|
|
|
|
}
|
|
|
|
|
|
|
|
cyclops
|