Merge branch 'master' of https://github.com/copycat-killer/awesome-copycats
This commit is contained in:
commit
b2832413ac
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue