dotfiles

regexghost dotfiles and scripts
git clone https://git.regexghost.com/dotfiles.git
Log | Files | Refs | README

dmenu-runner.sh (443B)


      1 #!/bin/sh
      2 
      3 . "$XDG_CONFIG_HOME/regexghost/current-theme.sh"
      4 
      5 # Check for index and print anyway arguments
      6 arg1=""
      7 arg2=""
      8 for arg; do
      9 	if [ "$arg" = "-ix" ]; then
     10 		arg1="-ix"
     11 	elif [ "$arg" = "-pa" ]; then
     12 		arg2="-pa"
     13 	fi
     14 done
     15 
     16 dmenu -i $arg1 $arg2 -p "$1" -l 20 -fn "$FONT_FAMILY: 14" -nb "#${BACKGROUND_BLACK}" -nf "#${FOREGROUND_WHITE}" -pb "#${BACKGROUND_BLACK}" -pf "#${FOREGROUND_WHITE}" -sb "#${BLUE}" -sf "#${BLACK}" -bb "#${GREEN}"