update: auto start pipewire on gentoo & openrc

This commit is contained in:
wyj
2026-06-27 20:15:23 -04:00
parent 38fd195673
commit e8594c54ef
2 changed files with 19 additions and 0 deletions
+18
View File
@@ -1 +1,19 @@
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")