Move default numb lines into khomenu itself, decreasing it
authorSiraaj Khandkar <siraaj@khandkar.net>
Mon, 1 Aug 2022 14:48:19 +0000 (10:48 -0400)
committerSiraaj Khandkar <siraaj@khandkar.net>
Mon, 1 Aug 2022 14:48:19 +0000 (10:48 -0400)
and increasing font size.

home/bin/khomenu
home/bin/mpplay

index 453ba3e..105de8a 100755 (executable)
@@ -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" \
     $@
index 1c254af..1782f0e 100755 (executable)
@@ -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
This page took 0.022189 seconds and 4 git commands to generate.