Add native shell launcher with themed search and browsing

This commit is contained in:
Samuel Onoja committed 2026-10-13 23:15:44 +01:00
1 parent 2a400b26d0
commit d8bdb68b2a
43 files changed
+3351 -115

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
use std::sync::{
Arc,
atomic::{AtomicBool, Ordering},
};
#[derive(Clone, Default, Debug)]
pub(super) struct Cancellation(Arc<AtomicBool>);
impl Cancellation {
pub(super) fn cancel(&self) {
self.0.store(true, Ordering::Relaxed);
}
pub(super) fn cancelled(&self) -> bool {
self.0.load(Ordering::Relaxed)
}
}