mirror of
				https://github.com/davatorium/rofi.git
				synced 2025-10-30 23:47:19 -04:00 
			
		
		
		
	Add explicit / after path element when searching themes.
This commit is contained in:
		
							parent
							
								
									c6c7152b6e
								
							
						
					
					
						commit
						ab9330521b
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -70,9 +70,10 @@ function find_themes()
 | 
			
		|||
    # Add user dir.
 | 
			
		||||
    DIRS+=":${HOME}/.local/share/"
 | 
			
		||||
    for p in ${DIRS}; do 
 | 
			
		||||
        TD=${p}rofi/themes/
 | 
			
		||||
        TD=${p}/rofi/themes/
 | 
			
		||||
        if [ -n "${p}" ] && [ -d "${TD}" ]
 | 
			
		||||
        then
 | 
			
		||||
            echo "Checking themes in: ${TD}"
 | 
			
		||||
            for file in ${TD}/*.theme
 | 
			
		||||
            do
 | 
			
		||||
                if [ -f "${file}" ]
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue