Quickly create new Notion pages for your databases with rofi as GUI
Project description
Rofi-Notion
This script allows you to quickly create new Notion pages for your databases.
Example: I use a Notion database as a task tracker for my business. With Rofi-Notion and some key bindings, I can quickly create a new entry in my Notion database without the hassle of waiting and navigating the slow Notion interface.
Requirements
- Python >= 3.7
- A Notion integration with read and write access to the desired databases.
Installation
For archlinux users
yay -S rofi-notion-bin
For everyone else
pip install rofi-notion
Setup
Check if the installation was successful
rofi-notion -h
1. Add your Bot Notion secret
Get your API_SECRET
by creating a new Notion integration.
rofi-notion set-creds
# Then paste your creds
2. Link your first database
rofi-notion link
# Follow instructions
3. Run rofi-notion
rofi-notion run $YOUR_DB_NAME
Add i3 bindings
Simply add a similar line to your i3 config file.
bindsym $mod+Insert exec rofi-notion run $YOUR_DB_NAME
Config
Default config destination is $XDG_CONFIG_HOME/rofi-notion
or $HOME/.config/rofi-notion
if $XDG_CONFIG_HOME
is not set.
Deployment
Do not forget to bump versions in setup.py
and PKGBUILD
.
PyPi
Run make
to publish a new version.
Git tag the new version and push it. Then publish the automatically created Draft release.
git tag vX.X.X
git push --tags
AUR
First publish new release on GitHub, then run make aur
.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for rofi_notion-2.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 344193f4e94289e2543850c1bf619e2ca6e52306f403baefea5707a34a2d359e |
|
MD5 | 7ecade15758044f4721817667e102224 |
|
BLAKE2b-256 | 42461f90521937f89ee499632de634d6b253455a966ee5b4536f9ee1bc442da0 |