Add custom.conf
This commit is contained in:
parent
830fe0ecdc
commit
15c815d71e
|
@ -20,6 +20,10 @@ _showRestoreOptions() {
|
||||||
selectedlist+="~/dotfiles/.settings,"
|
selectedlist+="~/dotfiles/.settings,"
|
||||||
fi
|
fi
|
||||||
if [[ $profile == *"Hyprland"* ]]; then
|
if [[ $profile == *"Hyprland"* ]]; then
|
||||||
|
if [ -f ~/dotfiles/hypr/conf/custom.conf ]; then
|
||||||
|
restorelist+="~/dotfiles/hypr/conf/custom.conf "
|
||||||
|
selectedlist+="~/dotfiles/hypr/conf/custom.conf,"
|
||||||
|
fi
|
||||||
if [ -f ~/dotfiles/hypr/conf/keyboard.conf ]; then
|
if [ -f ~/dotfiles/hypr/conf/keyboard.conf ]; then
|
||||||
restorelist+="~/dotfiles/hypr/conf/keyboard.conf "
|
restorelist+="~/dotfiles/hypr/conf/keyboard.conf "
|
||||||
selectedlist+="~/dotfiles/hypr/conf/keyboard.conf,"
|
selectedlist+="~/dotfiles/hypr/conf/keyboard.conf,"
|
||||||
|
@ -109,6 +113,12 @@ _startRestore() {
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if [[ $profile == *"Hyprland"* ]]; then
|
if [[ $profile == *"Hyprland"* ]]; then
|
||||||
|
if [[ $restoreselect == *"~/dotfiles/hypr/conf/custom.conf"* ]] || [[ $restoreselect == *"All"* ]] ; then
|
||||||
|
if [ -f ~/dotfiles/hypr/conf/custom.conf ]; then
|
||||||
|
cp ~/dotfiles/hypr/conf/custom.conf ~/dotfiles-versions/$version/hypr/conf/
|
||||||
|
echo "Hyprland custom.conf restored!"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
if [[ $restoreselect == *"~/dotfiles/hypr/conf/keyboard.conf"* ]] || [[ $restoreselect == *"All"* ]] ; then
|
if [[ $restoreselect == *"~/dotfiles/hypr/conf/keyboard.conf"* ]] || [[ $restoreselect == *"All"* ]] ; then
|
||||||
if [ -f ~/dotfiles/hypr/conf/keyboard.conf ]; then
|
if [ -f ~/dotfiles/hypr/conf/keyboard.conf ]; then
|
||||||
cp ~/dotfiles/hypr/conf/keyboard.conf ~/dotfiles-versions/$version/hypr/conf/
|
cp ~/dotfiles/hypr/conf/keyboard.conf ~/dotfiles-versions/$version/hypr/conf/
|
||||||
|
|
0
hypr/conf/custom.conf
Normal file
0
hypr/conf/custom.conf
Normal file
|
@ -48,6 +48,11 @@ source = ~/dotfiles/hypr/conf/windowrule.conf
|
||||||
# -----------------------------------------------------
|
# -----------------------------------------------------
|
||||||
source = ~/dotfiles/hypr/conf/animation.conf
|
source = ~/dotfiles/hypr/conf/animation.conf
|
||||||
|
|
||||||
|
# -----------------------------------------------------
|
||||||
|
# Animation
|
||||||
|
# -----------------------------------------------------
|
||||||
|
source = ~/dotfiles/hypr/conf/custom.conf
|
||||||
|
|
||||||
# -----------------------------------------------------
|
# -----------------------------------------------------
|
||||||
# Environment for xdg-desktop-portal-hyprland
|
# Environment for xdg-desktop-portal-hyprland
|
||||||
# -----------------------------------------------------
|
# -----------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue
Block a user