build tweaks in directly as it only has wayland support

This commit is contained in:
thelamer 2026-01-01 13:42:17 -05:00
parent bc0580c257
commit 7662bbf057
No known key found for this signature in database
5 changed files with 5 additions and 8 deletions

View File

@ -30,6 +30,7 @@ RUN \
echo "**** cleanup ****" && \
rm -rf \
/config/.cache \
/etc/xdg/autostart/* \
/tmp/*
# add local files

View File

@ -30,6 +30,7 @@ RUN \
echo "**** cleanup ****" && \
rm -rf \
/config/.cache \
/etc/xdg/autostart/* \
/tmp/*
# add local files

View File

@ -48,15 +48,8 @@ sudo mv \
/etc/xdg/menus/applications.menu
kbuildsycoca6
# Wayland Hacks
unset DISPLAY
sudo rm -Rf /etc/xdg/autostart/*
sudo rm -f /usr/bin/wl-paste /usr/bin/wl-copy
echo "#! /bin/bash" > /tmp/wl-paste && chmod +x /tmp/wl-paste
echo "exit 0" > /tmp/wl-copy && chmod +x /tmp/wl-copy
sudo cp /tmp/wl-* /usr/bin/
# Start DE
unset DISPLAY
export QT_QPA_PLATFORM=wayland
WAYLAND_DISPLAY=wayland-1 dbus-run-session kwin_wayland &
sleep 2

1
root/usr/bin/wl-copy Executable file
View File

@ -0,0 +1 @@
#! /bin/bash

1
root/usr/bin/wl-paste Executable file
View File

@ -0,0 +1 @@
#! /bin/bash