17 lines
		
	
	
	
		
			430 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
	
		
			430 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
| #!/usr/bin/env bash
 | |
| 
 | |
| portalo_mode_std () {
 | |
|     echo "Loading portalo standard screen layout"
 | |
| 	yadm config --unset-all local.class monitor-single
 | |
| }
 | |
| 
 | |
| portalo_mode_single () {
 | |
|     echo "Loading portalo single screen layout"
 | |
| 	yadm config --add local.class monitor-single
 | |
| }
 | |
| 
 | |
| case $1 in
 | |
|     std)         portalo_mode_std ;;
 | |
|     single)      portalo_mode_single ;;
 | |
|     *)           echo "'$1' is not a valid-setup (single, std)" ;;
 | |
| esac
 |