Multiple display setup

This commit is contained in:
Mahesh Asolkar 2021-06-13 18:19:49 -07:00
parent d89f1eb34b
commit 5c49226514

View File

@ -2,11 +2,16 @@
echo "Entourage: $XDG_RUNTIME_DIR - $DWL_TAGS_FILE" >> $DWL_LOG_FILE echo "Entourage: $XDG_RUNTIME_DIR - $DWL_TAGS_FILE" >> $DWL_LOG_FILE
# Dual screen NUM_DISPS=$(wlr-randr | egrep "^\w+" | wc -l)
wlr-randr --output HDMI-A-1 --on --pos 0,0 --output eDP-1 --on --pos 1680,0 echo "Entourage: Configuring ${NUM_DISPS} displays" >> $DWL_LOG_FILE
if [[ $NUM_DISPS > 1 ]]; then
# Dual screen
wlr-randr --output HDMI-A-1 --on --pos 0,0 --output eDP-1 --on --pos 0,1050
else
# Single laptop screen # Single laptop screen
# wlr-randr --output HDMI-A-1 --off --output eDP-1 --on --pos 0,0 wlr-randr --output HDMI-A-1 --off --output eDP-1 --on --pos 0,0
fi
# ---------------------------------------------------------- # ----------------------------------------------------------
# Let DWL start # Let DWL start