README (1806B)
1 swstatus 2 ======== 3 swstatus is a fork of slstatus. It writes one line per update to dmw's 4 status bar through a pipe. 5 6 7 Features 8 -------- 9 - Battery percentage/state/time left 10 - Cat (read file) 11 - CPU usage 12 - CPU frequency 13 - Custom shell commands 14 - Date and time 15 - Disk status (free storage, percentage, total storage and used storage) 16 - Available entropy 17 - Username/GID/UID 18 - Hostname 19 - IP address (IPv4 and IPv6), interface status 20 - Kernel version 21 - Keyboard indicators (optional X11 component) 22 - Keymap (optional X11 component) 23 - Load average 24 - Network speeds (RX and TX) 25 - Number of files in a directory (hint: Maildir) 26 - Memory status (free memory, percentage, total memory and used memory) 27 - Swap status (free swap, percentage, total swap and used swap) 28 - Temperature 29 - Uptime 30 - Volume percentage 31 - WiFi signal percentage and ESSID 32 33 34 Requirements 35 ------------ 36 Currently swstatus works on FreeBSD, Linux and OpenBSD. 37 The optional keymap and keyboard indicators query an X server. To build 38 them, enable KEYBOARD and the X11 library in config.mk. 39 40 - For volume percentage on Linux the kernel module `snd-mixer-oss` must be 41 loaded. 42 - For volume percentage on FreeBSD, `sndio` must be installed. 43 44 45 Installation 46 ------------ 47 Edit config.mk to match your local setup (swstatus is installed into the 48 /usr/local namespace by default). 49 50 Afterwards enter the following command to build and install swstatus (if 51 necessary as root): 52 53 make clean install 54 55 56 Running swstatus 57 ---------------- 58 From a VT: 59 60 swstatus | swc-launch dmw 61 62 Inside an existing Wayland session: 63 64 swstatus | SWC_BACKEND=nested dmw 65 66 Use swstatus -1 to print a single update. 67 68 69 Configuration 70 ------------- 71 swstatus can be customized by creating a custom config.h and (re)compiling the 72 source code. This keeps it fast, secure and simple.