display options vertically
This commit is contained in:
		
							parent
							
								
									494ea544a0
								
							
						
					
					
						commit
						11e4a397a1
					
				| 
						 | 
					@ -11,7 +11,7 @@ if command -v bspc ; then
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	[[ -n "$options" ]] || exit
 | 
						[[ -n "$options" ]] || exit
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	id_index="$(<<< "$options" dmenu $DMENU_OPTIONS | cut -d: -f1)"
 | 
						id_index="$(<<< "$options" dmenu $DMENU_OPTIONS -l 20 | cut -d: -f1)"
 | 
				
			||||||
	[[ -n "$id_index" ]] || exit
 | 
						[[ -n "$id_index" ]] || exit
 | 
				
			||||||
	bspc node "${ids[$((id_index - 1))]}" -f
 | 
						bspc node "${ids[$((id_index - 1))]}" -f
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue