fixed desktop/laptop recognition

nixos
Moritz Böhme 2021-04-19 14:29:07 +02:00
parent c07a8df428
commit b06263bfe0
1 changed files with 3 additions and 3 deletions

View File

@ -1,9 +1,9 @@
#!/bin/sh
# MONITORS #
if [ $(uname -n) == 'arch-desktop']; then
bspc monitor HDMI-0 -d 6 7 8 9 0
bspc monitor HDMI-1 -d 1 2 3 4 5
if [ "$(uname -n)" = 'arch-desktop' ]; then
bspc monitor HDMI-0 -d 1 2 3 4 5
bspc monitor HDMI-1 -d 6 7 8 9 10
else
bspc monitor -d 1 2 3 4 5 6 7 8 9
fi