From 16c4cc9094cff8cb32a26694ec0db660ac481485 Mon Sep 17 00:00:00 2001 From: Brad Ganley Date: Sun, 26 Feb 2023 05:34:50 -0600 Subject: [PATCH] We are each gifted in a unique and important way. It is our privilege and our adventure to discover our own special light --- .bash_aliases | 11 +++++++++++ i3/config | 1 + 2 files changed, 12 insertions(+) diff --git a/.bash_aliases b/.bash_aliases index 2fa7cf9..4495623 100755 --- a/.bash_aliases +++ b/.bash_aliases @@ -98,3 +98,14 @@ countdown() { sleep 0.1 done } +# Random quote to avoid making useful commit messages +function rgcm() { + message=$(curl -s https://quotes.rest/qod | jq -r '.contents.quotes[0].quote') + if [[ -z $message ]]; then + echo "Error: Failed to retrieve a random commit message" + return 1 + fi + git add . + git commit -m "$message" + echo "Git commit submitted with message: $message" +} diff --git a/i3/config b/i3/config index e7a8283..c97a329 100644 --- a/i3/config +++ b/i3/config @@ -201,3 +201,4 @@ exec --no-startup-id blueman-applet exec_always --no-startup-id nm-applet exec_always --no-startup-id parcellite exec_always --no-startup-id volumeicon +exec --no-startup-id barrier