Dotfiles-dwm/dwmbar/modules/process_count

15 lines
156 B
Plaintext
Raw Normal View History

2024-06-02 11:02:06 +00:00
#!/bin/bash
# Prints out your process count
PREFIX=' '
get_proc_count()
{
PROC_COUNT=$(ps -Al | wc -l)
echo "$PREFIX$PROC_COUNT"
}
get_proc_count