Removed explicit font from most dmenu calls, dmenu font is read from Xresources now and kept as uniform as possible

This commit is contained in:
Maarten van Gompel 2021-01-31 12:41:53 +01:00
parent 9d1527218a
commit 24905884ee
20 changed files with 38 additions and 34 deletions

View file

@ -21,14 +21,14 @@ dialmenu() {
NUMBER="$(
printf %b "Close Menu\nMore contacts\n$CONTACTS" |
grep . |
sxmo_dmenu_with_kb.sh -l 10 -p Number -c -fn Terminus-20 -i
sxmo_dmenu_with_kb.sh -l 10 -p Number -c -i
)"
echo "$NUMBER" | grep "Close Menu" && kill -9 0
echo "$NUMBER" | grep -q "More contacts" && NUMBER="$(
printf %b "Close Menu\n$(sxmo_contacts.sh --all)" |
grep . |
sxmo_dmenu_with_kb.sh -l 10 -p Number -c -fn Terminus-20 -i
sxmo_dmenu_with_kb.sh -l 10 -p Number -c -i
)"
NUMBER="$(echo "$NUMBER" | cut -d: -f1 | tr -d -- '- ')"
if [ -z "$NUMBER" ] || [ "$NUMBER" = "CloseMenu" ]; then