Files
Hyprdots/lua/conf/autostart.lua
T

22 lines
480 B
Lua

local settings = require("lua.lib.settings")
local events = require("lua.lib.events")
local utils = require("lua.lib.utils")
local M = {}
M.autostart = {}
-- 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")