Updates config script
This commit is contained in:
parent
f43ed77b12
commit
fd83169d4f
2 changed files with 20 additions and 19 deletions
1
configs/.xinitrc
Normal file
1
configs/.xinitrc
Normal file
|
@ -0,0 +1 @@
|
|||
xset r rate 150 20
|
|
@ -39,24 +39,24 @@ done
|
|||
|
||||
|
||||
# Fish Shell is a special case
|
||||
cf_dir="${HOME}/.configs/fish"
|
||||
cf="config.fish"
|
||||
# cf_dir="${HOME}/.configs/fish"
|
||||
# cf="config.fish"
|
||||
|
||||
if [ -f "${cf_dir}/${cf}" ] && [ ! -L "${cf_dir}/${cf}" ]; then
|
||||
echo -n "Backing up ${cf} ... " && \
|
||||
mv "${cf_dir}/${cf}" "${HOME}/${cf}.bak" && \
|
||||
echo "Done."
|
||||
fi
|
||||
# if [ -f "${cf_dir}/${cf}" ] && [ ! -L "${cf_dir}/${cf}" ]; then
|
||||
# echo -n "Backing up ${cf} ... " && \
|
||||
# mv "${cf_dir}/${cf}" "${HOME}/${cf}.bak" && \
|
||||
# echo "Done."
|
||||
# fi
|
||||
|
||||
if [ -L "${cf_dir}/${cf}" ]; then
|
||||
if [ $(readlink "${cf_dir}/${cf}") = "${pc_settings_path}/configs/${cf}" ]; then
|
||||
echo "Already properly symlinked to \"${pc_settings_path}/configs\"."
|
||||
else
|
||||
echo "Already symlinked but NOT to the proper location. Aborting..."
|
||||
fi
|
||||
else
|
||||
echo -n "Symlinking to ${pc_settings_path}/configs/${cf} ... " && \
|
||||
ln -s "${pc_settings_path}/configs/${cf}" "${cf_dir}/${cf}" && \
|
||||
echo "Done."
|
||||
fi
|
||||
echo ""
|
||||
# if [ -L "${cf_dir}/${cf}" ]; then
|
||||
# if [ $(readlink "${cf_dir}/${cf}") = "${pc_settings_path}/configs/${cf}" ]; then
|
||||
# echo "Already properly symlinked to \"${pc_settings_path}/configs\"."
|
||||
# else
|
||||
# echo "Already symlinked but NOT to the proper location. Aborting..."
|
||||
# fi
|
||||
# else
|
||||
# echo -n "Symlinking to ${pc_settings_path}/configs/${cf} ... " && \
|
||||
# ln -s "${pc_settings_path}/configs/${cf}" "${cf_dir}/${cf}" && \
|
||||
# echo "Done."
|
||||
# fi
|
||||
# echo ""
|
||||
|
|
Loading…
Reference in a new issue