Add dmenu script for quick translating
							parent
							
								
									57d94676c4
								
							
						
					
					
						commit
						c6b0ddc99b
					
				| 
						 | 
				
			
			@ -0,0 +1,8 @@
 | 
			
		|||
#!/usr/bin/env bash
 | 
			
		||||
options="nl:en\nen:nl\nnl:fr\nfr:nl\nen:fr\nfr:en\nnl:de\nde:nl"
 | 
			
		||||
 | 
			
		||||
selected=$(echo -e "$options" | dmenu -p "s?:t?" -i -l 0)
 | 
			
		||||
 | 
			
		||||
notify-send --app-name= -t 3000 "$(trans $selected -b "$(dmenu -p $selected &)" \
 | 
			
		||||
  | tr -d '\n' \
 | 
			
		||||
  | xclip -sel clip -f)"
 | 
			
		||||
		Loading…
	
		Reference in New Issue