View Single Post
Old 02-04-2022, 08:13 AM   #328
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,738
Karma: 81469865
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Silly question:

I have this rule in emblems:

Code:
program: 

	first_non_empty(
		icons_cleanup_metadata(),
		icons_cleanup_missingids(),
		icons_cleanup_fanfic(),
		icons_marked(),
		if 'Cleanup' in virtual_libraries() then 'polish.png' fi
	)
Line 7 results in a duplicate pin icon, like this:

Click image for larger version

Name:	2022-02-04 09_10_03-Window.png
Views:	620
Size:	82.8 KB
ID:	192107

So I tried replacing with if is_marked() then '' fi and... wait, that's an empty:

Click image for larger version

Name:	2022-02-04 09_11_59-Window.png
Views:	609
Size:	81.5 KB
ID:	192108

Invis.png doesn't really work quite as expected either:

Click image for larger version

Name:	2022-02-04 09_12_49-Window.png
Views:	613
Size:	82.4 KB
ID:	192109

Is there a better option than first_non_empty? For now, I'm using if is_marked() then 'nope' fi as that won't render anything.

Last edited by ownedbycats; 02-04-2022 at 08:20 AM.
ownedbycats is offline   Reply With Quote