Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
17347e4ae0 | ||
|
|
e63dbfdb92 | ||
|
|
81eb97e895 | ||
|
|
b4816c4467 | ||
|
|
37219f4008 | ||
|
|
a8b6b8364b | ||
|
|
d3cd6919db | ||
|
|
f5562a6705 | ||
|
|
2e5f3cfefa | ||
|
|
b8efe0e1ae | ||
|
|
422390e7ae | ||
|
|
1157533056 | ||
|
|
6e071f2eb2 | ||
|
|
a104ce0722 | ||
|
|
e75fd3a743 | ||
|
|
cfbee45c9a | ||
|
|
6d63cb2155 | ||
|
|
a22db472b9 | ||
|
|
164e1cb1ef | ||
|
|
fc23502974 | ||
|
|
c7b4cb5853 | ||
|
|
a7cd48a04b | ||
|
|
86e75b58b6 | ||
|
|
1142a94de2 | ||
|
|
a7cd369994 | ||
|
|
afd7e68d7d | ||
|
|
03407b8f01 | ||
|
|
b718c4e278 | ||
|
|
c93af7687e | ||
|
|
20691c7236 | ||
|
|
22e7c5c8c7 | ||
|
|
de0edd6e09 | ||
|
|
a3b6355a5d | ||
|
|
a793159b82 | ||
|
|
3d9c2db3ff | ||
|
|
a723f3a539 | ||
|
|
324cc7cf53 |
+16
-1
@@ -33,13 +33,27 @@ services:
|
||||
image: marcpartensky/arch:vnc
|
||||
build:
|
||||
context: vnc
|
||||
# user: $USER
|
||||
ports:
|
||||
- "18080:8080"
|
||||
- "15900:5900"
|
||||
volumes:
|
||||
# - /var/run/docker.sock:/var/run/docker.sock
|
||||
- arch_pacman:/var/cache/pacman/pkg
|
||||
- /srv/arch/home/marc:/home/marc
|
||||
- arch_home:/home/marc
|
||||
|
||||
waylandvnc:
|
||||
image: marcpartensky/arch:waylandvnc
|
||||
build:
|
||||
context: waylandvnc
|
||||
# user: $USER
|
||||
ports:
|
||||
- "18080:8080"
|
||||
- "15900:5900"
|
||||
volumes:
|
||||
# - /var/run/docker.sock:/var/run/docker.sock
|
||||
- arch_pacman:/var/cache/pacman/pkg
|
||||
- arch_home:/home/marc
|
||||
|
||||
parabola:
|
||||
image: marcpartensky/arch:parabola
|
||||
@@ -48,3 +62,4 @@ services:
|
||||
|
||||
volumes:
|
||||
arch_pacman:
|
||||
arch_home:
|
||||
|
||||
+10
-14
@@ -7,25 +7,21 @@ ENV DISPLAY=:0.0
|
||||
|
||||
# Install packages
|
||||
RUN paru -Syyyu --noconfirm \
|
||||
x11vnc \
|
||||
# xorg-server required for xdummy
|
||||
xorg-server \
|
||||
# xorg-server-utils \
|
||||
xorg-server-xvfb \
|
||||
# xf86-video-dummy \
|
||||
tigervnc \
|
||||
novnc \
|
||||
cron \
|
||||
# xorg-server \
|
||||
# xorg-server-utils \
|
||||
ttf-meslo-nerd-font-powerlevel10k \
|
||||
# xorg-server-xvfb
|
||||
xf86-video-dummy
|
||||
ttf-meslo-nerd-font-powerlevel10k
|
||||
|
||||
USER root
|
||||
COPY crontab.txt /var/spool/cron/marc
|
||||
RUN chmod 600 /var/spool/cron/marc
|
||||
|
||||
USER marc
|
||||
COPY supervisord.ini /etc/supervisor.d/supervisord.ini
|
||||
|
||||
USER root
|
||||
RUN pwd
|
||||
RUN ls
|
||||
COPY entrypoint.sh /root/entrypoint.sh
|
||||
ENTRYPOINT [ "/root/entrypoint.sh" ]
|
||||
# ENTRYPOINT ["/usr/bin/supervisord", "-c", "/etc/supervisor.d/supervisord.ini"]
|
||||
COPY entrypoint.sh /opt/arch/
|
||||
COPY supervisord.conf /etc/supervisord.conf
|
||||
ENTRYPOINT [ "/opt/arch/entrypoint.sh" ]
|
||||
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
#!/sbin/zsh
|
||||
#!/bin/sh
|
||||
|
||||
export WALLPAPERS_PATH=/home/marc/wallpapers
|
||||
/usr/bin/supervisord -c /etc/supervisor.d/supervisord.ini
|
||||
supervisord -l /tmp/supervisord.log
|
||||
|
||||
@@ -1,30 +1,27 @@
|
||||
[supervisord]
|
||||
nodaemon=true
|
||||
; nodaemon=false
|
||||
|
||||
[program:X11]
|
||||
command=/usr/bin/Xvfb :0 -screen 0 1820x980x8
|
||||
[rpcinterface:supervisor]
|
||||
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
|
||||
|
||||
[unix_http_server]
|
||||
file=/tmp/supervisord.sock
|
||||
|
||||
[supervisorctl]
|
||||
serverurl=unix:///tmp/supervisord.sock
|
||||
|
||||
[program:xvnc]
|
||||
command=Xvnc :0 -SecurityTypes None -geometry 1820x980
|
||||
autorestart=true
|
||||
user=marc
|
||||
priority=1
|
||||
|
||||
; [program:startx]
|
||||
; command=startx
|
||||
; autorestart=true
|
||||
; priority=1
|
||||
|
||||
[program:picom]
|
||||
command=zsh -c "sleep 5 && picom -b"
|
||||
command=picom
|
||||
user=marc
|
||||
autorestart=true
|
||||
priority=2
|
||||
|
||||
[program:x11vnc]
|
||||
command=/usr/bin/x11vnc -shared -forever
|
||||
autorestart=true
|
||||
user=marc
|
||||
priority=2
|
||||
|
||||
[program:dwm]
|
||||
command=/usr/local/bin/dwm
|
||||
autorestart=true
|
||||
@@ -54,6 +51,7 @@ user=root
|
||||
priority=5
|
||||
|
||||
[program:alacritty]
|
||||
command=alacritty -e sh -c "picom -b"
|
||||
command=alacritty -e neofetch"
|
||||
autorestart=false
|
||||
user=marc
|
||||
priority=5
|
||||
@@ -0,0 +1,21 @@
|
||||
FROM marcpartensky/arch:waylandvnc
|
||||
LABEL maintainer=<marc.partensky@gmail.com>
|
||||
|
||||
RUN paru -Syyyu --noconfirm \
|
||||
hyprland-bin \
|
||||
# hyprpaper-git \
|
||||
hyprpaper-git \
|
||||
wpaperd \
|
||||
waybar \
|
||||
grim \
|
||||
wf-recorder \
|
||||
swappy
|
||||
|
||||
USER root
|
||||
COPY crontab.txt /var/spool/cron/marc
|
||||
RUN chmod 600 /var/spool/cron/marc
|
||||
|
||||
USER marc
|
||||
COPY entrypoint.sh /opt/arch/
|
||||
COPY supervisord.conf /etc/supervisord.conf
|
||||
ENTRYPOINT [ "/opt/arch/entrypoint.sh" ]
|
||||
@@ -0,0 +1 @@
|
||||
* * * * * /home/marc/.local/bin/wpp -n
|
||||
Executable
+4
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
export WALLPAPERS_PATH=/home/marc/wallpapers
|
||||
supervisord -l /tmp/supervisord.log
|
||||
@@ -0,0 +1,58 @@
|
||||
[supervisord]
|
||||
nodaemon=true
|
||||
|
||||
[rpcinterface:supervisor]
|
||||
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
|
||||
|
||||
[unix_http_server]
|
||||
file=/tmp/supervisord.sock
|
||||
|
||||
[supervisorctl]
|
||||
serverurl=unix:///tmp/supervisord.sock
|
||||
|
||||
[program:xvnc]
|
||||
command=Xvnc :0 -SecurityTypes None -geometry 1820x980
|
||||
autorestart=true
|
||||
user=marc
|
||||
priority=1
|
||||
|
||||
[program:hyprland]
|
||||
command=Hyprland
|
||||
autorestart=true
|
||||
user=marc
|
||||
priority=3
|
||||
|
||||
[program:noVNC]
|
||||
command=/sbin/novnc --vnc localhost:5900 --listen 8080
|
||||
autorestart=true
|
||||
user=marc
|
||||
priority=3
|
||||
|
||||
[program:wpaperd]
|
||||
command=wpaperd --no-daemon
|
||||
autorestart=true
|
||||
user=marc
|
||||
priority=4
|
||||
|
||||
# [program:hyprpaper]
|
||||
# command=hyprpaper
|
||||
# autorestart=true
|
||||
# user=marc
|
||||
# priority=4
|
||||
|
||||
[program:waybar]
|
||||
command=waybar
|
||||
autorestart=true
|
||||
user=marc
|
||||
priority=4
|
||||
|
||||
[program:cron]
|
||||
command=crond -f
|
||||
user=root
|
||||
priority=5
|
||||
|
||||
[program:alacritty]
|
||||
command=alacritty -e neofetch"
|
||||
autorestart=false
|
||||
user=marc
|
||||
priority=5
|
||||
+1
-1
@@ -45,7 +45,7 @@ RUN git clone https://github.com/marcpartensky/shell git/shell
|
||||
RUN make -C git/shell
|
||||
|
||||
USER root
|
||||
COPY supervisord.ini /etc/supervisor.d/supervisord.ini
|
||||
COPY entrypoint.sh entrypoint.sh
|
||||
COPY supervisord.conf /etc/supervisord.conf
|
||||
ENTRYPOINT [ "./entrypoint.sh" ]
|
||||
# ENTRYPOINT [ "DISPLAY=:0", "Xephyr", ":1" ]
|
||||
|
||||
+1
-1
@@ -3,4 +3,4 @@
|
||||
export WALLPAPERS_PATH=/home/marc/wallpapers
|
||||
# export DISPLAY=:0
|
||||
# Xephyr :1 -extension MIT-SHM
|
||||
/usr/bin/supervisord -c /etc/supervisor.d/supervisord.ini
|
||||
supervisord -l /tmp/supervisord.log
|
||||
|
||||
Reference in New Issue
Block a user