diff --git a/.scripts/env.sh b/.scripts/env.sh index 0e0d909..e2bccf6 100644 --- a/.scripts/env.sh +++ b/.scripts/env.sh @@ -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 diff --git a/.scripts/img/cllist b/.scripts/img/cllist new file mode 100755 index 0000000..a582bf4 --- /dev/null +++ b/.scripts/img/cllist @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +rm ./list || touch ./list diff --git a/.scripts/img/mklist b/.scripts/img/mklist new file mode 100755 index 0000000..f109af0 --- /dev/null +++ b/.scripts/img/mklist @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +sxiv -o . >> list diff --git a/.scripts/img/mvlist b/.scripts/img/mvlist new file mode 100755 index 0000000..4c24bf5 --- /dev/null +++ b/.scripts/img/mvlist @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +while read l; do mv $l $1; done <./list + +rm ./list diff --git a/.zshrc b/.zshrc index 2e7bba8..3f31dba 100644 --- a/.zshrc +++ b/.zshrc @@ -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