diff options
| author | danix <danix@danix.xyz> | 2023-03-26 08:02:22 +0200 |
|---|---|---|
| committer | danix <danix@danix.xyz> | 2023-03-26 08:02:22 +0200 |
| commit | cb8fcb2fd59e338dbe8c42867ceb28c911a5f302 (patch) | |
| tree | 6cce3800f692fe601a77e2bdad07f9831f5939c0 /README.md | |
| parent | e4b35b4ffafe6088494bdc017ae0bf37a2226942 (diff) | |
| download | bash-notes-cb8fcb2fd59e338dbe8c42867ceb28c911a5f302.tar.gz bash-notes-cb8fcb2fd59e338dbe8c42867ceb28c911a5f302.zip | |
added debugging.v0.2
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -44,6 +44,9 @@ TERMINAL=/usr/bin/alacritty # see example in the addnote function TERM_OPTS="--class notes --title notes -e " +# set this to true to have output in plain text +# or use the -p option on the command line before every other option +PLAIN=false # base directory for program files BASEDIR=~/.local/share/bash-notes # notes database in json format @@ -103,6 +106,16 @@ chmod 755 ~/bin/notes.sh Adapt to your needs as you see fit. +### Debugging + +If the script doesn't work for you for some reasons, you can turn on debugging by running the script like this: + +```bash +DEBUG=true notes.sh [options] +``` + +And then you'll be able to check all that happened in the log file at `/tmp/debug_bash-notes.log` + ### Vision Ok, maybe vision is a bit of a stretch, but I've written this script to use it in my daily workflow with [rofi](https://github.com/davatorium/rofi) and [i3wm](https://github.com/i3/i3). I'll adapt the way it works to better suit this need of mine. |
