From 10923f18faa65cb205dcfcc8a25f3ab920572702 Mon Sep 17 00:00:00 2001 From: Navid Sassan Date: Sun, 18 Feb 2024 20:49:35 +0100 Subject: [PATCH] improve comment --- src/main.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.rs b/src/main.rs index 3dee8f0..358fd22 100644 --- a/src/main.rs +++ b/src/main.rs @@ -56,6 +56,9 @@ fn main() { // 3. the user interacts with the list // 4. rofi sets environment variables, and calls bw-menu with the title of the selected item // 5. bw-menu acts based on the environment variables +// +// currently using the script mode so that we can pass additional info (eg the id). +// no other mode supports this, meaning we would need to match based on the title fn rofi() { let rofi_retv = env::var("ROFI_RETV"); let rofi_info = env::var("ROFI_INFO");