Add hidpi rofi to the rofi-yt script

This commit is contained in:
Chris Cochrun 2021-03-09 09:20:45 -06:00
parent 6aa1c37b2e
commit a2dbf8d3df

View file

@ -6,8 +6,18 @@
# yt search query takes input from the passed arg, prompts using fzf
# yt -r takes input and prompts using rofi ($guicmd)
if [ $(hostname) = "chris-linuxlaptop" ]; then
style="laptop"
#echo "this is hidpi"
else
style="desktop"
#echo "this is not hidpi"
fi
-no-lazy-grab -show drun -modi drun -theme launchers-git/"$style".rasi
defcmd="fzf"
guicmd="rofi -dmenu -i" #uncomment next line for dmenu
guicmd="rofi -no-lazy-grab -dmenu -i -theme launchers-git/"$style".rasi" #uncomment next line for dmenu
#guicmd="dmenu -i -l 15"
promptcmd="$defcmd"
if [ -z "$*" ]; then