dotfiles/scripts/filesearch

11 lines
280 B
Bash
Executable file

#!/bin/sh
if [ $(hostname) = "syl" ]; then
style="laptop"
#echo "this is hidpi"
else
style="desktop"
#echo "this is not hidpi"
fi
lolcate | rofi -dmenu -p "File Search:" -i -config ~/.dotfiles/rofi/launchers-git/$style.rasi -matching regex | xargs -r0 xdg-open