From 9ef7ba021629c9fa3e111798c61b35a02dfaae20 Mon Sep 17 00:00:00 2001 From: duckyriley Date: Mon, 23 Nov 2026 21:21:22 +0800 Subject: Fix inactive tab closing and add Lua shortcut actions and themes --- build.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'build.sh') 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" -- cgit v1.2.3