aboutsummaryrefslogtreecommitdiffstats
path: root/build.sh
diff options
context:
space:
mode:
authorduckyriley <[email protected]>2026-11-23 21:21:22 +0800
committerduckyriley <[email protected]>2026-11-23 21:21:22 +0800
commit9ef7ba021629c9fa3e111798c61b35a02dfaae20 (patch)
tree599fad203f9588be81eb71a79dd57a67e6c01b26 /build.sh
parentd5901ef3de6c3c8c60e7aca7610ab5eb2d4bbaa5 (diff)
downloadducky-9ef7ba021629c9fa3e111798c61b35a02dfaae20.tar.gz
ducky-9ef7ba021629c9fa3e111798c61b35a02dfaae20.zip
Fix inactive tab closing and add Lua shortcut actions and themes
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index 3b7a91e..a84a7fc 100755
--- a/build.sh
+++ b/build.sh
@@ -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"