#!/bin/sh M=$(bspc query -M --names) cyclops() { xrandr --output LVDS1 --primary --auto --scale 1.0x1.0 "$(echo "$M" | awk '! /LVDS1/ {print "--output", $1, "--off"}' | paste -sd ' ')" bspc config remove_disabled_monitors bspc config remove_unplugged_monitors bspc monitor -d 1 2 3 4 5 6 7 8 9 10 bspc rule -a Firefox:Navigator state=tiled, desktop='^2' } cyclops