Fix using wrong variable
This commit is contained in:
		
							parent
							
								
									5201a35272
								
							
						
					
					
						commit
						a8f6998e3c
					
				@ -6,7 +6,7 @@ case "$1" in
 | 
				
			|||||||
  "locked")
 | 
					  "locked")
 | 
				
			||||||
    # Read timeout from KDE
 | 
					    # Read timeout from KDE
 | 
				
			||||||
    SCREENSAVER_TIMEOUT=$(kreadconfig5 --file powermanagementprofilesrc --group AC --group DPMSControl --key idleTime_screenSaver)
 | 
					    SCREENSAVER_TIMEOUT=$(kreadconfig5 --file powermanagementprofilesrc --group AC --group DPMSControl --key idleTime_screenSaver)
 | 
				
			||||||
    TIMEOUT="${NORMAL_TIMEOUT:-$SCREENSAVER_TIMEOUT_DEFAULT}"
 | 
					    TIMEOUT="${SCREENSAVER_TIMEOUT:-$SCREENSAVER_TIMEOUT_DEFAULT}"
 | 
				
			||||||
    ;;
 | 
					    ;;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  "unlocked")
 | 
					  "unlocked")
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user