Suckless Tools
how to use font in dwm or st or dmenu
if your are use some patch:
- you can not use multi font
font[]=font[1]
- you can not use
"mono:size=16
you must use"mono 16"
Try:
static const char font[] = "DejaVu Sans Mono 15";
how can found name of font on linux
fc-list --format="%{family}\n" | cut -d , -f 1 | sort | uniq
How to kill script that run xsetroot (statusbar)
kill -9 \$(ps -ef|awk '/ayoubStatusBar/{print \$2}'|grep -v "awk"|awk 'NR==1')
# or
pkill ayoubStatusBar
print \$2
because we have pid1 and pid2
pid1 myscript.sh
pid2 root that run this scripte : like terminal , or father of this scripts
grep -v
for ignore process that grep for my script
NR==2
for return only 1er ligne : that pipe from last pipe
ps -ef
grep(find) pid-pross by origin script : htop not view origin scripts always
change font using sed
sed -iE 's#(static char \*font = ").......*\$#\1FiraCode\ Nerd\ Font:size=15";#' config.def.h
sed -iE 's#(static char \*font2........).*\$#\1FiraCode\ Nerd\ Font:size=15" };#' config.def.h