diff --git a/home/private_bin/executable_notes-commit b/home/private_bin/executable_notes-commit new file mode 100644 index 0000000..07e47cb --- /dev/null +++ b/home/private_bin/executable_notes-commit @@ -0,0 +1,6 @@ +#!/usr/bin/env bash + +GIT_DIR="${HOME}/stuff/notes" +notes +notify-send "$(git -C $GIT_DIR commit -m ":memo:" -- notes)" + diff --git a/home/private_dot_config/hypr/keys.conf b/home/private_dot_config/hypr/keys.conf index 24f0e57..1c11e93 100644 --- a/home/private_dot_config/hypr/keys.conf +++ b/home/private_dot_config/hypr/keys.conf @@ -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