Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/davidbhoffmann/notion_tools
Contains python tools used to increase productivity with the Notion note taking app.
https://github.com/davidbhoffmann/notion_tools
image-editing notion productivity python
Last synced: 3 months ago
JSON representation
Contains python tools used to increase productivity with the Notion note taking app.
- Host: GitHub
- URL: https://github.com/davidbhoffmann/notion_tools
- Owner: davidbhoffmann
- License: apache-2.0
- Created: 2024-05-10T09:04:48.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-05-10T09:35:42.000Z (8 months ago)
- Last Synced: 2024-09-29T06:41:10.372Z (3 months ago)
- Topics: image-editing, notion, productivity, python
- Language: Python
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Image to Darkmode
This CLI tool can load an image with white background from a file or from the clipboard, inverts its colours and changes the backround to the Notion dark mode colour (#191919). The tool is made to work with the Mac clipboard.
## How to Setup
1. Clone the repository
2. Add excecutable permissions to the `image_to_darkmode.py` file with `chmod +x image_to_darkmode.py`
3. Copy the file into a path directory (e.g as `sudo cp image_to_darkmode.py /usr/local/bin/image_to_darkmode`)## How to Use
The tool can be used in two ways. Either it reads a file from the working directory or it loads the image from the clipboard. In the former case specify the name of an image file that will be read in (e.g. `image_to_darkmode my_image.png`). The output image will be both saved as a file and copied to the clipboard.In the second case, simply copy an image to clipboard and then run `image_to_darkmode` comand. It will pull the image from the clipboard change it and past the updated version back to the clipboard.
## Example
1. Make a screen shot and copy it to the clipboard with ⇧+⌃+⌘+4. For example this image of a gaussian distribution:
2. Run the `image_to_darkmode` comand in the terminal.
3. And paste the result into your notion document using ⌘+V, as seen with the example image below: