| Crates.io | rofi-obsidian |
| lib.rs | rofi-obsidian |
| version | 0.1.5 |
| created_at | 2024-05-09 03:52:24.172634+00 |
| updated_at | 2024-06-01 15:52:02.656808+00 |
| description | Launch your Obsidian vaults from the comfort of rofi |
| homepage | |
| repository | https://github.com/Nydragon/rofi-obsidian |
| max_upload_size | |
| id | 1234827 |
| size | 45,334 |
This project currently has 2 main goals, integrating the opening of specific obsidian vaults directly into rofi, and circumventing a shortcoming obsidian currently has, which is being unable to select which vault to open at startup.
This programs makes use of x-scheme-handler to open the program that is currently assigned to handling obsidian://* URIs.
Execute:
cargo install rofi-obsidian
Clone the repository and execute:
cargo install
nix profile install nixpkgs#rofi-obsidian
nix profile install github:Nydragon/rofi-obsidian
Either add the binary to your $PATH environment variable or move it into the $XDG_CONFIG_HOME/rofi/scripts folder.
Don't forget to modify your config.rasi in the following way:
Add "obsidian:rofi-obsidian" to the modes array and obsidian to combi-modes.
You may circumvent step 1 and specify the entire path to the binary instead: "obsidian:/home/nico/.config/rofi/rofi-obsidian".
A minimal config example could look like this:
configuration {
combi-modes: ["obsidian"];
modes: ["obsidian:rofi-obsidian"]
}
Make sure that one of the following programs is installed:
Execute the following command (or an equivalent command to inspect mime type associations):
xdg-mime query default x-scheme-handler/obsidian
It should return the executable being used to start Obsidian.