dotfiles/scripts/filesearch

15 lines
326 B
Bash
Executable file

#!/bin/sh
if [ $(hostname) = "syl" ]; then
if [ $WAYLAND_DISPLAY = "wayland-0" ]; then
style="desktop"
else
style="desktop"
#echo "this is hidpi"
fi
else
style="desktop"
#echo "this is not hidpi"
fi
lolcate | rofi -dmenu -p "File Search:" -i -matching regex | xargs -r0 xdg-open