os/+arch (bspwm): add setup for proteus host
This commit is contained in:
		
							parent
							
								
									88c84ae6f9
								
							
						
					
					
						commit
						e2e5460d47
					
				| 
						 | 
					@ -51,16 +51,19 @@ host=$(hostname)
 | 
				
			||||||
case $host in
 | 
					case $host in
 | 
				
			||||||
    triton*)
 | 
					    triton*)
 | 
				
			||||||
        export MONITOR=DVI-I-1
 | 
					        export MONITOR=DVI-I-1
 | 
				
			||||||
        bspc monitor $MONITOR -d {1,2,3,4,5}
 | 
					 | 
				
			||||||
        [[ $nmon > 1 ]] && bspc monitor HDMI-0 -d HDMI-0/1
 | 
					        [[ $nmon > 1 ]] && bspc monitor HDMI-0 -d HDMI-0/1
 | 
				
			||||||
        [[ $nmon > 2 ]] && bspc monitor DVI-D-0 -d DVI-D-0/1
 | 
					        [[ $nmon > 2 ]] && bspc monitor DVI-D-0 -d DVI-D-0/1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        bspc config -m $MONITOR top_padding 30
 | 
					        ;;
 | 
				
			||||||
 | 
					    proteus*)
 | 
				
			||||||
 | 
					        export MONITOR=LVDS-0
 | 
				
			||||||
        ;;
 | 
					        ;;
 | 
				
			||||||
esac
 | 
					esac
 | 
				
			||||||
 | 
					if [[ $MONITOR ]]; then
 | 
				
			||||||
# top-bar
 | 
					    bspc config -m $MONITOR top_padding 30
 | 
				
			||||||
~/.config/polybar/run.sh
 | 
					    bspc monitor $MONITOR -d {1,2,3,4,5}
 | 
				
			||||||
 | 
					    ~/.config/polybar/run.sh
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue