43 lines
1.0 KiB
Bash
Executable File
43 lines
1.0 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Source generated colors.
|
|
. "${HOME}/.cache/wal/colors.sh"
|
|
|
|
while [ true ]
|
|
do
|
|
|
|
reload_pscircle() {
|
|
pscircle \
|
|
--max-children=60 \
|
|
--cpulist-center=700.0:-200.0 \
|
|
--memlist-center=700.0:200.0 \
|
|
--output-width=1920 \
|
|
--output-height=1080 \
|
|
--tree-radius-increment=90 \
|
|
--dot-radius=3 \
|
|
--link-width=1.3 \
|
|
--tree-font-size=12 \
|
|
--tree-font-face=TamzenForPowerline \
|
|
--toplists-font-size=12 \
|
|
--toplists-font-face=TamzenForPowerline \
|
|
--background-color=${color0:1} \
|
|
--tree-font-color=${color6:1} \
|
|
--link-color-min=${color6:1} \
|
|
--link-color-max=${color6:1} \
|
|
--toplists-font-color=${color6:1} \
|
|
--toplists-pid-font-color=${color10:1} \
|
|
--toplists-bar-background=${color0:1} \
|
|
--toplists-bar-color=${color2:1} \
|
|
--output=${HOME}/.config/wall.png &
|
|
}
|
|
|
|
main() {
|
|
reload_pscircle &
|
|
feh --bg-scale ${HOME}/.config/wall.png &
|
|
}
|
|
|
|
main
|
|
|
|
sleep 10
|
|
done
|