11 lines
		
	
	
	
		
			195 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
	
		
			195 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
#!/bin/bash
 | 
						|
 | 
						|
list_windows() (
 | 
						|
    wlrctl window list
 | 
						|
)
 | 
						|
 | 
						|
window=$(list_windows | wofi -H 20% -id -p "select window..." | awk '{print $1}' | sed 's/://')
 | 
						|
 | 
						|
echo $window
 | 
						|
 | 
						|
wlrctl window focus $window
 |