diff options
Diffstat (limited to '')
| -rwxr-xr-x | build.sh | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -20,7 +20,10 @@ install -d "$bin_dir" "$config_dir" install -m 755 "target/$profile/ducky" "$bin_dir/ducky" install -d "$config_dir/themes" if [[ ! -e $config_dir/shell.bash ]]; then install -m 644 assets/shell.bash "$config_dir/shell.bash"; fi -if [[ ! -e $config_dir/themes/lagoon.lua ]]; then install -m 644 assets/themes/lagoon.lua "$config_dir/themes/lagoon.lua"; fi +for theme in assets/themes/*.lua; do + theme_name=${theme##*/} + if [[ ! -e $config_dir/themes/$theme_name ]]; then install -m 644 "$theme" "$config_dir/themes/$theme_name"; fi +done if [[ $platform == Linux ]]; then install -d "$data_dir/applications" "$data_dir/icons/hicolor/scalable/apps" install -m 644 assets/ducky.svg "$data_dir/icons/hicolor/scalable/apps/dev.ducky.shell.svg" |