![]() ![]() sys-power/acpi: to show information from the /proc filesystem, such as battery status or thermal information.Refer to the hprofile article for more information. The above script also makes use of a power management profile using hprofile. * ) uhd $* esac unset alsa oss amixer ossmix group action device id *0 ) log "switching to power.adp power profile" *1 ) log "switching to power.adp power profile" *0 ) log "switching to power.bat power profile" Log () device = $2 id = $3 value = $4 & alsa = true || alsa = false & oss = true || oss = false amixer = "amixer -q set Master" ossmix = "ossmix - vmix0-outvol" case $group in #!/bin/sh # $Header: /etc/acpi/default.sh Exp $ # $Author: (c) 2012-2014 -tclover Exp $ # $License: MIT (or 2-clause/new/simplified BSD) Exp $ # $Version: 4 21:09:26 Exp $ # If a desktop environment is not installed or to have the system react on special events the ACPI package can be installed. Supports the Hardware Error Device, which is used to report some hardware errors.Īllow ACPI methods to be inserted/replaced at run timeĪPEI allows to report errors (for example from the chipset) to the operating system.ĭesktop environments react on the common events generated by ACPI. Supports another type of access to battery information, found on some laptops. Supports ACPI Container and Module devices to hotplug nodes, CPUs, and memory. Helps to correlate PCI bus addresses with physical slots Supports ACPI thermal zones to protect your processor against overheating. Installs ACPI as the idle handler for Linux and uses ACPI C2 and C3 processor states to save power.ĪCPI 4.0 function to perform specific processor configuration and control. Supports ACPI-controlled docking stations and removable drive bays, see the acpi dock article. Supports ACPI fan devices, allowing user-mode applications to perform basic fan control (on, off, status). Supports basic operations for Video cards. Handles events on the power, sleep, and lid buttons. CONKY BATTERY STATUS DRIVERSACPI (Advanced Configuration and Power Interface) Support -> Optional drivers OptionĬreates deprecated files in the procfs filesystem, which are now replaced by files in the sysfs filesystem.ĮC read/write access through /sys/kernel/debug/ecĭebug interface to the Embedded Controller.Ĭreates deprecated files in the procfs filesystem, which are now replaced by the input layer or netlink events.Ĭreates files to tell if your system is connected to AC.Ĭreates files to tell if your system is powered by a battery. Is to get lua to draw any sort of graphics such as coloured lines andīoxes.KERNEL Power management and ACPI options -> Note that many people don't have problems with resizing because theyĭisplay conky on their fixed-size desktop background.Īlso, once you start using lua, an alternative to using text for bars The window changes size due to some internal trigger. Will change the font size to match, but in 1.10 the size changes only when CONKY BATTERY STATUS CODEIn conky 1.9 when you resize the window with the mouse, this code Original script, then reset the original default font and size. call your lua function, passing the number of characters, your This bar is generated following the following script, a variation of the one suggested for in the previous answer: #!/bin/bashĬat /sys/class/power_supply/BAT0/capacity | awk 'NR=1 I'm trying to customize my progress bars in Conky ( battery_bar, fs_bar.) in order to have a layout other than the default one, which looks like:įollowing this answer I managed to create a filesystem usage bar, and with some code modifying, a battery status one, looking like this. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |