improved notes editor

This commit is contained in:
Daylin Morgan 2024-02-28 09:57:27 -06:00
parent d4085c80c2
commit 1956f79f2f
Signed by: daylin
GPG key ID: 3CD66E04B8072F3E
2 changed files with 7 additions and 1 deletions

View file

@ -0,0 +1,6 @@
#!/usr/bin/env bash
GIT_DIR="${HOME}/stuff/notes"
notes
notify-send "$(git -C $GIT_DIR commit -m ":memo:" -- notes)"

View file

@ -3,7 +3,7 @@ $mainMod = SUPER
# Program binds
bind = $mainMod SHIFT, RETURN, exec, wezterm
bind = $mainMod, P, exec, ~/.config/rofi/bin/launcher.sh
bind = $mainMod, N, exec, wezterm start --class "notes-editor" -e notes
bind = $mainMod, N, exec, wezterm start --class "notes-editor" -e notes-commit
bind = $mainMod SHIFT, Q, killactive,
bind = $mainMod SHIFT, L, exec, lock