From 3b493c54a0645b4dc62279ccf704bc0dceb68123 Mon Sep 17 00:00:00 2001 From: PassiveLemon Date: Mon, 2 Dec 2024 22:43:59 -0500 Subject: [PATCH 1/2] Add Tym terminal --- widget/app_launcher/init.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/widget/app_launcher/init.lua b/widget/app_launcher/init.lua index 51840474..09b0aafc 100644 --- a/widget/app_launcher/init.lua +++ b/widget/app_launcher/init.lua @@ -25,7 +25,8 @@ local terminal_commands_lookup = alacritty = "alacritty -e", termite = "termite -e", rxvt = "rxvt -e", - terminator = "terminator -e" + terminator = "terminator -e", + tym = "tym --" } local function string_levenshtein(str1, str2) From 9d6843ee557ea456f8872ff47a0b22af28e7d0f1 Mon Sep 17 00:00:00 2001 From: PassiveLemon Date: Mon, 2 Dec 2024 22:44:13 -0500 Subject: [PATCH 2/2] Fix flatpak apps not launching --- widget/app_launcher/init.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/widget/app_launcher/init.lua b/widget/app_launcher/init.lua index 09b0aafc..0cbbe524 100644 --- a/widget/app_launcher/init.lua +++ b/widget/app_launcher/init.lua @@ -593,7 +593,8 @@ local function generate_apps(self) if app.should_show(app) then local name = app_info.get_name(app) local commandline = app_info.get_commandline(app) - local executable = app_info.get_executable(app) + local executable = app:get_string("Exec") + executable = executable:match("^(.-)%%") or executable local icon = icon_theme:get_gicon_path(app_info.get_icon(app)) -- Check if this app should be skipped, depanding on the skip_names / skip_commands table