From 30871a0782c79b7e7c25dc93fade20cfb3ce2b49 Mon Sep 17 00:00:00 2001 From: Siraaj Khandkar Date: Mon, 1 Aug 2022 10:48:19 -0400 Subject: [PATCH] Move default numb lines into khomenu itself, decreasing it and increasing font size. --- home/bin/khomenu | 4 +++- home/bin/mpplay | 4 +--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/home/bin/khomenu b/home/bin/khomenu index 453ba3e..105de8a 100755 --- a/home/bin/khomenu +++ b/home/bin/khomenu @@ -4,8 +4,9 @@ set -e # TODO: Get theme-appropriate font and colors from some central config file. +LINES=45 FONT_NAME='Iosevka' -FONT_SIZE=20 +FONT_SIZE=30 FONT="$FONT_NAME:pixelsize=$FONT_SIZE:antialias=true:autohint=true" BG_NORM='#3a3a3a' FG_NORM='#dcdccc' @@ -19,4 +20,5 @@ dmenu \ -nf "$FG_NORM" \ -sb "$BG_SELECTED" \ -sf "$FG_SELECTED" \ + -l "$LINES" \ $@ diff --git a/home/bin/mpplay b/home/bin/mpplay index 1c254af..1782f0e 100755 --- a/home/bin/mpplay +++ b/home/bin/mpplay @@ -3,8 +3,6 @@ set -e set -o pipefail -LINES=60 - -mpc listall | khomenu -l "$LINES" | mpc insert +mpc listall | khomenu | mpc insert mpc play st -e ncmpc -- 2.20.1