mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	config
This commit is contained in:
		
							parent
							
								
									c1b0745ae6
								
							
						
					
					
						commit
						be013ead4c
					
				
					 2 changed files with 4 additions and 10 deletions
				
			
		|  | @ -1,2 +0,0 @@ | ||||||
| # quickyad config file |  | ||||||
| SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" |  | ||||||
							
								
								
									
										12
									
								
								quickgui
									
										
									
									
									
								
							
							
						
						
									
										12
									
								
								quickgui
									
										
									
									
									
								
							|  | @ -17,17 +17,13 @@ if ! command -v yad >/dev/null 2>&1; then | ||||||
| fi | fi | ||||||
| # generate random key for yad (for connecting tabs in notebook together) | # generate random key for yad (for connecting tabs in notebook together) | ||||||
| key=$((RANDOM % 9000 + 1000)) | key=$((RANDOM % 9000 + 1000)) | ||||||
|  | 
 | ||||||
| # set current dir as QUICKEMU_VMS_DIR | # set current dir as QUICKEMU_VMS_DIR | ||||||
| #QUICKEMU_VMS_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" | #QUICKEMU_VMS_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" | ||||||
| # set default directories | 
 | ||||||
| QUICKEMU_VMS_DIR="$HOME/.local/share/quickemu" | # distrohopper config file | ||||||
| CONFIG_DIR="$HOME/.config/distrohopper" | CONFIG_DIR="$HOME/.config/distrohopper" | ||||||
| ICON_DIR="$CONFIG_DIR/vms_icons" | source "$CONFIG_DIR/distrohopper.conf" | ||||||
| TERMINAL=sakura |  | ||||||
| replace='"!"' |  | ||||||
| export "QUICKEMU_VMS_DIR" "CONFIG_DIR" "ICON_DIR" |  | ||||||
| # create default dirs if they are not present |  | ||||||
| mkdir -p "$CONFIG_DIR" "$CONFIG_DIR/vms_ready" "$CONFIG_DIR/vms_supported" |  | ||||||
| # remove desktop files (ready to run VMs) | # remove desktop files (ready to run VMs) | ||||||
| rm "$CONFIG_DIR"/vms_ready/* | rm "$CONFIG_DIR"/vms_ready/* | ||||||
| # Enter ditrohopper VMs dir | # Enter ditrohopper VMs dir | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue