1
0
Fork 0
mirror of https://github.com/lcpz/awesome-copycats.git synced 2024-12-22 19:22:32 +00:00
This commit is contained in:
copycat-killer 2015-03-09 21:33:55 +01:00
commit b2832413ac

View file

@ -17,6 +17,7 @@ define swap_dialog
read -p "Switch to theme: " num ; \
if [ ! -z $${num} -a $${num} -ge 1 -a -le $${n_themes} ] ; then \
NEW_THEME=$$($(themes) | head -n$${num} | tail -n1 ) ; \
mv --backup=numbered rc.lua rc.lua.previous ; \
cp $${NEW_THEME} rc.lua ; \
echo "Theme is now $${NEW_THEME}"; \
else echo " !! Aborted. " ; fi