10 lines
		
	
	
	
		
			243 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
	
		
			243 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
| #!/usr/bin/env bash
 | |
| 
 | |
| # Offline version of aw in markdown
 | |
| 
 | |
| AW_FOLDER="$HOME/GitRepos/arch-wiki-md-repo/wiki/_content/english/"
 | |
| 
 | |
| cd "$AW_FOLDER"
 | |
| selection=$(find . -name \*.md | rofi -dmenu -i -p "Page")
 | |
| compiler "$selection"
 | |
| opout "$selection"
 |