Skip to content

calleum/freebsd-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Scripts

./status.sh A FreeBSD Statusbar customised for thinkpad t480

Very simple statusbar script which displays the used memory, battery %, state and time remaining (this script is t480 specific in that it takes the battery values from both the internal and removable battery).

./acpi_brightness_control.sh

Use with your window manager, set the brightness keys (in my case 0x10, 0x11) in /etc/sysctl.conf:

dev.acpi_ibm.0.handlerevents=0x10\ 0x11

To use these brightness keys, create /etc/devd/acpi_brightness.conf:

# /etc/devd/acpi_brightness.conf
notify 20 {
 match "system" "ACPI";
 match "subsystem" "IBM";
 match "notify" "0x10";
 action "/usr/local/bin/acpi_brightness_control.sh 1";
};
notify 20 {
 match "system" "ACPI";
 match "subsystem" "IBM";
 match "notify" "0x11";
 action "/usr/local/bin/acpi_brightness_control.sh 0";
}

./sbg.sh

Set Background with feh randomly from directory.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published