some QoL patches

This commit is contained in:
Yessiest 2023-05-20 20:17:35 +04:00
parent 46df86a906
commit 3c835f3807
3 changed files with 7 additions and 2 deletions

View File

@ -10,7 +10,7 @@ local awful = require("awful")
local gears = require("gears")
local gfs = gears.filesystem
local menu_utils = require("menubar.utils")
local stdir = "/tmp/.awesome_startup/"
local stdir = os.getenv("XDG_RUNTIME_DIR").."/.awesome_startup/"
gfs.make_directories(stdir)
awful.spawn.with_line_callback("find "..gfs.get_xdg_config_home().."autostart/ -name *.desktop",{
stdout = function(line)

View File

@ -86,7 +86,7 @@ local function _preload(args)
end))
else
-- Let the compositor handle transparency
supermenu_root.bg = style.popup.bg_normal.."33"
supermenu_root.bg = style.popup.bg_normal.."66"
supermenu.widget.bg = "#00000000"
end
end

View File

@ -201,8 +201,13 @@ return function(args)
}
end)
awesome.connect_signal("xdg::all_finished",function()
local count = 0
for _,v in pairs(xdg.apps) do
count = count + 1
appgrid:add(icon_cache:get(v.icon or beautiful.icon_default,v.name,v.exec))
if count >= args.columns*args.rows then
break
end
end
end)
return widget,icon