From 399abe66e51d7432d0346d7cb01451fdd0c17df5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?tr=C3=A9meur?= Date: Wed, 13 Jul 2022 14:20:11 +0100 Subject: [PATCH] Add python scripts as submodule --- .gitmodules | 3 +++ dots/aliases | 5 ++++- scripts/utils | 1 + 3 files changed, 8 insertions(+), 1 deletion(-) create mode 160000 scripts/utils diff --git a/.gitmodules b/.gitmodules index 28a5f1a..cec332c 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,6 @@ [submodule "scripts/colorus"] path = scripts/colorus url = https://github.com/tremeur29/colorus +[submodule "scripts/utils"] + path = scripts/utils + url = https://github.com/tremeur29/utils.git diff --git a/dots/aliases b/dots/aliases index 0a8d3a1..6629555 100644 --- a/dots/aliases +++ b/dots/aliases @@ -4,6 +4,9 @@ alias emacs="emacs27" # Writing tracking alias words="cd ~/Documents/drive/org && python3 writing-tracker.py && cd -" +# Prompt scraping +alias prompts="cd ~/.linux/scripts/utils && python3 promptscrape.py && cd -" + # Music pl(){pgrep -x cmus >/dev/null && cmus-remote -u || echo "cmus is not running"} alias pa="pl" @@ -24,7 +27,7 @@ pywal(){ obtgen ~/.linux/scripts/bordergen.sh } -alias cello="python3 ~/.linux/scripts/cellopractice.py" +alias cello="python3 ~/.linux/scripts/utils/cellopractice.py" alias rcmus="~/.linux/scripts/cmus-refresh.sh" # Brevity diff --git a/scripts/utils b/scripts/utils new file mode 160000 index 0000000..f787dce --- /dev/null +++ b/scripts/utils @@ -0,0 +1 @@ +Subproject commit f787dce957a4ee96c366665987977815766afe2a