Switch from i3 to openbox WM

This commit is contained in:
myve 2025-01-26 03:08:25 +00:00
commit 05f054f088
4 changed files with 78 additions and 0 deletions

26
openbox/Dockerfile Normal file
View file

@ -0,0 +1,26 @@
# syntax = docker/dockerfile:1
FROM myvnc/alpine/base
USER root
# Build ARG: use "root" for debugging
ARG debug
# X session environment variable
ENV STARTXBIN=openbox-session
# Run
RUN apk add --no-cache \
tigervnc \
openbox \
font-dejavu \
&& sed '/<\/applications>/i\ \
<application class="*">\ \
<maximized>true</maximized>\ \
<decor>no</decor>\ \
</application>' -i /etc/xdg/openbox/rc.xml
# Tigervnc initialization scripts
COPY *.sh /app/init.d/
# Reset user
USER ${debug:-user}