faq: add icon fallback
This commit is contained in:
		
							parent
							
								
									444958eb8f
								
							
						
					
					
						commit
						9c669b4afa
					
				
					 1 changed files with 8 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -52,6 +52,14 @@ inside of them.
 | 
			
		|||
}
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Get rid of the purple/black icons
 | 
			
		||||
The @@Quickshell.Quickshell.iconPath() function has three variants:
 | 
			
		||||
- One draws a purple/black square if the icon is missing.
 | 
			
		||||
- One allows you to specify a fallback icon if the desired one is missing.
 | 
			
		||||
- One returns an empty string if the icon is missing.
 | 
			
		||||
 | 
			
		||||
Either of the last two variants can be used to avoid the purple/black square.
 | 
			
		||||
 | 
			
		||||
## Something is broken
 | 
			
		||||
 | 
			
		||||
### There is a hole in my window
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue