223 lines
5.5 KiB
JSON
223 lines
5.5 KiB
JSON
{
|
|
"module": "asus-zephyrus-g14",
|
|
"version": "1",
|
|
"moved": true,
|
|
"templates": "templates",
|
|
"capabilities": [
|
|
"package-manager",
|
|
"service-manager"
|
|
],
|
|
"requires": [
|
|
"x11-display"
|
|
],
|
|
"emits": [
|
|
"profile.switched"
|
|
],
|
|
"tools": [
|
|
"zephyrus_brightness",
|
|
"zephyrus_battery",
|
|
"zephyrus_charge_limit",
|
|
"zephyrus_gpu_mode",
|
|
"zephyrus_profile",
|
|
"zephyrus_thermals",
|
|
"zephyrus_power_draw",
|
|
"zephyrus_profile_policy",
|
|
"zephyrus_fan_curves",
|
|
"zephyrus_keys",
|
|
"zephyrus_check"
|
|
],
|
|
"resources": [
|
|
{
|
|
"id": "asusctl",
|
|
"type": "package",
|
|
"package": "asusctl"
|
|
},
|
|
{
|
|
"id": "playerctl",
|
|
"type": "package",
|
|
"package": "playerctl"
|
|
},
|
|
{
|
|
"id": "asusd",
|
|
"type": "service",
|
|
"unit": "asusd.service",
|
|
"state": "running"
|
|
},
|
|
{
|
|
"id": "supergfxd",
|
|
"type": "service",
|
|
"unit": "supergfxd.service",
|
|
"state": "running",
|
|
"boot": "enabled"
|
|
},
|
|
{
|
|
"id": "scripts",
|
|
"type": "archive",
|
|
"path": "/usr/local/lib/asus-zephyrus-g14",
|
|
"artifact": "scripts"
|
|
},
|
|
{
|
|
"id": "nvidia-options",
|
|
"type": "file",
|
|
"path": "/etc/modprobe.d/g14-nvidia-power.conf",
|
|
"mode": "0644",
|
|
"template": "templates/modprobe.d/g14-nvidia-power.conf"
|
|
},
|
|
{
|
|
"id": "video-options",
|
|
"type": "file",
|
|
"path": "/etc/modprobe.d/video-brightness-switch.conf",
|
|
"mode": "0644",
|
|
"template": "templates/modprobe.d/video-brightness-switch.conf"
|
|
},
|
|
{
|
|
"id": "suspend-drop-ins",
|
|
"type": "directory",
|
|
"path": "/etc/systemd/system/systemd-suspend.service.d",
|
|
"mode": "0755"
|
|
},
|
|
{
|
|
"id": "nvidia-on-suspend",
|
|
"type": "file",
|
|
"path": "/etc/systemd/system/systemd-suspend.service.d/asus-zephyrus-g14-nvidia.conf",
|
|
"mode": "0644",
|
|
"template": "templates/systemd/system/systemd-suspend.service.d/asus-zephyrus-g14-nvidia.conf"
|
|
},
|
|
{
|
|
"id": "hibernate-drop-ins",
|
|
"type": "directory",
|
|
"path": "/etc/systemd/system/systemd-hibernate.service.d",
|
|
"mode": "0755"
|
|
},
|
|
{
|
|
"id": "nvidia-on-hibernate",
|
|
"type": "file",
|
|
"path": "/etc/systemd/system/systemd-hibernate.service.d/asus-zephyrus-g14-nvidia.conf",
|
|
"mode": "0644",
|
|
"template": "templates/systemd/system/systemd-hibernate.service.d/asus-zephyrus-g14-nvidia.conf"
|
|
},
|
|
{
|
|
"id": "suspend-then-hibernate-drop-ins",
|
|
"type": "directory",
|
|
"path": "/etc/systemd/system/systemd-suspend-then-hibernate.service.d",
|
|
"mode": "0755"
|
|
},
|
|
{
|
|
"id": "nvidia-on-suspend-then-hibernate",
|
|
"type": "file",
|
|
"path": "/etc/systemd/system/systemd-suspend-then-hibernate.service.d/asus-zephyrus-g14-nvidia.conf",
|
|
"mode": "0644",
|
|
"template": "templates/systemd/system/systemd-suspend-then-hibernate.service.d/asus-zephyrus-g14-nvidia.conf"
|
|
},
|
|
{
|
|
"id": "powerd-drop-ins",
|
|
"type": "directory",
|
|
"path": "/etc/systemd/system/nvidia-powerd.service.d",
|
|
"mode": "0755"
|
|
},
|
|
{
|
|
"id": "powerd-opt-in",
|
|
"type": "file",
|
|
"path": "/etc/systemd/system/nvidia-powerd.service.d/asus-zephyrus-g14.conf",
|
|
"mode": "0644",
|
|
"template": "templates/systemd/system/nvidia-powerd.service.d/asus-zephyrus-g14.conf"
|
|
},
|
|
{
|
|
"id": "backlight-rule",
|
|
"type": "file",
|
|
"path": "/etc/udev/rules.d/90-backlight.rules",
|
|
"mode": "0644",
|
|
"template": "templates/udev/rules.d/90-backlight.rules"
|
|
},
|
|
{
|
|
"id": "udev",
|
|
"type": "service",
|
|
"unit": "systemd-udevd.service",
|
|
"reload-on": [
|
|
"backlight-rule"
|
|
]
|
|
},
|
|
{
|
|
"id": "upower-package",
|
|
"type": "package",
|
|
"package": "upower"
|
|
},
|
|
{
|
|
"id": "upower-drop-ins",
|
|
"type": "directory",
|
|
"path": "/etc/UPower/UPower.conf.d",
|
|
"mode": "0755"
|
|
},
|
|
{
|
|
"id": "low-battery",
|
|
"type": "file",
|
|
"path": "/etc/UPower/UPower.conf.d/50-asus-zephyrus-g14.conf",
|
|
"mode": "0644",
|
|
"template": "templates/UPower/UPower.conf.d/50-asus-zephyrus-g14.conf"
|
|
},
|
|
{
|
|
"id": "upower",
|
|
"type": "service",
|
|
"unit": "upower.service",
|
|
"state": "running",
|
|
"boot": "enabled",
|
|
"restart-on": [
|
|
"low-battery"
|
|
]
|
|
},
|
|
{
|
|
"id": "xorg-drop-ins",
|
|
"type": "directory",
|
|
"path": "/etc/X11/xorg.conf.d",
|
|
"mode": "0755"
|
|
},
|
|
{
|
|
"id": "touchpad",
|
|
"type": "file",
|
|
"path": "/etc/X11/xorg.conf.d/30-asus-zephyrus-g14-touchpad.conf",
|
|
"mode": "0644",
|
|
"template": "templates/X11/xorg.conf.d/30-asus-zephyrus-g14-touchpad.conf"
|
|
}
|
|
],
|
|
"items": [
|
|
{
|
|
"collection": "shell:after-wake:normal",
|
|
"template": "templates/after-wake"
|
|
},
|
|
{
|
|
"collection": "contribution:node-hotkeys:trigger",
|
|
"template": "templates/hotkeys-triggers"
|
|
},
|
|
{
|
|
"collection": "contribution:node-display-session:config",
|
|
"name": "display-session",
|
|
"template": "templates/display-session"
|
|
}
|
|
],
|
|
"build": {
|
|
"artifacts": [
|
|
{
|
|
"name": "tools-go",
|
|
"kind": "bundle",
|
|
"language": "go",
|
|
"system": "arch",
|
|
"from": "cmd/zephyrus",
|
|
"binary": "zephyrus",
|
|
"loads": [
|
|
"zephyrus"
|
|
]
|
|
},
|
|
{
|
|
"name": "scripts",
|
|
"kind": "archive",
|
|
"from": "files"
|
|
},
|
|
{
|
|
"name": "templates",
|
|
"kind": "archive",
|
|
"from": "templates"
|
|
}
|
|
]
|
|
}
|
|
}
|