Rename e to f

This commit is contained in:
Digital Studium 2024-04-01 08:02:59 +03:00
parent 27c262d45d
commit f30d0805aa
4 changed files with 5 additions and 5 deletions

View File

@ -7,7 +7,7 @@ GUI scripts for popular cli tools, based on dialog and fzf
- `g` - for managing git repo - `g` - for managing git repo
- `s` - for managing systemd services - `s` - for managing systemd services
- `r` - for running named commands from ~/.aliases.txt file - `r` - for running named commands from ~/.aliases.txt file
- `e` - open `lf` file manager - `f` - open `lf` file manager
- `lk` - listen for keys above (except `r`) - `lk` - listen for keys above (except `r`)
See [Screenshots](#screenshots) section See [Screenshots](#screenshots) section

View File

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

View File

6
lk
View File

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