update: auto start pipewire on gentoo & openrc
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user