image sorting scripts

This commit is contained in:
ktyl 2021-08-17 00:22:23 +01:00
parent cda3a30584
commit b208bd759a
5 changed files with 16 additions and 2 deletions

View File

@ -3,3 +3,8 @@
# source env scripts in subdirectories
source $SCRIPTS/cam/env.sh
source $SCRIPTS/img/env.sh
export PATH=$PATH:$SCRIPTS
export PATH=$PATH:$SCRIPTS/cam
export PATH=$PATH:$SCRIPTS/img

3
.scripts/img/cllist Executable file
View File

@ -0,0 +1,3 @@
#!/usr/bin/env bash
rm ./list || touch ./list

3
.scripts/img/mklist Executable file
View File

@ -0,0 +1,3 @@
#!/usr/bin/env bash
sxiv -o . >> list

5
.scripts/img/mvlist Executable file
View File

@ -0,0 +1,5 @@
#!/usr/bin/env bash
while read l; do mv $l $1; done <./list
rm ./list

2
.zshrc
View File

@ -9,8 +9,6 @@ export PATH=$PATH:$HOME/.local/share/gem/ruby/3.0.0/bin
export SCRIPTS=$HOME/.scripts
source $SCRIPTS/env.sh
export PATH=$PATH:$SCRIPTS
export PATH=$PATH:$SCRIPTS/cam
export TERMINAL=/usr/bin/kitty
export EDITOR=/usr/bin/nvim