awesomewm/modules/launcher/util.lua

16 lines
359 B
Lua
Raw Normal View History

2022-07-16 16:20:58 -07:00
local launcher = {}
2022-07-16 17:41:00 -07:00
local conf = conf_dir .. "modules/launcher/launcher.rasi"
2022-07-16 16:20:58 -07:00
launcher.launcher = function()
2022-11-04 21:20:18 -07:00
awful.spawn(
"rofi -show drun " ..
"-theme \"" .. conf .. "\" " ..
-- Override y-offset so rofi
-- sits right above the bar.
"-theme-str \"#window{ y-offset: -" .. beautiful.dpi(config.core.bar_height) .. "; }\""
)
2022-07-16 16:20:58 -07:00
end
return launcher