bspwm, polybar: Fix setup for multimon

This commit is contained in:
2020-06-01 15:59:05 -05:00
parent 9ac01939d6
commit 2810a5e991
2 changed files with 7 additions and 3 deletions

View File

@@ -7,6 +7,13 @@
## Monitor allocation
# Honestly pretty complex
setmon() {
# First of all, we're gonna fix our monitor configs here
case $(hostname) in
dsk-cstm-0)
xrandr --output DisplayPort-1 --mode 2560x1440 --rate 144 --primary
xrandr --output HDMI-A-0 --mode 1920x1080 --rate 60 --pos 2560x360
;;
esac
desktops_total=8
desktops_primary=6
desktops_secondary=$(( desktops_total - desktops_primary ))