some cleanup
This commit is contained in:
		
							parent
							
								
									233ba33ec7
								
							
						
					
					
						commit
						5e70c95984
					
				
					 12 changed files with 0 additions and 41 deletions
				
			
		
							
								
								
									
										15
									
								
								bspwm-fbt/bspmenu_url
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										15
									
								
								bspwm-fbt/bspmenu_url
									
										
									
									
									
										Executable file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,15 @@
 | 
			
		|||
#!/bin/sh
 | 
			
		||||
 | 
			
		||||
get_bookmarks() {
 | 
			
		||||
	while read url title; do
 | 
			
		||||
		echo "$url"
 | 
			
		||||
	done < "$HOME/.config/bookmarks"
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
main() {
 | 
			
		||||
	uri=$(get_bookmarks | /home/von/.config/bspwm/bspmenu -p 'url' "$@")
 | 
			
		||||
	[ "$uri" ] && { sx-open "$uri"; }
 | 
			
		||||
	echo "$uri"
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
main "$@"
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue