Skip to content

aldenparker/asus-wmi-screenpad-ctl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

asus-wmi-screenpad-ctl

This is a small application that is meant to be used with the asus-wmi-screenpad kernal module. This program allows for simple and safe adjustment of the brightness for the Asus Screenpad. It will probably only be useful for those that do not use standard desktop enviornements like KDE.

Install

NixOS

asus-wmi-screenpad-ctl is in the nixpkgs repository if you want to install normally.

If you use flakes however, I encourage you to use the flake for this package so you are always up to date.

# In Flake.nix
inputs.asus-wmi-screenpad-ctl.url = "github:aldenparker/asus-wmi-screenpad-ctl"
# In nix config
environment.systemPackages = with pkgs; [
  environment.systemPackages = [
    inputs.asus-wmi-screenpad-ctl.packages."${system}".default
  ];
];

Manual

cargo build -r
sudo cp ./target/release/asus-wmi-screenpad-ctl /bin/

Or copy wherever else the path points to.

Usage

Small application to control the asus-wmi-screenpad brightness

Usage: asus-wmi-screenpad-ctl <MODE> <DATA>

Arguments:
  <MODE>
          The mode to run the command in

          Possible values:
          - set: Set the brightness value
          - add: Add to the brightness value (negative value for decrease)
          - max: Set the max brightness to allow (defaults to 100, just because you can set it higher does not mean your screen can handle it)

  <DATA>
          The value used to modify the brightness value

Options:
  -h, --help
          Print help (see a summary with '-h')

  -V, --version
          Print version

About

Program for controlling the brightness of the Asus Screenpad on Linux.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors