Files
Hyprdots/lua/conf/autostart.lua
T

20 lines
462 B
Lua

local settings = require("lua.lib.settings")
local events = require("lua.lib.events")
local utils = require("lua.lib.utils")
local M = {}
-- for openRC system
if settings["hostname"] == "optiplex-gentoo" and not settings["systemd"] then
M.autostart = {
function()
hl.exec_cmd("gentoo-pipewire-launcher")
end,
}
end
function M:load()
events.map("hyprland.start", self.autostart)
end
return utils.extend_config(M, "lua.user.conf.autostart")