My slstatus configuration
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
Laslo Hunhold 914440b4fc
Properly declare buf as extern and fix all unused-warnings
7 年前
LICENSE Updated LICENSE 7 年前
Makefile Rewrite Makefile to accomodate file split 7 年前
README Added CPU iowait to README 7 年前
arg.h Remove unnecessary blank lines after license-notice 7 年前
battery.c Split into multiple files 7 年前
config.def.h slstatus: add cpu_iowait 7 年前
config.mk Properly declare buf as extern and fix all unused-warnings 7 年前
cpu.c Split into multiple files 7 年前
datetime.c Split into multiple files 7 年前
disk.c Split into multiple files 7 年前
entropy.c Split into multiple files 7 年前
hostname.c Split into multiple files 7 年前
ip.c Split into multiple files 7 年前
kernel_release.c Split into multiple files 7 年前
keyboard_indicators.c Split into multiple files 7 年前
load_avg.c Split into multiple files 7 年前
num_files.c Split into multiple files 7 年前
ram.c Split into multiple files 7 年前
run_command.c Split into multiple files 7 年前
slstatus.1 Fix man page .Os field 7 年前
slstatus.c Properly declare buf as extern and fix all unused-warnings 7 年前
slstatus.h Rewrite Makefile to accomodate file split 7 年前
swap.c Split into multiple files 7 年前
temperature.c Split into multiple files 7 年前
uptime.c Split into multiple files 7 年前
user.c Split into multiple files 7 年前
util.c Split into multiple files 7 年前
util.h Properly declare buf as extern and fix all unused-warnings 7 年前
volume.c Split into multiple files 7 年前
wifi.c Split into multiple files 7 年前

README

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.


Features
--------
- Battery percentage/power/state
- CPU usage
- CPU frequency
- CPU iowait
- 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
- Load average
- 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
------------
In order to build slstatus you need the Xlib header files and optionally ALSA
for volume percentage. PulseAudio is not supported for various reasons.


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.