Skip to content

Add 'lact' command to pkg_core.lst#1767

Open
NenyUX wants to merge 1 commit into
HyDE-Project:masterfrom
NenyUX:patch-1
Open

Add 'lact' command to pkg_core.lst#1767
NenyUX wants to merge 1 commit into
HyDE-Project:masterfrom
NenyUX:patch-1

Conversation

@NenyUX

@NenyUX NenyUX commented May 30, 2026

Copy link
Copy Markdown

Graphics card and integrated graphics control; see detailed information. It integrates very well with Hyde themes.
image

Summary by CodeRabbit

  • Chores
    • Updated core dependencies configuration.

Review Change Stack

Added 'lact' command for controlling graphics cards.
@github-actions

Copy link
Copy Markdown
Contributor

⚠️ Warning: PR targeting master branch detected!

This PR is targeting master but should target dev instead.

According to our Quarterly Release Policy:

  • All pull requests must be submitted to the dev branch
  • Changes go through dev first for testing before being merged to master during quarterly release windows (1st & 3rd Fridays)
  • PRs to master are only allowed for emergencies

Required Action:

  1. Change the base branch from master to dev
  2. Follow the pull request template

If this is an emergency fix, please add a comment explaining why it needs to target master directly.


This is an automated message enforcing our quarterly release workflow.

@coderabbitai

coderabbitai Bot commented May 30, 2026

Copy link
Copy Markdown
Contributor
πŸ“ Walkthrough

Walkthrough

A single package entry, lact, is added to the core package list in Scripts/pkg_core.lst. This GPU graphics card control utility becomes a core system dependency.

Changes

Core Package List Update

Layer / File(s) Summary
Add lact package to core dependencies
Scripts/pkg_core.lst
The lact GPU control utility package is inserted into the core application package list.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 A rabbit hops through systems bright,
Adding lact for GPU light,
One line inserted, clean and neat,
Control your cards from boot to heat!

πŸš₯ Pre-merge checks | βœ… 5
βœ… Passed checks (5 passed)
Check name Status Explanation
Description Check βœ… Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check βœ… Passed The title directly and clearly summarizes the main change: adding the 'lact' package to pkg_core.lst, which is exactly what the changeset accomplishes.
Docstring Coverage βœ… Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check βœ… Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check βœ… Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
πŸ§ͺ Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❀️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (1)
Scripts/pkg_core.lst (1)

76-76: ⚑ Quick win

Clarify the comment text.

The comment "control graphics cards and integrated" appears incomplete. Based on the PR description, it should likely read "control graphics cards and integrated graphics" or "AMD GPU and integrated graphics control".

✏️ Suggested improvement
-lact                                                   # control graphics cards and integrated
+lact                                                   # AMD GPU and integrated graphics control
πŸ€– Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@Scripts/pkg_core.lst` at line 76, The comment for the "lact" entry is
incomplete; update the inline comment text after "lact" so it clearly reads
something like "control graphics cards and integrated graphics" or "AMD GPU and
integrated graphics control" to match the PR description, ensuring the comment
directly follows the "lact" entry in Scripts/pkg_core.lst.
πŸ€– Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@Scripts/pkg_core.lst`:
- Line 76: The entry "lact" in pkg_core.lst is AMD-GPU specific and should not
be forced for all installations; remove "lact" from pkg_core.lst and either
place it in an optional package list (e.g., pkg_optional.lst or pkg_amd.lst) or
make it a conditional dependency in the installer logic that checks for AMD
hardware (reference the "lact" token and the pkg_core.lst listing) so only
systems with detected AMD GPUs will install it.

---

Nitpick comments:
In `@Scripts/pkg_core.lst`:
- Line 76: The comment for the "lact" entry is incomplete; update the inline
comment text after "lact" so it clearly reads something like "control graphics
cards and integrated graphics" or "AMD GPU and integrated graphics control" to
match the PR description, ensuring the comment directly follows the "lact" entry
in Scripts/pkg_core.lst.
πŸͺ„ Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
βš™οΈ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 4cb8b275-e270-413b-b256-dd361d750812

πŸ“₯ Commits

Reviewing files that changed from the base of the PR and between a51460a and 0bff2b6.

πŸ“’ Files selected for processing (1)
  • Scripts/pkg_core.lst

Comment thread Scripts/pkg_core.lst
vim # terminal text editor
code # ide text editor
nwg-displays # monitor management utility
lact # control graphics cards and integrated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major | ⚑ Quick win

Reconsider adding AMD-specific tool to core packages.

LACT (Linux AMD GPU Control Tool) is AMD GPU-specific hardware. Adding it to pkg_core.lst makes it a required dependency for all HyDE installations, regardless of whether users have AMD, NVIDIA, or Intel GPUs. This could result in:

  • Unnecessary package installations for non-AMD users
  • Potential installation failures if the package has AMD driver dependencies
  • Bloat in the core system for users who cannot use this tool

Consider moving this to an optional package list or making it a conditional dependency that only installs when AMD hardware is detected.

πŸ€– Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@Scripts/pkg_core.lst` at line 76, The entry "lact" in pkg_core.lst is AMD-GPU
specific and should not be forced for all installations; remove "lact" from
pkg_core.lst and either place it in an optional package list (e.g.,
pkg_optional.lst or pkg_amd.lst) or make it a conditional dependency in the
installer logic that checks for AMD hardware (reference the "lact" token and the
pkg_core.lst listing) so only systems with detected AMD GPUs will install it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant