Merge branch 'master' of gitlab.com:chriscochrun/dotfiles
This commit is contained in:
commit
665328f78e
12
scripts/yt
12
scripts/yt
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue