Should be better now after screwing up with specialisations earlier.
POWANTMVHF4TOAJ2QBEEOW7BZ3MT7IBUEOXJQXPC33LZKNKPBTQQC
I24IYFMOTYSSI3LAZ2PWUZP5LU4ULNPBHZDVIFDMI4WTIBGLEZJQC
ZXGWQ2XANWUMPZ3WKAG37WCK5PGJFEFGOGPOO4J6Q74I5VWNBNHAC
5G7WRBMWKG6DMCOHE6WQHTYZACUHO2UPBZRWN72CFH7P45NN5E7QC
print $"[Theme Switch]: ($message)"
print $"(ansi purple)[Theme Switcher] ($message)"
let base_args = ["--appname=Theme Switch" "--replace=1002"]
let base_args = ["--appname=Theme Switcher" "--replace=1002"]
# Use persistent notifications (timeout=0) when in-progress. # Use short timeout for completion messages (progress=100). let timeout = if $progress >= 0 and $progress < 100 { 0 } else { 15000 }
# Use persistent notifications (timeout=0) when in-progress.
# Use short timeout for completion messages (progress=100).
let timeout = if $progress >= 0 and $progress < 100 { 0 } else { 15000 }
^dunstify ...$args --urgency=normal --timeout=30000 "Status" $"($message)"
^dunstify ...$args --urgency=normal --timeout=($timeout) "Status" $"($message)"
}def print_notify [message: string] { print $"[Theme Switcher]: ($message)" if (which dunstify | is-not-empty) { ^dunstify "[Theme Switcher]" $"($message)" }
}
def print_notify [message: string] {
print $"[Theme Switcher]: ($message)"
if (which dunstify | is-not-empty) {
^dunstify "[Theme Switcher]" $"($message)"