add sway to i3 for wayland replacement

This commit is contained in:
thelamer 2026-01-01 15:07:53 -05:00
parent af5853dec0
commit c263e78ae4
No known key found for this signature in database
3 changed files with 11 additions and 3 deletions

View File

@ -20,7 +20,10 @@ RUN \
chromium \
i3status \
i3wm \
libcap-setcap \
st \
sway \
swaybg \
util-linux-misc && \
echo "**** application tweaks ****" && \
ln -s \
@ -29,6 +32,8 @@ RUN \
sed -i \
's:/usr/bin/chromium-browser:/usr/bin/chromium:g' \
/usr/share/applications/chromium.desktop && \
setcap -r \
/usr/bin/sway && \
echo "**** cleanup ****" && \
rm -rf \
/config/.cache \

View File

@ -20,7 +20,10 @@ RUN \
chromium \
i3status \
i3wm \
libcap-setcap \
st \
sway \
swaybg \
util-linux-misc && \
echo "**** application tweaks ****" && \
ln -s \
@ -29,6 +32,8 @@ RUN \
sed -i \
's:/usr/bin/chromium-browser:/usr/bin/chromium:g' \
/usr/share/applications/chromium.desktop && \
setcap -r \
/usr/bin/sway && \
echo "**** cleanup ****" && \
rm -rf \
/config/.cache \

View File

@ -5,6 +5,4 @@ setterm blank 0
setterm powerdown 0
# Start DE
WAYLAND_DISPLAY=wayland-1 Xwayland :1 &
sleep 2
exec dbus-launch --exit-with-session /usr/bin/i3 > /dev/null 2>&1
WAYLAND_DISPLAY=wayland-1 exec dbus-launch --exit-with-session /usr/bin/sway > /dev/null 2>&1