lots of refactoring
This commit is contained in:
parent
a1191ff72a
commit
e6901ef554
21 changed files with 37 additions and 103 deletions
|
@ -1 +0,0 @@
|
|||
/home/chris/.dotfiles/rofi/launchers-git/launcher.sh
|
25
scripts/launcher.sh
Executable file
25
scripts/launcher.sh
Executable file
|
@ -0,0 +1,25 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
if [ $(hostname) = "syl" ]; then
|
||||
if [ $XDG_SESSION_TYPE = "x11" ]; then
|
||||
style="laptop"
|
||||
else
|
||||
style="laptop-wayland"
|
||||
#echo "this is hidpi"
|
||||
fi
|
||||
else
|
||||
style="desktop"
|
||||
#echo "this is not hidpi"
|
||||
fi
|
||||
|
||||
rofi -no-lazy-grab -modi combi -show combi -combi-modi "drun,run" -theme launchers-git/"$style".rasi
|
||||
# wofi --show drun,run
|
||||
|
||||
|
||||
# $@ &
|
||||
# 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
|
||||
# c=$((c+1))
|
||||
# [[ c = 50 ]] && exit; # stop script window didn't appear after 5 seconds
|
||||
# done
|
Loading…
Add table
Add a link
Reference in a new issue