[sway] cursor fix for Pinebook Pro

This commit is contained in:
Gwenhael Le Moine 2022-04-16 15:03:04 +02:00
parent 58ad862256
commit 69afbb0fb9
No known key found for this signature in database
GPG key ID: FDFE3669426707A7

View file

@ -3,7 +3,7 @@
# variables # variables
GITHUB_REPO=swaywm/sway GITHUB_REPO=swaywm/sway
VERSION=${VERSION:-"latest"} VERSION=${VERSION:-"latest"}
BUILD=2 BUILD=3
TAG=gwh TAG=gwh
OUTPUT=/tmp OUTPUT=/tmp
@ -49,7 +49,7 @@ for p in $CWD/patches/*.patch; do
done done
# Slackware ships meson 0.59.4 and won't move to 0.60.x for the time being # Slackware ships meson 0.59.4 and won't move to 0.60.x for the time being
sed -i 's|0.60|0.59|' meson.build # sed -i 's|0.60|0.59|' meson.build # -current now has 0.62.x
meson setup \ meson setup \
--prefix /usr \ --prefix /usr \
@ -57,6 +57,7 @@ meson setup \
-Dsd-bus-provider=basu \ -Dsd-bus-provider=basu \
-Dtray=auto \ -Dtray=auto \
build/ build/
ninja -C build/ ninja -C build/
cd build/ cd build/
meson install --destdir=$PKG meson install --destdir=$PKG
@ -88,6 +89,9 @@ export SDL_VIDEODRIVER=wayland
#export XDG_CURRENT_DESKTOP=sway #export XDG_CURRENT_DESKTOP=sway
export XDG_CURRENT_DESKTOP=Unity # for tray ? export XDG_CURRENT_DESKTOP=Unity # for tray ?
# Décommenter s'il n'y a pas de curseur souris visible
# export WLR_NO_HARDWARE_CURSORS=1
[ -e $HOME/.profile ] && . $HOME/.profile [ -e $HOME/.profile ] && . $HOME/.profile
exec dbus-run-session sway exec dbus-run-session sway