From a992a526b0b558eb5e73d72e32f626c2a4024db8 Mon Sep 17 00:00:00 2001 From: Ksaper Date: Sat, 25 Feb 2023 03:17:34 +0200 Subject: [PATCH] Rename AWESOME_SENSIBLE_TERMINASL_PATH TO AWESOME_SENSIBLE_TERMINAL_SCRIPT_PATH --- widget/app_launcher/init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/widget/app_launcher/init.lua b/widget/app_launcher/init.lua index aa02843..bbba341 100644 --- a/widget/app_launcher/init.lua +++ b/widget/app_launcher/init.lua @@ -19,7 +19,7 @@ local app_launcher = { mt = {} } local KILL_OLD_INOTIFY_SCRIPT = [[ ps x | grep "inotifywait -e modify /usr/share/applications" | grep -v grep | awk '{print $1}' | xargs kill ]] local INOTIFY_SCRIPT = [[ bash -c "while (inotifywait -e modify /usr/share/applications -qq) do echo; done" ]] -local AWESOME_SENSIBLE_TERMINAL_PATH = debug.getinfo(1).source:match("@?(.*/)") .. +local AWESOME_SENSIBLE_TERMINAL_SCRIPT_PATH = debug.getinfo(1).source:match("@?(.*/)") .. "awesome-sensible-terminal" local function default_value(value, default) @@ -152,7 +152,7 @@ local function app_widget(self, app) local _self = self function widget:run() if app.terminal == true then - local pid = awful.spawn.with_shell(AWESOME_SENSIBLE_TERMINAL_PATH .. " -e " .. app.exec) + local pid = awful.spawn.with_shell(AWESOME_SENSIBLE_TERMINAL_SCRIPT_PATH .. " -e " .. app.exec) local class = app.startup_wm_class or app.name awful.spawn.with_shell(string.format( [[xdotool search --sync --all --pid %s --name '.*' set_window --classname "%s" set_window --class "%s"]],