diff options
| author | omagdy7 <omar.professional8777@gmail.com> | 2024-05-01 02:37:25 +0300 |
|---|---|---|
| committer | omagdy7 <omar.professional8777@gmail.com> | 2024-05-01 02:37:25 +0300 |
| commit | fa049ca745ae91e4e3c1835f40535efac4e6cc23 (patch) | |
| tree | 7ecb46c6ca7c6eb3c288e3d1db48358dad1949f2 /scripts | |
| parent | 8a26726ebeb60a76c51f7ef258dc8d4ab287c1a3 (diff) | |
| download | dotfiles-fa049ca745ae91e4e3c1835f40535efac4e6cc23.tar.xz dotfiles-fa049ca745ae91e4e3c1835f40535efac4e6cc23.zip | |
Now opens the temp file in alacritty instead of kitty
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/.scripts/create_tmp.sh | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/.scripts/create_tmp.sh b/scripts/.scripts/create_tmp.sh index 5855e2a..56d5fbb 100755 --- a/scripts/.scripts/create_tmp.sh +++ b/scripts/.scripts/create_tmp.sh @@ -1,12 +1,10 @@ #!/bin/sh # Choose an extenstion for the temp file -choice=$(echo -e "cpp\nc\npy\nrs\njs\nts\ngo\ntxt\nmd\nhtml\ncss"| dmenu -p "Select extension: " -l 10) +choice=$(echo -e "cpp\nc\npy\nrs\njs\nts\ngo\ntxt\nmd\nhtml\ncss" | dmenu -p "Select extension: " -l 10) # choose random word from a dictionary random_word=$(cat /usr/share/dict/cracklib-small | shuf -n 1) # create temp file and open it in nvim -kitty -e nvim /tmp/$random_word.$choice - - +alacritty -e nvim /tmp/$random_word.$choice |
