Skip to content

taotien/framework_toolbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Framework Toolbox

see the new backlight daemon, available at taotien/prescurve!

image

Quick and dirty GUI for utilities of the Framework Laptop

Installation

Note: I am new to rust, please look through the code and taste the spaghetti before installation

cargo install --git "https://github.com/taotien/framework_toolbox.git"

Add cargo's bin folder to your desktop environment's PATH.

# do as root
desktop-file-install fwtb.desktop

Copy 90-intel_backlight.udev to /etc/udev/rules.d/.

Add your account to the video group, then run

# do as root
udevadm control --reload

If you want just the auto-brightness

Clone the repo

cargo build --release fwtb-ab

Copy the binary from ./target/{arch}/release

Removal

cargo uninstall fwtb should do the trick. You'll have to find where your distro saves .desktop files to get rid of the shortcut.

Dependencies

  • rust
  • ectool (DHowett/fw-ectool)
  • Polkit/pkexec

Planned Features

  • Status monitor using LEDs; battery, temperature, cpu, etc.
  • Battery oneshot mode
  • Charge rate limiter
  • Fan curves

TODO/Need help

  • kb auto
  • bench autobright cpu consumption
  • figure out why leds stay on after shutdown
  • check if ectool needs specific options on other distros/allow users to manually change arguments
  • cleanup unecessary unwraps and expects
  • Windows support
  • package binaries
  • text input values for sliders
  • tray icon => waiting for iced
  • use dbus for brightness stuff?
  • somehow capture F7/F8 presses to jank re-enable manual brightness while using ambient light sensor
  • keyboard remapping
  • find better way of communication with "daemon"

About

Quick and dirty GUI for utilities of the Framework Laptop

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages