Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/umurgdk/ddnotes
drop down notes for linux window managers
https://github.com/umurgdk/ddnotes
Last synced: 3 months ago
JSON representation
drop down notes for linux window managers
- Host: GitHub
- URL: https://github.com/umurgdk/ddnotes
- Owner: umurgdk
- Created: 2018-07-19T05:41:29.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-08-27T10:56:56.000Z (about 6 years ago)
- Last Synced: 2024-07-04T04:31:55.249Z (4 months ago)
- Language: Shell
- Size: 347 KB
- Stars: 57
- Watchers: 3
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ddnotes - drop down notes
DDNotes opens a drop down terminal window to edit your notes.
![notes](https://raw.githubusercontent.com/umurgdk/ddnotes/master/screenshots/notewindow.png)
## Features
* Listing notes with dmenu
* Creating new notes with dmenu
* Open/Hide last opened note with `ddnotes last`## Dependencies
* `xdotools`
* `wmutils`
* `dmenu`
* `bash`
* An editor application which supports setting custom window titles. Most of the terminal emulators are supporting custom titles with a custom command to run (e.g vim). Otherwise this script should be able to work with GUI applications too.## Usage
Right now the terminal emulator is hardcoded in the script, so you have to change it yourself by editing the file. You need to make sure the editor application (e.g terminal emulator) can be run with custom title argument. ddnotes depending on custom window titles.
```bash
$ mkdir ~/notes# Show a list of notes with dmenu to open or create
$ ddnotes# Open/Toggle the last opened note window
$ ddnotes last# Open ddnotes with different notes folder
$ NOTES_DIR=$HOME/secret/notes ddnotes
```### Configuring `i3wm`
You need to configure `i3wm` to always keep note windows as floating. This way this script can change to size and position freely. Since I don't know the configurations of other tiling window managers please checkout their documentations to how to define floating rules for windows.
Add this line to your i3 configuration file. If you want to keep borders delete the part `border none`
```
for_window [title="^notes:"] floating enable border none
```## Screenshots
![listing](https://raw.githubusercontent.com/umurgdk/ddnotes/master/screenshots/listing.png)
![create new](https://raw.githubusercontent.com/umurgdk/ddnotes/master/screenshots/create-new.png)