Sravan Balaji 4dc68f322f Full Battery Fix
- Add mapping for battery full
- Output remaining time if discharging, plug icon otherwise
2020-08-07 23:42:05 -04:00
2020-08-07 23:42:05 -04:00
2020-08-01 22:24:41 -04:00
2020-08-07 23:05:55 -04:00
2020-08-02 11:37:37 -04:00
2020-08-02 11:37:37 -04:00
2018-05-22 13:27:11 +02:00
2020-08-06 23:44:03 -04:00
2018-07-07 10:50:25 +02:00

Sravan's slstatus - suckless status

slstatus is a suckless status monitor for window managers that use WM_NAME (e.g. dwm) or stdin to fill the status bar. This is Sravan's fork of slstatus with patches and custom modifications.

slstatus Information

Features

  • Battery percentage/state/time left
  • CPU usage
  • CPU frequency
  • Custom shell commands
  • Date and time
  • Disk status (free storage, percentage, total storage and used storage)
  • Available entropy
  • Username/GID/UID
  • Hostname
  • IP address (IPv4 and IPv6)
  • Kernel version
  • Keyboard indicators
  • Keymap
  • Load average
  • Network speeds (RX and TX)
  • Number of files in a directory (hint: Maildir)
  • Memory status (free memory, percentage, total memory and used memory)
  • Swap status (free swap, percentage, total swap and used swap)
  • Temperature
  • Uptime
  • Volume percentage (OSS/ALSA)
  • WiFi signal percentage and ESSID

Requirements

Currently slstatus works on FreeBSD, Linux and OpenBSD. In order to build slstatus you need the Xlib header files.

Installation

Edit config.mk to match your local setup (slstatus is installed into the /usr/local namespace by default).

Afterwards enter the following command to build and install slstatus (if necessary as root):

make clean install

Running slstatus

See the man page for details.

Configuration

slstatus can be customized by creating a custom config.h and (re)compiling the source code. This keeps it fast, secure and simple.

Todo

Cleaning up the whole codebase it the goal before thinking about a release.

Personal Modifications

Modifications

  • Change unknown string to "?"
  • Customize Status Bar
    • Username
    • CPU Usage
    • RAM Usage
    • Disk Usage
    • Number of Updates
    • Battery Stats
    • Date
    • Time
  • Custom Functions
    • check_updates uses run_command to get number of packages that need to be updated
    • divider prints the divider_symbol via a separate function rather than in the format of another function
Description
No description provided
Readme 484 KiB
Languages
C 95.8%
Makefile 3.4%
Roff 0.8%