Mere
This commit is contained in:
parent
5730632e5b
commit
c12ae95001
|
@ -19,6 +19,11 @@ changeColors monokai
|
||||||
pip install --user --requirement $HOME/.config/lemonbar/requirements.txt
|
pip install --user --requirement $HOME/.config/lemonbar/requirements.txt
|
||||||
vim +PlugUpgrade +PlugUpdate +PlugInstall +qall
|
vim +PlugUpgrade +PlugUpdate +PlugInstall +qall
|
||||||
|
|
||||||
|
echo '# Alt keys on keypad
|
||||||
|
# In /usr/share/X11/xkb/symbols/us_qwerty-fr add:
|
||||||
|
# include "keypad(oss)"
|
||||||
|
'
|
||||||
|
|
||||||
### RECYCLE BIN
|
### RECYCLE BIN
|
||||||
# Help yourself
|
# Help yourself
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@ wdir_path="${orig_dir}/${wdir_file}"
|
||||||
if [ -d "$wdir_path" ]
|
if [ -d "$wdir_path" ]
|
||||||
then
|
then
|
||||||
echo "Source directory $wdir_path found"
|
echo "Source directory $wdir_path found"
|
||||||
ls "${wdir_path}/${orig_name}_"*"_og.pdf" | while read page_orig_path
|
ls "${wdir_path}/"*"_og.pdf" | while read page_orig_path
|
||||||
do
|
do
|
||||||
page_stmp_svg="$(echo "$page_orig_path" | sed 's|_og\.pdf$|_fg\.svg|')"
|
page_stmp_svg="$(echo "$page_orig_path" | sed 's|_og\.pdf$|_fg\.svg|')"
|
||||||
page_stmp_pdf="$(echo "$page_orig_path" | sed 's|_og\.pdf$|_fg\.pdf|')"
|
page_stmp_pdf="$(echo "$page_orig_path" | sed 's|_og\.pdf$|_fg\.pdf|')"
|
||||||
|
@ -33,9 +33,9 @@ then
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
echo "Merging everything back to ${orig_path}."
|
echo "Merging everything back to ${orig_path}."
|
||||||
pdftk "${wdir_path}/${orig_name}_"*"_fin.pdf" output "$orig_path"
|
pdftk "${wdir_path}/"*"_fin.pdf" output "$orig_path"
|
||||||
echo "Deleting temporary files."
|
echo "Deleting temporary files."
|
||||||
rm "${wdir_path}/${orig_name}_"*"_fin.pdf" "${wdir_path}/${orig_name}_"*"_fg.pdf"
|
rm "${wdir_path}/"*"_fin.pdf" "${wdir_path}/"*"_fg.pdf"
|
||||||
echo "Done."
|
echo "Done."
|
||||||
elif [ -f "$orig_path" ]
|
elif [ -f "$orig_path" ]
|
||||||
then
|
then
|
||||||
|
@ -47,7 +47,7 @@ then
|
||||||
echo "Creating source directory $wdir_path with original pages and template SVGs"
|
echo "Creating source directory $wdir_path with original pages and template SVGs"
|
||||||
mkdir "$wdir_path"
|
mkdir "$wdir_path"
|
||||||
pdftk "$orig_file" burst output "${wdir_path}/${orig_name}_%03d_og.pdf"
|
pdftk "$orig_file" burst output "${wdir_path}/${orig_name}_%03d_og.pdf"
|
||||||
ls "${wdir_path}/${orig_name}_"*"_og.pdf" | while read page_orig_path
|
ls "${wdir_path}/"*"_og.pdf" | while read page_orig_path
|
||||||
do
|
do
|
||||||
page_stmp_svg="$(echo "$page_orig_path" | sed 's|_og\.pdf$|_fg\.svg|')"
|
page_stmp_svg="$(echo "$page_orig_path" | sed 's|_og\.pdf$|_fg\.svg|')"
|
||||||
echo "Processing $page_orig_path"
|
echo "Processing $page_orig_path"
|
||||||
|
|
|
@ -182,6 +182,7 @@ then
|
||||||
i reflac # Recompress FLAC files
|
i reflac # Recompress FLAC files
|
||||||
i pacman-contrib # Pactree and more
|
i pacman-contrib # Pactree and more
|
||||||
i shred # Delete sensititve data
|
i shred # Delete sensititve data
|
||||||
|
i android-tools && android-udev # Android Debug Bridge
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue