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");