fix dock spawn

This commit is contained in:
Rene
2022-08-05 01:41:25 +02:00
parent 535c763a30
commit 9cea2f98cc

View File

@@ -76,7 +76,9 @@ return function(screen, programs)
"button::press", "button::press",
function(_, _, _, button) function(_, _, _, button)
if button == 1 then if button == 1 then
awful.spawn(Gio.DesktopAppInfo.get_string(desktop_app_info, "Exec")) awful.spawn(Gio.DesktopAppInfo.get_string(desktop_app_info, "Exec"):gsub("%%F", ""):gsub("%%u", ""):gsub("%%U"
, ""):gsub("%%f", ""):gsub("%%i", ""):gsub("%%c"
, ""):gsub("%%k", ""))
end end
end end
) )