dwmbar/modules/process_count
2021-10-21 13:51:25 +01:00

14 lines
156 B
Bash

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