aboutsummaryrefslogtreecommitdiff
path: root/scripts/.scripts
diff options
context:
space:
mode:
authoromagdy7 <omar.professional8777@gmail.com>2022-10-23 12:57:32 +0200
committeromagdy7 <omar.professional8777@gmail.com>2022-10-23 12:57:32 +0200
commitb62e938bf36f8a567c7cf4ee2e94daeb1336056b (patch)
treed77cfe81d139aea1643a03490a06c6d23845f4e8 /scripts/.scripts
parent2c2765f1c7b7b9a266fd64f60a4ba80002b5ef12 (diff)
downloaddotfiles-b62e938bf36f8a567c7cf4ee2e94daeb1336056b.tar.xz
dotfiles-b62e938bf36f8a567c7cf4ee2e94daeb1336056b.zip
Modified some config file nvim/awesome/kitty
Diffstat (limited to 'scripts/.scripts')
-rwxr-xr-xscripts/.scripts/books.sh2
-rwxr-xr-xscripts/.scripts/get_project_lines.sh4
2 files changed, 5 insertions, 1 deletions
diff --git a/scripts/.scripts/books.sh b/scripts/.scripts/books.sh
index c0ad461..12741f4 100755
--- a/scripts/.scripts/books.sh
+++ b/scripts/.scripts/books.sh
@@ -9,7 +9,7 @@
#
##################################################################
-path="/run/media/pengu/New Volume/Omar/Self learning/Books/English books/Books for computer science/"
+path="/home/pengu/Books/"
choice=$(ls "$path" | dmenu -l 10)
new_choice=$choice
diff --git a/scripts/.scripts/get_project_lines.sh b/scripts/.scripts/get_project_lines.sh
new file mode 100755
index 0000000..223e8dc
--- /dev/null
+++ b/scripts/.scripts/get_project_lines.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+FILETYPE=$1
+fd --extension $FILETYPE --exec wc -l | cut -d ' ' -f1 | paste -sd+ | bc