dwmbar/modules/process_count
Your Name 747bddd93a Fixed bug with the daypercentage module
Bug occured when the hour was single digit, so we now remove preceding
0s
2021-11-02 09:57:31 +00:00

14 lines
156 B
Bash
Executable file

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