Compare commits

..

2 commits

Author SHA1 Message Date
398b98861f
Wait on xdg-desktop-portal 2023-04-12 00:35:32 -04:00
968d4eb347
Touchpad prop ids changed 2023-04-12 00:32:14 -04:00
2 changed files with 5 additions and 2 deletions

View file

@ -34,8 +34,8 @@ if [ -d /etc/X11/xinit/xinitrc.d ] ; then
fi
{{ if eq .chezmoi.hostname "helix" -}}
xinput set-prop 13 283 1 &
xinput set-prop 13 303 1 &
xinput set-prop 13 285 1 &
xinput set-prop 13 305 1 &
{{- else if eq .chezmoi.hostname "triangulum" }}
xinput set-prop 10 306 1 &
{{- else if eq .chezmoi.hostname "hydrus" }}

View file

@ -8,6 +8,9 @@ while pgrep -u $UID -x wireplumber >/dev/null; do sleep 1; done
while pgrep -u $UID -x pipewire >/dev/null; do sleep 1; done
while pgrep -u $UID -x pipewire-pulse >/dev/null; do sleep 1; done
# Wait for xdg-desktop-portal to start
until pgrep -u $UID -f /usr/lib/xdg-desktop-portal >/dev/null; do sleep 1; done
# Launch pipewire
echo "---" | tee -a /tmp/{wireplumber.log,pipewire.log,pipewire-pulse.log}
/usr/bin/wireplumber 2>&1 | tee -a /tmp/wireplumber.log & disown