Switched firefox to openbox

This commit is contained in:
myve 2025-01-26 03:23:07 +00:00
commit 30d62c5c9b
4 changed files with 10 additions and 8 deletions

View file

@ -45,12 +45,11 @@ user_pref("browser.tabs.closeWindowWithLastTab", false);
user_pref("browser.fullscreen.autohide", false);
firefox
# i3/firefox startup
install /dev/stdin ~/.config/i3/startapp.sh <<- startup
#!/usr/bin/env bash
# Openbox autostart
cat >~/.config/openbox/autostart <<- 'firefox'
# Run firefox
while true
do
firefox --profile /app/firefox ${MYVNC_FIREFOX_OPTS} --new-window ${MYVNC_FIREFOX_URL}
done
startup
firefox

View file

@ -1,5 +1,5 @@
# syntax = docker/dockerfile:1
FROM myvnc/alpine/i3
FROM myvnc/alpine/openbox
USER root
# Build ARG: use "root" for debugging

View file

@ -3,10 +3,10 @@ services:
image: myvnc/alpine/firefox
container_name: firefox
restart: unless-stopped
build: .
# build: .
# shm_size: 2gb
# security_opt:
# - seccomp:unconfined
security_opt:
- seccomp:unconfined
ports:
- ${MYVNC_FIREFOX_PORT}:6900
environment:

View file

@ -40,3 +40,6 @@ framerate=60
depth=32
${_MYVNC_VNCSHARING}
vncconfig
# Openbox config
cp -a /etc/xdg/openbox ~/.config/