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