Script that turns selected text into a note file (nextcloud notes compatible)
- rofi-based UI
- add the selected text to existing notes
- editable note title
- suggests a date/time based title for taking notes without further thought
- bash (should be preinstalled on your box)
- rofi
- xclip (should be preinstalled on your box if using an X window environment)
- make it executable
chmod +x note
- move the script to a folder in your PATH
mv note ~/.local/bin/
- adjust the TARGET_FOLDER variable inside the script file to match your setup
- add a keybinding to your desktop environment to run the script
- edit your i3 config file
~/.config/i3/config
- add
bindsym $mod+n exec note
- install nextcloud client
- adjust TARGET_FOLDER variable to some subfolder of
LOCAL_NEXTCLOUD_ROOT/Notes
adjust the date +Iseconds
part to be date +%Y%m%e%H%M%S