mirror of
https://github.com/linuxserver/docker-webtop.git
synced 2026-03-16 00:00:48 +08:00
add sway to i3 for wayland replacement
This commit is contained in:
parent
af5853dec0
commit
c263e78ae4
@ -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 \
|
||||
|
||||
@ -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 \
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user