Add e and lk scripts

This commit is contained in:
Digital Studium 2024-04-01 07:44:44 +03:00
parent 3e5c9b4d41
commit cdfa82061b
4 changed files with 23 additions and 2 deletions

View File

@ -1 +1 @@
1.6
1.7

View File

@ -15,7 +15,7 @@ Description: GUI scripts
EOL
for script in a s g r; do
for script in a e g lk r s; do
cp $script gui-scripts_$(cat VERSION)-1/usr/local/bin
done

3
e Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
trap 'clear' EXIT
lf

18
lk Executable file
View File

@ -0,0 +1,18 @@
#!/bin/bash
clear && echo Listen to keys...
while true; do
clear && echo Listen to keys...
read -rsn1 input
if [ "$input" = "a" ]; then
a
elif [ "$input" = "e" ]; then
e
elif [ "$input" = "g" ]; then
g
elif [ "$input" = "s" ]; then
s
elif [ "$input" = "q" ]; then
exit 0
fi
done