a lot of laptop changes

This commit is contained in:
Chris Cochrun 2021-12-06 06:05:41 -06:00
parent 8e179c3910
commit 9a725dcc03
35 changed files with 275 additions and 180 deletions

View file

@ -1,13 +1,17 @@
#!/bin/sh
if [ $(hostname) = "syl" ]; then
style="laptop"
if [ $XDG_SESSION_TYPE = "x11" ]; then
style="laptop-search"
else
style="laptop-search-wayland"
fi
else
style="desktop"
style="desktop-search"
#echo "this is not hidpi"
fi
lolcate | rofi -dmenu -p "File Search:" -i -matching regex -theme ~/.config/rofi/launchers-git/$style-search.rasi | xargs -r0 xdg-open $@ &
lolcate | rofi -dmenu -p "File Search:" -i -matching regex -theme ~/.config/rofi/launchers-git/$style.rasi | xargs -r0 xdg-open $@ &
c=0
while ! xprop -f _KDE_NET_WM_BLUR_BEHIND_REGION 32c -set _KDE_NET_WM_BLUR_BEHIND_REGION 0 -id $(xdotool search -class 'rofi') ; do
sleep .1