Update more scripts to be just scripts
This commit is contained in:
		
							parent
							
								
									163debc8a0
								
							
						
					
					
						commit
						611a41562e
					
				
					 12 changed files with 167 additions and 183 deletions
				
			
		
							
								
								
									
										20
									
								
								scripts/terminal
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								scripts/terminal
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,20 @@
 | 
			
		|||
#!/bin/sh
 | 
			
		||||
 | 
			
		||||
CLASS="terminal"
 | 
			
		||||
 | 
			
		||||
while test $# -gt 0;do
 | 
			
		||||
    case $1 in
 | 
			
		||||
        -c|--class)
 | 
			
		||||
            shift
 | 
			
		||||
            CLASS=$1
 | 
			
		||||
            shift
 | 
			
		||||
            ;;
 | 
			
		||||
        *)
 | 
			
		||||
            break
 | 
			
		||||
            ;;
 | 
			
		||||
    esac
 | 
			
		||||
done
 | 
			
		||||
 | 
			
		||||
test $# -gt 0 &&
 | 
			
		||||
    exec alacritty --class "$CLASS" -e $@ ||
 | 
			
		||||
    exec alacritty --class "$CLASS"
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue