bspwm, polybar: Fix setup for multimon
This commit is contained in:
		@@ -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 ))
 | 
			
		||||
 
 | 
			
		||||
@@ -133,9 +133,6 @@ label-focused = %name%
 | 
			
		||||
label-focused-padding = 4
 | 
			
		||||
label-focused-foreground = ${res/colors.bg}
 | 
			
		||||
label-focused-background = ${res/colors.selection}
 | 
			
		||||
label-dimmed = %name%
 | 
			
		||||
label-dimmed-background = ${res/colors.border}
 | 
			
		||||
label-dimmed-padding = 4
 | 
			
		||||
label-occupied = %name%
 | 
			
		||||
label-occupied-padding = 4
 | 
			
		||||
label-empty = %name%
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user