made obx-studio autostart and started libs

This commit is contained in:
2024-02-15 21:17:48 +01:00
parent b0c1be575b
commit ae4462d98f
4 changed files with 34 additions and 2 deletions

16
libs/default.nix Normal file
View File

@ -0,0 +1,16 @@
{
mkAutostart = {
pkgs,
name,
command,
}: {
source = "${
pkgs.makeDesktopItem {
name = "${name}-autostart";
desktopName = "${name}-autostart";
exec = command;
noDisplay = true;
}
}/share/applications/${name}-autostart.desktop";
};
}