Add e and lk scripts
This commit is contained in:
		
							parent
							
								
									3e5c9b4d41
								
							
						
					
					
						commit
						cdfa82061b
					
				| 
						 | 
					@ -15,7 +15,7 @@ Description: GUI scripts
 | 
				
			||||||
EOL
 | 
					EOL
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
for script in a s g r; do
 | 
					for script in a e g lk r s; do
 | 
				
			||||||
  cp $script gui-scripts_$(cat VERSION)-1/usr/local/bin
 | 
					  cp $script gui-scripts_$(cat VERSION)-1/usr/local/bin
 | 
				
			||||||
done
 | 
					done
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -0,0 +1,18 @@
 | 
				
			||||||
 | 
					#!/bin/bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					clear && echo Listen to keys...
 | 
				
			||||||
 | 
					while true; do
 | 
				
			||||||
 | 
					clear && echo Listen to keys...
 | 
				
			||||||
 | 
					read -rsn1 input
 | 
				
			||||||
 | 
					if [ "$input" = "a" ]; then
 | 
				
			||||||
 | 
					    a
 | 
				
			||||||
 | 
					elif [ "$input" = "e" ]; then
 | 
				
			||||||
 | 
					    e
 | 
				
			||||||
 | 
					elif [ "$input" = "g" ]; then
 | 
				
			||||||
 | 
					    g
 | 
				
			||||||
 | 
					elif [ "$input" = "s" ]; then
 | 
				
			||||||
 | 
					    s
 | 
				
			||||||
 | 
					elif [ "$input" = "q" ]; then
 | 
				
			||||||
 | 
					    exit 0
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					done
 | 
				
			||||||
		Loading…
	
		Reference in New Issue