File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -103,6 +103,16 @@ check_user_input() {
103103
104104# Function to update configuration files with user input
105105update_configs () {
106+ # Copy sources_example to sources directory
107+ local hypr_config_dir=" $HOME /dotfiles/.config/hypr"
108+ if [ -d " $hypr_config_dir /sources_example" ]; then
109+ print_message " Copying sources_example to sources..."
110+ cp -r " $hypr_config_dir /sources_example" " $hypr_config_dir /sources"
111+ else
112+ print_error " sources_example directory not found in $hypr_config_dir "
113+ mkdir -p " $hypr_config_dir /sources"
114+ fi
115+
106116 # Update the wallpaper configuration file
107117 local wallpaper_conf=" $HOME /dotfiles/.config/hypr/sources/change_wallpaper.conf"
108118 mkdir -p " $( dirname " $wallpaper_conf " ) "
You can’t perform that action at this time.
0 commit comments