Skip to content

Commit

Permalink
Update README.md with screenshot
Browse files Browse the repository at this point in the history
  • Loading branch information
digitalsignalperson authored Feb 21, 2023
1 parent 369a1ae commit c227a12
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,21 @@ obsidian://switch?vault=myvault&filename=Today.md
A sample script `obsidian-rofi.py` is included. It can be used with [Rofi](https://github.com/davatorium/rofi) like the following examples:

```
# Just switch Obsidian tabs
rofi -modi "obsidian:./obsidian-rofi.py" -show obsidian
# Show all desktop windows as well as Obsidian tabs in the same list of options
rofi -modes combi -show combi -show-icons -combi-modes "window,obsidian:./obsidian-rofi.py"
# Show desktop windows and tabs in different pages (switch with Ctrl+Tab)
rofi -modes "window,obsidian" -show window -show-icons -modi "window,obsidian:./obsidian-rofi.py"
```

This is what switching tabs can look like from a global shortcut in your desktop environment:

![Screenshot](example.jpg)


This has only been tested on linux.


Expand Down

0 comments on commit c227a12

Please sign in to comment.