--- /dev/null
+@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
+
+/*** userChrome.js ***
+ * https://github.com/Sporif/firefox-quantum-userchromejs
+ * Copyright (c) 2017 Haggai Nuchi
+ * Available for use under the MIT License:
+ * https://opensource.org/licenses/MIT
+ */
+ #PanelUI-menu-button {
+ -moz-binding: url("userChrome.xml#js");
+}
+
+
+/*** Settings ***/
+window {
+ --statusbar-height: 20px;
+}
+
+/*** Misc rules ***/
+/* Adjust padding from sidebar header */
+#sidebar-header {
+ padding: 0 3px !important;
+}
+
+/*** Tabs ***/
+/* Hide tab bar */
+window:not([tabsintitlebar="true"]):not([customizing])
+ /* #navigator-toolbox:not(:hover):not(:focus-within) */
+ #TabsToolbar {
+ visibility: collapse;
+}
+/* Hide tabs when in titlebar */
+window[tabsintitlebar="true"]:not([customizing])
+ /* #navigator-toolbox:not(:hover):not(:focus-within) */
+ #TabsToolbar {
+ opacity: 0;
+ pointer-events: none;
+}
+
+/*** Bottom bookmarks/personal toolbar ***/
+/* Adjust window size */
+window:not([inFullscreen="true"]) {
+ margin-bottom: calc(var(--statusbar-height) + 1px);
+}
+/* Move toolbar */
+window:not([inFullscreen="true"]) #PersonalToolbar
+{
+ position: fixed;
+ bottom: 0;
+ width: 100%;
+ height: var(--statusbar-height);
+}
+/* Move statuspanel to bar */
+/* XXX: opacity and collapse not really needed, just
+ * need to remove transitions.
+ * TODO: add box shadow to left of bar
+ * XXX: :hover doesn't fire because pointer disabled in xul?
+ */
+window:not([inFullscreen="true"]) #statuspanel:not(:hover) {
+ bottom: 0 !important;
+ offset-inline-start: auto;
+ offset-inline-end: 0;
+ margin-top: 0 !important;
+ max-width: 100% !important;
+ /* TODO: breaks it? thankfully fits as-is */
+ /* height: var(--statusbar-height) !important; */
+ opacity: 1 !important;
+}
+window:not([inFullscreen="true"]) #statuspanel-label {
+ margin: 0 !important;
+ border: none !important;
+ box-shadow: -5px 0 2px -2px var(--toolbar-bgcolor);
+}
+window:not([inFullscreen="true"]) #statuspanel[inactive] {
+ visibility: collapse;
+}
+
+/*** Tree Style Tabs */
+/* Hide sidebar with one tab */
+#sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"] {
+ transition: all 0.2s ease;
+}
+#main-window[titlepreface="[1] "]
+ #sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"]:not(:hover) {
+ z-index: 2 !important;
+ overflow: hidden;
+ min-width: 30px !important;
+ max-width: 30px !important;
+}
--- /dev/null
+<?xml version="1.0"?>
+<!-- Copyright (c) 2017 Haggai Nuchi
+Available for use under the MIT License:
+https://opensource.org/licenses/MIT
+ -->
+
+<!-- Run userChrome.js/userChrome.xul and .uc.js/.uc.xul/.css files -->
+<bindings xmlns="http://www.mozilla.org/xbl">
+ <binding id="js" extends="chrome://global/content/bindings/toolbarbutton.xml#menu">
+ <implementation>
+ <constructor><![CDATA[
+ if(window.userChromeJsMod) return;
+ window.userChromeJsMod = true;
+
+ var chromeFiles = FileUtils.getDir("UChrm", []).directoryEntries;
+ var xulFiles = [];
+ var sss = Cc['@mozilla.org/content/style-sheet-service;1'].getService(Ci.nsIStyleSheetService);
+
+ while(chromeFiles.hasMoreElements()) {
+ var file = chromeFiles.getNext().QueryInterface(Ci.nsIFile);
+ var fileURI = Services.io.newFileURI(file);
+
+ if(file.isFile()) {
+ if(/(^userChrome|\.uc)\.js$/i.test(file.leafName)) {
+ Services.scriptloader.loadSubScriptWithOptions(fileURI.spec, {target: window, ignoreCache: true});
+ }
+ else if(/(^userChrome|\.uc)\.xul$/i.test(file.leafName)) {
+ xulFiles.push(fileURI.spec);
+ }
+ else if(/\.as\.css$/i.test(file.leafName)) {
+ if(!sss.sheetRegistered(fileURI, sss.AGENT_SHEET))
+ sss.loadAndRegisterSheet(fileURI, sss.AGENT_SHEET);
+ }
+ else if(/^(?!(userChrome|userContent)\.css$).+\.css$/i.test(file.leafName)) {
+ if(!sss.sheetRegistered(fileURI, sss.USER_SHEET))
+ sss.loadAndRegisterSheet(fileURI, sss.USER_SHEET);
+ }
+ }
+ }
+
+ setTimeout(function loadXUL() {
+ if(xulFiles.length > 0) {
+ document.loadOverlay(xulFiles.shift(), null);
+ setTimeout(loadXUL, 5);
+ }
+ }, 0);
+ ]]></constructor>
+ </implementation>
+ </binding>
+</bindings>
// Custom user.js overrides
user_pref("_user.js.parrot", "overrides section syntax error");
-// 0001
-user_pref("browser.privatebrowsing.autostart", false);
-
// 0102
user_pref("browser.startup.page", 3);
-// 0514b [CUSTOM]
+// 0105b [CUSTOM]
user_pref("browser.newtabpage.activity-stream.default.sites", "");
-user_pref("browser.newtabpage.activity-stream.disableSnippets", true);
user_pref("browser.newtabpage.activity-stream.feeds.aboutpreferences", false);
user_pref("browser.newtabpage.activity-stream.feeds.asrouterfeed", false);
user_pref("browser.newtabpage.activity-stream.feeds.favicon", false);
user_pref("browser.newtabpage.activity-stream.showSearch", false);
user_pref("browser.newtabpage.activity-stream.showSponsored", false);
user_pref("browser.newtabpage.activity-stream.telemetry", false);
-user_pref("browser.newtabpage.activity-stream.telemetry.ping.endpoint", "data:,");
-user_pref("browser.newtabpage.activity-stream.tippyTop.service.endpoint", "data:,");
+user_pref("browser.newtabpage.activity-stream.telemetry.ping.endpoint", "data:text/plain,");
+user_pref("browser.newtabpage.activity-stream.tippyTop.service.endpoint", "data:text/plain,");
+// 0105d
+user_pref("browser.library.activity-stream.enabled", false);
+
+// 0420: uMatrix
+user_pref("privacy.trackingprotection.pbmode.enabled", false);
+user_pref("privacy.trackingprotection.enabled", false);
+// 0422: uMatrix
+user_pref("urlclassifier.trackingTable", "");
+
+
// 0515
user_pref("extensions.screenshots.disabled", true);
+user_pref("extensions.screenshots.upload-disabled", true);
// 0701
user_pref("network.dns.disableIPv6", false);
user_pref("browser.sessionstore.max_windows_undo", 3);
// 1021
user_pref("browser.sessionstore.privacy_level", 0);
-// 1022
-user_pref("browser.sessionstore.resume_from_crash", true);
-// 1030
-user_pref("browser.shell.shortcutFavicons", true);
// 1241: uMatrix
user_pref("security.mixed_content.block_display_content", false);
// 1606: uMatrix
user_pref("network.http.referer.spoofSource", true);
-// 2024
-user_pref("permissions.default.camera", 2);
-user_pref("permissions.default.microphone", 2);
// 2212
user_pref("dom.popup_allowed_events", "click dblclick notificationclick");
-// 2304
+// 2302: uMatrix
+user_pref("dom.serviceWorkers.enabled", true);
+// 2304: uMatrix
user_pref("dom.webnotifications.enabled", true);
-// 2305
-user_pref("permissions.default.desktop-notification", 2);
+user_pref("dom.webnotifications.serviceworker.enabled", true);
// 2401
//user_pref("dom.event.contextmenu.enabled", false);
// 2662
user_pref("extensions.webextensions.restrictedDomains", "");
-// 2701
-user_pref("network.cookie.cookieBehavior", 3);
-
-// 2703: use extensions for cookies
+// 2701: use extensions for cookies
+user_pref("network.cookie.cookieBehavior", 0);
// 2803
user_pref("privacy.clearOnShutdown.history", false);
user_pref("privacy.clearOnShutdown.downloads", false);
-
-// 0420: uMatrix
-user_pref("privacy.trackingprotection.pbmode.enabled", false);
-user_pref("privacy.trackingprotection.enabled", false);
-// 0421: uMatrix
-user_pref("privacy.trackingprotection.ui.enabled", false);
-// 0422: uMatrix
-user_pref("urlclassifier.trackingTable", "");
+// 2804
+user_pref("privacy.cpd.history", false);
+user_pref("privacy.cpd.downloads", false);
// 5000
/* WELCOME & WHAT's NEW NOTICES ***/
user_pref("startup.homepage_welcome_url", "");
user_pref("startup.homepage_welcome_url.additional", "");
user_pref("startup.homepage_override_url", "");
+/* WARNINGS ***/
+user_pref("full-screen-api.warning.delay", 0);
+user_pref("full-screen-api.warning.timeout", 0);
/* APPEARANCE ***/
+user_pref("browser.download.autohideButton", false);
user_pref("toolkit.cosmeticAnimations.enabled", false);
/* CONTENT BEHAVIOR ***/
user_pref("layout.spellcheckDefault", 2);
/* UX BEHAVIOR ***/
user_pref("browser.backspace_action", 2);
-user_pref("browser.ctrlTab.previews", true);
user_pref("browser.tabs.closeWindowWithLastTab", false);
user_pref("browser.tabs.loadBookmarksInTabs", true);
/* OTHER ***/
--- /dev/null
+UI vesamenu.c32
+MENU MASTER PASSWD $4$o3HcoX5c$VKqMo4r1IPtDM3XwimY6zYx+SeM$
+MENU HIDDEN
+MENU CLEAR
+MENU IMMEDIATE
+
+MENU TITLE Syslinux Boot Menu
+MENU PASSPROMPT Password:
+
+MENU BACKGROUND #ff110800
+MENU COLOR screen * #ff93a1a1 #00000000 std
+MENU COLOR border * #ffcc6600 #00000000 std
+MENU COLOR title * #ff93a1a1 #ff221100 std
+MENU COLOR unsel * #c093a1a1 #00000000 std
+MENU COLOR hotkey * #ffcb4b16 #00000000 std
+MENU COLOR sel * #ffeee8d5 #ffaa5500 std
+MENU COLOR hotsel * #ffcb4b16 #ffaa5500 std
+MENU COLOR disabled * #ff93a1a1 #ff221100 std
+MENU COLOR scrollbar * #ffcc6600 #00000000 std
+MENU COLOR tabmsg * #ffb58900 #00000000 std
+MENU COLOR cmdmark * #ff85c000 #00000000 std
+MENU COLOR cmdline * #ffeee8d5 #00000000 std
+MENU COLOR pwdborder * #ffcc6600 #ffaa5500 std
+MENU COLOR pwdheader * #ff264db2 #ffaa5500 std
+MENU COLOR pwdentry * #ffeee8d5 #ffaa5500 std
+MENU COLOR timeout_msg * #ffeee8d5 #ff110800 std
+MENU COLOR timeout * #ffcc6600 #ff110800 std
+MENU COLOR help * #ff93a1a1 #ff221100 std
+MENU MSGCOLOR #ff93a1a1 #ff221100 std
+
+DEFAULT vanilla
+TIMEOUT 15
+
+LABEL _linux
+ MENU LABEL Linux
+ MENU DISABLED
+
+LABEL vanilla
+ MENU DEFAULT
+ MENU LABEL ^Alpine Linux
+ LINUX /vmlinuz-vanilla
+ APPEND root=UUID=21194c25-5a0a-410e-9f82-759441a8cfd9 rw modules=sd-mod,usb-storage,ext4
+ INITRD /initramfs-vanilla
+ TEXT HELP
+ Boot Alpine Linux in multi-user mode
+ ENDTEXT
+
+LABEL single-vanilla
+ MENU LABEL Alpine Linux (^maintenance)
+ MENU PASSWD
+ COM32 cmd.c32
+ APPEND vanilla single
+ TEXT HELP
+ Boot Alpine Linux in single-user (maintenance) mode
+ ENDTEXT
+
+LABEL _tools
+ MENU LABEL Tools
+ MENU DISABLED
+
+LABEL hdt
+ MENU LABEL ^HDT
+ KERNEL hdt.c32
+ APPEND pciids=hdt/pci.ids
+ TEXT HELP
+ Start the Hardware Detection Tool
+ ENDTEXT
+
+LABEL memtest
+ MENU LABEL Mem^test86+
+ LINUX /memtest86+-5.01.bin
+ TEXT HELP
+ Start Memtest86+ v5.01
+ ENDTEXT
+
+LABEL shell
+ MENU LABEL ^Shell (rosh)
+ MENU PASSWD
+ COM32 rosh.c32
+ TEXT HELP
+ Start the Read-Only Shell
+ ENDTEXT
+
+MENU SEPARATOR
+
+LABEL reboot
+ MENU LABEL ^Reboot
+ MENU PASSWD
+ COM32 reboot.c32
+ TEXT HELP
+ Perform a cold reboot
+ ENDTEXT
+
+LABEL warm-reboot
+ MENU LABEL Warm Reboot
+ MENU PASSWD
+ COM32 cmd.c32
+ APPEND reboot -w
+ TEXT HELP
+ Perform a software/warm reboot
+ ENDTEXT
+
+LABEL quit
+ MENU LABEL ^Quit
+ MENU PASSWD
+ MENU QUIT
+ TEXT HELP
+ Escape to the boot prompt
+ ENDTEXT
padding = 4
horizontal_padding = 4
icon_position = left
-icon_path = "~/.icons/Paper-Dark/16x16/status/:~/.icons/Paper-Dark/16x16/devices/:~/.icons/Paper-Dark/16x16/emblems/~/.icons/Paper/16x16/status/:~/.icons/Paper/16x16/devices/:~/.icons/Paper/16x16/emblems/:/usr/local/share/icons/Adwaita/16x16/status/:/usr/local/share/icons/Adwaita/16x16/devices/:/usr/local/share/icons/Adwaita/16x16/emblems/"
+# {~/.icons,/usr/share/icons,/usr/share/local/icons}/*/16x16/*
+icon_path = "~/.icons/Paper/16x16/actions:~/.icons/Paper/16x16/apps:~/.icons/Paper/16x16/categories:~/.icons/Paper/16x16/devices:~/.icons/Paper/16x16/emblems:~/.icons/Paper/16x16/emotes:~/.icons/Paper/16x16/mimetypes:~/.icons/Paper/16x16/panel:~/.icons/Paper/16x16/places:~/.icons/Paper/16x16/status:~/.icons/Paper/16x16/web:/usr/share/icons/hicolor/16x16/actions:/usr/share/icons/hicolor/16x16/animations:/usr/share/icons/hicolor/16x16/apps:/usr/share/icons/hicolor/16x16/categories:/usr/share/icons/hicolor/16x16/devices:/usr/share/icons/hicolor/16x16/emblems:/usr/share/icons/hicolor/16x16/emotes:/usr/share/icons/hicolor/16x16/filesystems:/usr/share/icons/hicolor/16x16/intl:/usr/share/icons/hicolor/16x16/mimetypes:/usr/share/icons/hicolor/16x16/places:/usr/share/icons/hicolor/16x16/status:/usr/share/icons/hicolor/16x16/stock:/usr/share/icons/locolor/16x16/apps"
dmenu = "~/bin/dmenu -p dunst:"
-browser = /usr/local/bin/luakit
+browser = /usr/bin/firefox
[shortcuts]
close = mod4+shift+grave