noctalia depend on env variable
This commit is contained in:
@@ -28,15 +28,13 @@ hl.config({
|
||||
-- ## MY PROGRAMS ###
|
||||
-- ##################
|
||||
|
||||
hl.on("hyprland.start", function()
|
||||
hl.exec_cmd("noctalia &")
|
||||
end)
|
||||
local env = require("env")
|
||||
|
||||
hl.on("hyprland.start", function()
|
||||
if env.shell == "noctalia" then
|
||||
hl.exec_cmd("noctalia &")
|
||||
end
|
||||
hl.exec_cmd("hypridle &")
|
||||
end)
|
||||
|
||||
hl.on("hyprland.start", function()
|
||||
hl.exec_cmd("sh ~/.config/hypr/scripts/portal-host-override.sh")
|
||||
hl.exec_cmd("sh ~/.config/hypr/scripts/ensure-mime-defaults.sh")
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user