Updates
This commit is contained in:
parent
3fd4cb10da
commit
7f7e04cdad
@ -12,5 +12,5 @@ cat <<"EOF"
|
|||||||
|
|
||||||
EOF
|
EOF
|
||||||
echo -e "${NONE}"
|
echo -e "${NONE}"
|
||||||
echo "IMPORTANT: Please logout and reboot your system!"
|
echo "Please logout and reboot your system!"
|
||||||
echo ""
|
echo ""
|
||||||
|
@ -13,7 +13,7 @@ cat <<"EOF"
|
|||||||
|
|
||||||
EOF
|
EOF
|
||||||
echo -e "${NONE}"
|
echo -e "${NONE}"
|
||||||
if [ -f ~/dotfiles/hypr/conf/monitor.conf ] && [ -d ~/dotfiles/hypr/conf/monitors/ ]; then
|
if [ "$monitorrestored" == "1" ]; then
|
||||||
echo "Monitor settings could already be restored".
|
echo "Monitor settings could already be restored".
|
||||||
echo ""
|
echo ""
|
||||||
else
|
else
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
# ------------------------------------------------------
|
# ------------------------------------------------------
|
||||||
|
|
||||||
restorelist=""
|
restorelist=""
|
||||||
|
monitorrestored=0
|
||||||
|
|
||||||
_showRestoreOptions() {
|
_showRestoreOptions() {
|
||||||
echo "The following configurations can be transferred into the new installation:"
|
echo "The following configurations can be transferred into the new installation:"
|
||||||
@ -21,6 +22,7 @@ _showRestoreOptions() {
|
|||||||
fi
|
fi
|
||||||
if [ -f ~/dotfiles/hypr/conf/monitor.conf ] && [ -d ~/dotfiles/hypr/conf/monitors/ ]; then
|
if [ -f ~/dotfiles/hypr/conf/monitor.conf ] && [ -d ~/dotfiles/hypr/conf/monitors/ ]; then
|
||||||
restorelist+="~/dotfiles/hypr/conf/monitor.conf "
|
restorelist+="~/dotfiles/hypr/conf/monitor.conf "
|
||||||
|
monitorrestored=1
|
||||||
fi
|
fi
|
||||||
if [ -f ~/dotfiles/hypr/conf/animation.conf ] && [ -d ~/dotfiles/hypr/conf/animations/ ]; then
|
if [ -f ~/dotfiles/hypr/conf/animation.conf ] && [ -d ~/dotfiles/hypr/conf/animations/ ]; then
|
||||||
restorelist+="~/dotfiles/hypr/conf/animation.conf "
|
restorelist+="~/dotfiles/hypr/conf/animation.conf "
|
||||||
|
Loading…
Reference in New Issue
Block a user