Initial commit
This commit is contained in:
2
overlay/usr/lib64/firefox/defaults/pref/autoconfig.js
Normal file
2
overlay/usr/lib64/firefox/defaults/pref/autoconfig.js
Normal file
@@ -0,0 +1,2 @@
|
||||
pref("general.config.filename", "firefox.cfg");
|
||||
pref("general.config.obscure_value", 0);
|
||||
10
overlay/usr/lib64/firefox/distribution/policies.json
Normal file
10
overlay/usr/lib64/firefox/distribution/policies.json
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"policies": {
|
||||
"BlockAboutConfig": true,
|
||||
"Extensions": {
|
||||
"Install": [
|
||||
"https://addons.mozilla.org/firefox/downloads/file/1105247/auto_fullscreen-1.0.0.2-fx.xpi"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
2
overlay/usr/lib64/firefox/firefox.cfg
Normal file
2
overlay/usr/lib64/firefox/firefox.cfg
Normal file
@@ -0,0 +1,2 @@
|
||||
// Load preferences from remote
|
||||
pref("autoadmin.global_config_url","http://rosalina.pyrocufflink.blue/~dustin/autoconfigfile.js");
|
||||
17
overlay/usr/local/libexec/home-overlay.sh
Executable file
17
overlay/usr/local/libexec/home-overlay.sh
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/bin/sh
|
||||
|
||||
if mountpoint -q "${HOME}"; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
upperdir="${XDG_RUNTIME_DIR}"/home/rw
|
||||
workdir="${XDG_RUNTIME_DIR}"/home/.work
|
||||
|
||||
mkdir -p "${upperdir}"
|
||||
mkdir -p "${workdir}"
|
||||
|
||||
mount overlay \
|
||||
-t overlay \
|
||||
-o lowerdir="${HOME}",upperdir="${upperdir}",workdir="${workdir}" \
|
||||
"${HOME}"
|
||||
chown "${PAM_USER}": "${HOME}"
|
||||
Reference in New Issue
Block a user