adding nix configs

This commit is contained in:
Chris Cochrun 2022-05-06 11:39:51 -05:00
parent bd0cf6ff9b
commit 3521d5da4b
18 changed files with 408 additions and 21 deletions

View file

@ -14,7 +14,7 @@ else
fi
if [ $XDG_SESSION_TYPE = "x11" ]; then
rofi -modi "clipboard:greenclip print" -show clipboard -run-command '{cmd}' -theme ~/.config/rofi/launchers-git/$style-clipboard.rasi $@ &
rofi -modi "clipboard:greenclip print" -show clipboard -run-command '{cmd}' -theme ~/.config/rofi/launchers-git/$style.rasi $@ &
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
@ -22,5 +22,5 @@ if [ $XDG_SESSION_TYPE = "x11" ]; then
[[ c = 50 ]] && exit; # stop script window didn't appear after 5 seconds
done
else
rofi -modi "clipboard:greenclip print" -show clipboard -run-command '{cmd}' -theme ~/.config/rofi/launchers-git/$style-clipboard.rasi
rofi -modi "clipboard:greenclip print" -show clipboard -run-command '{cmd}' -theme ~/.config/rofi/launchers-git/$style.rasi
fi