mirror of
https://git.adityakumar.xyz/dwmbar.git
synced 2024-12-23 05:22:53 +00:00
15 lines
156 B
Text
15 lines
156 B
Text
|
#!/bin/bash
|
||
|
|
||
|
# Prints out your process count
|
||
|
|
||
|
PREFIX=' '
|
||
|
|
||
|
get_proc_count()
|
||
|
{
|
||
|
PROC_COUNT=$(ps -Al | wc -l)
|
||
|
|
||
|
echo "$PREFIX$PROC_COUNT"
|
||
|
}
|
||
|
|
||
|
get_proc_count
|