From f42a3a2cc941e34dd938b1e6bc24785a44781db2 Mon Sep 17 00:00:00 2001 From: delta Date: Sun, 21 May 2023 10:12:46 +0200 Subject: major update of awesome config add new icons, switch over to using stylesheets instead of gears.color.recolor_image, add a music widget to the panel, optimize services in common.lua, fix the application lense filtering and increase the update rate of services in common.lua Signed-off-by: delta --- .config/awesome/ui/fresnel/init.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to '.config/awesome/ui/fresnel') diff --git a/.config/awesome/ui/fresnel/init.lua b/.config/awesome/ui/fresnel/init.lua index 29ead63..f31da12 100644 --- a/.config/awesome/ui/fresnel/init.lua +++ b/.config/awesome/ui/fresnel/init.lua @@ -25,7 +25,11 @@ fresnel._selected_index = 1 function fresnel:_exec_entry(entry_index) local exec = self._entries_exec[entry_index] if type(exec) ~= "userdata" and type(exec) ~= "nil" then - awful.spawn((exec[2] and cfg.terminal .. " -e " or "") .. exec[1]) + if exec[2] then + awful.spawn(cfg.terminal .. " -e /bin/sh -c " .. exec[1] .. " 1>/dev/null 2>&1") + else + awful.spawn.with_shell(exec[1] .. " 1>/dev/null 2>&1") + end end end -- cgit v1.2.3