Remove old things
This commit is contained in:
parent
d4361d1290
commit
abe914b345
@ -1,433 +0,0 @@
|
|||||||
// Mozilla User Preferences
|
|
||||||
|
|
||||||
// DO NOT EDIT THIS FILE.
|
|
||||||
//
|
|
||||||
// If you make changes to this file while the application is running,
|
|
||||||
// the changes will be overwritten when the application exits.
|
|
||||||
//
|
|
||||||
// To change a preference value, you can either:
|
|
||||||
// - modify it via the UI (e.g. via about:config in the browser); or
|
|
||||||
// - set it within a user.js file in your profile.
|
|
||||||
|
|
||||||
user_pref("accessibility.typeaheadfind.flashBar", 0);
|
|
||||||
user_pref("app.normandy.first_run", false);
|
|
||||||
user_pref("app.normandy.migrationsApplied", 12);
|
|
||||||
user_pref("app.normandy.user_id", "386ca480-d13e-460a-b05c-42200328125f");
|
|
||||||
user_pref("app.update.lastUpdateTime.addon-background-update-timer", 1717438629);
|
|
||||||
user_pref("app.update.lastUpdateTime.browser-cleanup-thumbnails", 1717480397);
|
|
||||||
user_pref("app.update.lastUpdateTime.recipe-client-addon-run", 1717476793);
|
|
||||||
user_pref("app.update.lastUpdateTime.region-update-timer", 1717175945);
|
|
||||||
user_pref("app.update.lastUpdateTime.rs-experiment-loader-timer", 1717476793);
|
|
||||||
user_pref("app.update.lastUpdateTime.services-settings-poll-changes", 1717438629);
|
|
||||||
user_pref("app.update.lastUpdateTime.telemetry_modules_ping", 1717179542);
|
|
||||||
user_pref("app.update.lastUpdateTime.xpi-signature-verification", 1717438629);
|
|
||||||
user_pref("browser.aboutConfig.showWarning", false);
|
|
||||||
user_pref("browser.bookmarks.defaultLocation", "Sf1F8MX-syPh");
|
|
||||||
user_pref("browser.bookmarks.editDialog.confirmationHintShowCount", 3);
|
|
||||||
user_pref("browser.bookmarks.showMobileBookmarks", true);
|
|
||||||
user_pref("browser.compactmode.show", true);
|
|
||||||
user_pref("browser.contentblocking.category", "strict");
|
|
||||||
user_pref("browser.contextual-services.contextId", "{9ee371a6-c521-4edc-9de2-47e6b51ad9a5}");
|
|
||||||
user_pref("browser.download.panel.shown", true);
|
|
||||||
user_pref("browser.download.viewableInternally.typeWasRegistered.avif", true);
|
|
||||||
user_pref("browser.download.viewableInternally.typeWasRegistered.jxl", true);
|
|
||||||
user_pref("browser.download.viewableInternally.typeWasRegistered.webp", true);
|
|
||||||
user_pref("browser.eme.ui.firstContentShown", true);
|
|
||||||
user_pref("browser.engagement.downloads-button.has-used", true);
|
|
||||||
user_pref("browser.engagement.fxa-toolbar-menu-button.has-used", true);
|
|
||||||
user_pref("browser.engagement.home-button.has-used", true);
|
|
||||||
user_pref("browser.firefox-view.feature-tour", "{\"message\":\"FIREFOX_VIEW_FEATURE_TOUR\",\"screen\":\"\",\"complete\":true}");
|
|
||||||
user_pref("browser.firefox-view.view-count", 10);
|
|
||||||
user_pref("browser.migration.version", 144);
|
|
||||||
user_pref("browser.newtab.extensionControlled", true);
|
|
||||||
user_pref("browser.newtab.privateAllowed", false);
|
|
||||||
user_pref("browser.newtabpage.activity-stream.feeds.section.topstories", false);
|
|
||||||
user_pref("browser.newtabpage.activity-stream.feeds.topsites", false);
|
|
||||||
user_pref("browser.newtabpage.activity-stream.impressionId", "{2e752558-1d33-42e9-bc09-bdaddd273b19}");
|
|
||||||
user_pref("browser.newtabpage.activity-stream.improvesearch.handoffToAwesomebar", false);
|
|
||||||
user_pref("browser.newtabpage.activity-stream.improvesearch.topSiteSearchShortcuts.havePinned", "google");
|
|
||||||
user_pref("browser.newtabpage.activity-stream.showSponsoredTopSites", false);
|
|
||||||
user_pref("browser.newtabpage.pinned", "[{\"url\":\"https://google.com\",\"label\":\"@google\",\"searchTopSite\":true}]");
|
|
||||||
user_pref("browser.newtabpage.storageVersion", 1);
|
|
||||||
user_pref("browser.pageActions.persistedActions", "{\"ids\":[\"bookmark\",\"_testpilot-containers\"],\"idsInUrlbar\":[\"_testpilot-containers\",\"bookmark\"],\"idsInUrlbarPreProton\":[],\"version\":1}");
|
|
||||||
user_pref("browser.pagethumbnails.storage_version", 3);
|
|
||||||
user_pref("browser.pdfjs.feature-tour", "{\"screen\":\"\",\"complete\":true}");
|
|
||||||
user_pref("browser.protections_panel.infoMessage.seen", true);
|
|
||||||
user_pref("browser.proton.enabled", true);
|
|
||||||
user_pref("browser.proton.toolbar.version", 3);
|
|
||||||
user_pref("browser.region.update.updated", 1717175946);
|
|
||||||
user_pref("browser.rights.3.shown", true);
|
|
||||||
user_pref("browser.safebrowsing.malware.enabled", false);
|
|
||||||
user_pref("browser.safebrowsing.phishing.enabled", false);
|
|
||||||
user_pref("browser.safebrowsing.provider.mozilla.lastupdatetime", "1717476763180");
|
|
||||||
user_pref("browser.safebrowsing.provider.mozilla.nextupdatetime", "1717498363180");
|
|
||||||
user_pref("browser.search.region", "CH");
|
|
||||||
user_pref("browser.sessionstore.upgradeBackup.latestBuildID", "20230925122949");
|
|
||||||
user_pref("browser.shell.checkDefaultBrowser", true);
|
|
||||||
user_pref("browser.shell.mostRecentDateSetAsDefault", "1717476762");
|
|
||||||
user_pref("browser.startup.couldRestoreSession.count", 1);
|
|
||||||
user_pref("browser.startup.homepage", "wiki.exu.li");
|
|
||||||
user_pref("browser.startup.homepage_override.buildID", "20240527213814");
|
|
||||||
user_pref("browser.startup.homepage_override.mstone", "126.0.1");
|
|
||||||
user_pref("browser.startup.lastColdStartupCheck", 1717476762);
|
|
||||||
user_pref("browser.startup.upgradeDialog.version", 106);
|
|
||||||
user_pref("browser.tabs.cardPreview.enabled", true);
|
|
||||||
user_pref("browser.tabs.firefox-view.ui-state.opentabs.open", true);
|
|
||||||
user_pref("browser.tabs.firefox-view.ui-state.recentlyclosed.open", true);
|
|
||||||
user_pref("browser.tabs.firefox-view.ui-state.tab-pickup.open", true);
|
|
||||||
user_pref("browser.toolbars.bookmarks.visibility", "always");
|
|
||||||
user_pref("browser.translation.detectLanguage", false);
|
|
||||||
user_pref("browser.translation.neverForLanguages", "de");
|
|
||||||
user_pref("browser.translation.ui.show", false);
|
|
||||||
user_pref("browser.translations.panelShown", true);
|
|
||||||
user_pref("browser.uiCustomization.state", "{\"placements\":{\"widget-overflow-fixed-list\":[],\"unified-extensions-area\":[\"sponsorblocker_ajay_app-browser-action\",\"_e58d3966-3d76-4cd9-8552-1582fbc800c1_-browser-action\",\"clearcache_michel_de_almeida-browser-action\",\"search_kagi_com-browser-action\",\"enhancerforyoutube_maximerf_addons_mozilla_org-browser-action\",\"_12cf650b-1822-40aa-bff0-996df6948878_-browser-action\",\"webtoepub_baka-tsuki_org-browser-action\",\"gdpr_cavi_au_dk-browser-action\",\"_762f9885-5a13-4abd-9c77-433dcd38b8fd_-browser-action\",\"_6706d386-2d33-4e1e-bbf1-51b9e1ce47e1_-browser-action\",\"languagetool-webextension_languagetool_org-browser-action\",\"floccus_handmadeideas_org-browser-action\",\"contact_nhentaidownloader_zirk_eu-browser-action\",\"_c49b13b1-5dee-4345-925e-0c793377e3fa_-browser-action\",\"_e4a8a97b-f2ed-450b-b12d-ee082ba24781_-browser-action\"],\"nav-bar\":[\"back-button\",\"forward-button\",\"stop-reload-button\",\"home-button\",\"customizableui-special-spring1\",\"urlbar-container\",\"customizableui-special-spring2\",\"downloads-button\",\"ublock0_raymondhill_net-browser-action\",\"_446900e4-71c2-419f-a6a7-df9c091e268b_-browser-action\",\"firefox-translations-addon_mozilla_org-browser-action\",\"_testpilot-containers-browser-action\",\"wayback_machine_mozilla_org-browser-action\",\"_a6c4a591-f1b2-4f03-b3ff-767e5bedf4e7_-browser-action\",\"7esoorv3_alefvanoon_anonaddy_me-browser-action\",\"unified-extensions-button\",\"reset-pbm-toolbar-button\"],\"toolbar-menubar\":[\"menubar-items\"],\"TabsToolbar\":[\"firefox-view-button\",\"tabbrowser-tabs\",\"new-tab-button\",\"alltabs-button\"],\"PersonalToolbar\":[\"personal-bookmarks\"]},\"seen\":[\"save-to-pocket-button\",\"developer-button\",\"sponsorblocker_ajay_app-browser-action\",\"wayback_machine_mozilla_org-browser-action\",\"_e58d3966-3d76-4cd9-8552-1582fbc800c1_-browser-action\",\"clearcache_michel_de_almeida-browser-action\",\"search_kagi_com-browser-action\",\"enhancerforyoutube_maximerf_addons_mozilla_org-browser-action\",\"ublock0_raymondhill_net-browser-action\",\"_12cf650b-1822-40aa-bff0-996df6948878_-browser-action\",\"_testpilot-containers-browser-action\",\"webtoepub_baka-tsuki_org-browser-action\",\"gdpr_cavi_au_dk-browser-action\",\"firefox-translations-addon_mozilla_org-browser-action\",\"_a6c4a591-f1b2-4f03-b3ff-767e5bedf4e7_-browser-action\",\"7esoorv3_alefvanoon_anonaddy_me-browser-action\",\"_762f9885-5a13-4abd-9c77-433dcd38b8fd_-browser-action\",\"_446900e4-71c2-419f-a6a7-df9c091e268b_-browser-action\",\"_6706d386-2d33-4e1e-bbf1-51b9e1ce47e1_-browser-action\",\"languagetool-webextension_languagetool_org-browser-action\",\"floccus_handmadeideas_org-browser-action\",\"contact_nhentaidownloader_zirk_eu-browser-action\",\"_c49b13b1-5dee-4345-925e-0c793377e3fa_-browser-action\",\"_e4a8a97b-f2ed-450b-b12d-ee082ba24781_-browser-action\"],\"dirtyAreaCache\":[\"nav-bar\",\"unified-extensions-area\",\"toolbar-menubar\",\"TabsToolbar\",\"PersonalToolbar\"],\"currentVersion\":20,\"newElementCount\":4}");
|
|
||||||
user_pref("browser.urlbar.clipboard.featureGate", true);
|
|
||||||
user_pref("browser.urlbar.quicksuggest.migrationVersion", 2);
|
|
||||||
user_pref("browser.urlbar.quicksuggest.scenario", "history");
|
|
||||||
user_pref("browser.urlbar.suggest.calculator", true);
|
|
||||||
user_pref("browser.urlbar.tipShownCount.searchTip_onboard", 4);
|
|
||||||
user_pref("datareporting.policy.dataSubmissionPolicyAcceptedVersion", 2);
|
|
||||||
user_pref("datareporting.policy.dataSubmissionPolicyNotifiedTime", "1688475162598");
|
|
||||||
user_pref("devtools.debugger.prefs-schema-version", 11);
|
|
||||||
user_pref("devtools.everOpened", true);
|
|
||||||
user_pref("devtools.inspector.activeSidebar", "ruleview");
|
|
||||||
user_pref("devtools.inspector.selectedSidebar", "ruleview");
|
|
||||||
user_pref("devtools.inspector.three-pane-enabled", false);
|
|
||||||
user_pref("devtools.netmonitor.columnsData", "[{\"name\":\"status\",\"minWidth\":30,\"width\":6.67},{\"name\":\"method\",\"minWidth\":30,\"width\":6.67},{\"name\":\"domain\",\"minWidth\":30,\"width\":13.33},{\"name\":\"file\",\"minWidth\":30,\"width\":33.33},{\"name\":\"url\",\"minWidth\":30,\"width\":25},{\"name\":\"initiator\",\"minWidth\":30,\"width\":13.33},{\"name\":\"type\",\"minWidth\":30,\"width\":6.67},{\"name\":\"transferred\",\"minWidth\":30,\"width\":13.33},{\"name\":\"contentSize\",\"minWidth\":30,\"width\":6.67},{\"name\":\"waterfall\",\"minWidth\":150,\"width\":15}]");
|
|
||||||
user_pref("devtools.netmonitor.msg.visibleColumns", "[\"data\",\"time\"]");
|
|
||||||
user_pref("devtools.netmonitor.persistlog", true);
|
|
||||||
user_pref("devtools.responsive.reloadNotification.enabled", false);
|
|
||||||
user_pref("devtools.toolbox.host", "right");
|
|
||||||
user_pref("devtools.toolbox.previousHost", "bottom");
|
|
||||||
user_pref("devtools.toolbox.selectedTool", "netmonitor");
|
|
||||||
user_pref("devtools.toolbox.sidebar.width", 588);
|
|
||||||
user_pref("devtools.toolsidebar-height.inspector", 468);
|
|
||||||
user_pref("devtools.toolsidebar-width.inspector", 500);
|
|
||||||
user_pref("devtools.toolsidebar-width.inspector.splitsidebar", 225);
|
|
||||||
user_pref("distribution.archlinux.bookmarksProcessed", true);
|
|
||||||
user_pref("distribution.iniFile.exists.appversion", "126.0.1");
|
|
||||||
user_pref("distribution.iniFile.exists.value", true);
|
|
||||||
user_pref("doh-rollout.disable-heuristics", true);
|
|
||||||
user_pref("doh-rollout.doneFirstRun", true);
|
|
||||||
user_pref("doh-rollout.home-region", "CH");
|
|
||||||
user_pref("dom.push.userAgentID", "328bee7b7dc14ba48dec8c92e8d2af17");
|
|
||||||
user_pref("dom.security.https_only_mode", true);
|
|
||||||
user_pref("dom.security.https_only_mode_ever_enabled", true);
|
|
||||||
user_pref("extensions.activeThemeID", "default-theme@mozilla.org");
|
|
||||||
user_pref("extensions.blocklist.pingCountVersion", -1);
|
|
||||||
user_pref("extensions.databaseSchema", 36);
|
|
||||||
user_pref("extensions.dnr.lastStoreUpdateTag.5f25abbb-d076-4c4f-b285-9a0086d69305", "{e2bb2ba5-177d-4e83-a4bd-d36a45e9c92c}");
|
|
||||||
user_pref("extensions.getAddons.cache.lastUpdate", 1717476763);
|
|
||||||
user_pref("extensions.getAddons.databaseSchema", 6);
|
|
||||||
user_pref("extensions.lastAppBuildId", "20240527213814");
|
|
||||||
user_pref("extensions.lastAppVersion", "126.0.1");
|
|
||||||
user_pref("extensions.lastPlatformVersion", "126.0.1");
|
|
||||||
user_pref("extensions.pendingOperations", false);
|
|
||||||
user_pref("extensions.pictureinpicture.enable_picture_in_picture_overrides", true);
|
|
||||||
user_pref("extensions.quarantinedDomains.list", "autoatendimento.bb.com.br,ibpf.sicredi.com.br,ibpj.sicredi.com.br,internetbanking.caixa.gov.br,www.ib12.bradesco.com.br,www2.bancobrasil.com.br");
|
|
||||||
user_pref("extensions.systemAddonSet", "{\"schema\":1,\"addons\":{}}");
|
|
||||||
user_pref("extensions.translations.disabled", false);
|
|
||||||
user_pref("extensions.ui.dictionary.hidden", true);
|
|
||||||
user_pref("extensions.ui.extension.hidden", false);
|
|
||||||
user_pref("extensions.ui.lastCategory", "addons://list/extension");
|
|
||||||
user_pref("extensions.ui.locale.hidden", false);
|
|
||||||
user_pref("extensions.ui.sitepermission.hidden", true);
|
|
||||||
user_pref("extensions.webcompat.enable_shims", true);
|
|
||||||
user_pref("extensions.webcompat.perform_injections", true);
|
|
||||||
user_pref("extensions.webcompat.perform_ua_overrides", true);
|
|
||||||
user_pref("extensions.webextensions.ExtensionStorageIDB.migrated.7esoorv3@alefvanoon.anonaddy.me", true);
|
|
||||||
user_pref("extensions.webextensions.ExtensionStorageIDB.migrated.@testpilot-containers", true);
|
|
||||||
user_pref("extensions.webextensions.ExtensionStorageIDB.migrated.WebToEpub@Baka-tsuki.org", true);
|
|
||||||
user_pref("extensions.webextensions.ExtensionStorageIDB.migrated.clearcache@michel.de.almeida", true);
|
|
||||||
user_pref("extensions.webextensions.ExtensionStorageIDB.migrated.contact.nhentaidownloader@zirk.eu", true);
|
|
||||||
user_pref("extensions.webextensions.ExtensionStorageIDB.migrated.enhancerforyoutube@maximerf.addons.mozilla.org", true);
|
|
||||||
user_pref("extensions.webextensions.ExtensionStorageIDB.migrated.floccus@handmadeideas.org", true);
|
|
||||||
user_pref("extensions.webextensions.ExtensionStorageIDB.migrated.gdpr@cavi.au.dk", true);
|
|
||||||
user_pref("extensions.webextensions.ExtensionStorageIDB.migrated.languagetool-webextension@languagetool.org", true);
|
|
||||||
user_pref("extensions.webextensions.ExtensionStorageIDB.migrated.screenshots@mozilla.org", true);
|
|
||||||
user_pref("extensions.webextensions.ExtensionStorageIDB.migrated.search@kagi.com", true);
|
|
||||||
user_pref("extensions.webextensions.ExtensionStorageIDB.migrated.sponsorBlocker@ajay.app", true);
|
|
||||||
user_pref("extensions.webextensions.ExtensionStorageIDB.migrated.tridactyl.vim@cmcaine.co.uk", true);
|
|
||||||
user_pref("extensions.webextensions.ExtensionStorageIDB.migrated.uBlock0@raymondhill.net", true);
|
|
||||||
user_pref("extensions.webextensions.ExtensionStorageIDB.migrated.wayback_machine@mozilla.org", true);
|
|
||||||
user_pref("extensions.webextensions.ExtensionStorageIDB.migrated.{1be309c5-3e4f-4b99-927d-bb500eb4fa88}", true);
|
|
||||||
user_pref("extensions.webextensions.ExtensionStorageIDB.migrated.{446900e4-71c2-419f-a6a7-df9c091e268b}", true);
|
|
||||||
user_pref("extensions.webextensions.ExtensionStorageIDB.migrated.{762f9885-5a13-4abd-9c77-433dcd38b8fd}", true);
|
|
||||||
user_pref("extensions.webextensions.ExtensionStorageIDB.migrated.{a6c4a591-f1b2-4f03-b3ff-767e5bedf4e7}", true);
|
|
||||||
user_pref("extensions.webextensions.ExtensionStorageIDB.migrated.{e4a8a97b-f2ed-450b-b12d-ee082ba24781}", true);
|
|
||||||
user_pref("extensions.webextensions.ExtensionStorageIDB.migrated.{e58d3966-3d76-4cd9-8552-1582fbc800c1}", true);
|
|
||||||
user_pref("extensions.webextensions.uuids", "{\"formautofill@mozilla.org\":\"5a284c72-f65d-4cb7-a47a-dfbf48f804a1\",\"pictureinpicture@mozilla.org\":\"4a1c43d6-b945-4368-9573-558a5fc81d4f\",\"screenshots@mozilla.org\":\"ee97a718-8f28-4c39-81a6-991b485b9943\",\"webcompat-reporter@mozilla.org\":\"57c83f80-a1a8-4c98-a5c6-fa2365687f15\",\"webcompat@mozilla.org\":\"08f69277-7ddb-447d-a3c4-34a14f4b19a2\",\"default-theme@mozilla.org\":\"9b164090-e1da-43cb-8214-4a2c15516810\",\"addons-search-detection@mozilla.com\":\"d00c2b31-fa03-4594-8dfa-63266348fa91\",\"google@search.mozilla.org\":\"b2b9cde9-7495-4a1f-a5a5-25493e859a7c\",\"wikipedia@search.mozilla.org\":\"74a35fe8-13e6-4d18-b4bd-32d59f271587\",\"bing@search.mozilla.org\":\"6f1af1b9-310d-47e5-9abc-b640a5ea32b7\",\"ddg@search.mozilla.org\":\"07054b9a-dc51-4984-aefb-1dedbdf3b68c\",\"ebay@search.mozilla.org\":\"6f8e97f3-6609-43ef-9399-c905741a0f2b\",\"tridactyl.vim@cmcaine.co.uk\":\"2476b220-53a2-4175-a539-1bfabede41b7\",\"sponsorBlocker@ajay.app\":\"009d83bd-dd0c-48c1-9ff4-a8ccf60e78c5\",\"wayback_machine@mozilla.org\":\"e254a988-11f9-43de-95ed-5bcfb35c46a4\",\"{1be309c5-3e4f-4b99-927d-bb500eb4fa88}\":\"d1344d9c-6d78-46c4-a58e-6b967d85286f\",\"{e58d3966-3d76-4cd9-8552-1582fbc800c1}\":\"3cda5ae3-6d5c-404a-8d16-1703f0d99c55\",\"clearcache@michel.de.almeida\":\"922bb564-3645-4119-9cdb-38233b1f7e9e\",\"search@kagi.com\":\"5f25abbb-d076-4c4f-b285-9a0086d69305\",\"enhancerforyoutube@maximerf.addons.mozilla.org\":\"045ae8d5-33c7-48dc-9c49-a92e17a9e319\",\"uBlock0@raymondhill.net\":\"acc864fe-5b54-449e-b624-96903d6e403f\",\"{12cf650b-1822-40aa-bff0-996df6948878}\":\"e1cf7a8c-d7e9-4d1e-87ed-a5a3192a72b4\",\"@testpilot-containers\":\"3e1d108c-2678-4dbd-acc9-b6863f30f4c5\",\"WebToEpub@Baka-tsuki.org\":\"f6549b5b-eddf-4529-8968-2ed336ee2cf6\",\"gdpr@cavi.au.dk\":\"f66e0908-9382-487d-a1a0-4ffb3ba24a5e\",\"{a6c4a591-f1b2-4f03-b3ff-767e5bedf4e7}\":\"bea34374-9e4d-4696-aa53-01dc23e13a39\",\"7esoorv3@alefvanoon.anonaddy.me\":\"2f7f99c3-4b77-4c09-82b1-18891564832b\",\"{762f9885-5a13-4abd-9c77-433dcd38b8fd}\":\"490f89dd-dc51-4790-b4d7-33f95c815541\",\"{446900e4-71c2-419f-a6a7-df9c091e268b}\":\"dca6a399-8ae4-4dee-bff7-2f464c90409d\",\"languagetool-webextension@languagetool.org\":\"8ebe07a0-a41e-482a-8f6c-f9d615f422c8\",\"addons-restricted-domains@mozilla.com\":\"149dfabc-ace0-4035-85a5-5d09804c6df9\",\"floccus@handmadeideas.org\":\"60eae207-1578-4c4c-a4f4-524f7c570899\",\"contact.nhentaidownloader@zirk.eu\":\"31f7d26f-c849-4298-9255-6c8a91b60a19\",\"{e4a8a97b-f2ed-450b-b12d-ee082ba24781}\":\"5dcdc798-be6f-449b-b601-be4faef4b5b8\",\"firefox-compact-dark@mozilla.org\":\"637c47af-3149-47a9-a455-658b42d1f68a\",\"amazon@search.mozilla.org\":\"489a7a27-e845-4ffe-a3bb-aae51fc02db0\",\"qwant@search.mozilla.org\":\"28282d43-7227-478f-a0ae-d15df1ee61e1\"}");
|
|
||||||
user_pref("findbar.highlightAll", true);
|
|
||||||
user_pref("gecko.handlerService.defaultHandlersVersion", 1);
|
|
||||||
user_pref("general.smoothScroll", false);
|
|
||||||
user_pref("identity.fxaccounts.account.device.name", "marc’s Firefox on lupusregina");
|
|
||||||
user_pref("identity.fxaccounts.account.telemetry.sanitized_uid", "7d43bb2e98e00c17c235782ba1e87861");
|
|
||||||
user_pref("identity.fxaccounts.commands.missed.last_fetch", 1717439394);
|
|
||||||
user_pref("identity.fxaccounts.lastSignedInUserHash", "WOuDey3lDC6Fz01LOxx4O9rXzUcqVqYQ6s3ELNeHdTM=");
|
|
||||||
user_pref("identity.fxaccounts.toolbar.accessed", true);
|
|
||||||
user_pref("idle.lastDailyNotification", 1717440752);
|
|
||||||
user_pref("image.jxl.enabled", true);
|
|
||||||
user_pref("intl.accept_languages", "en-us,en,de-ch,de");
|
|
||||||
user_pref("intl.locale.requested", "en-US,de-CH");
|
|
||||||
user_pref("intl.regional_prefs.use_os_locales", true);
|
|
||||||
user_pref("media.eme.enabled", true);
|
|
||||||
user_pref("media.ffmpeg.vaapi.enabled", true);
|
|
||||||
user_pref("media.gmp-gmpopenh264.abi", "x86_64-gcc3");
|
|
||||||
user_pref("media.gmp-gmpopenh264.hashValue", "53a58bfb4c8124ad4f7655b99bfdea290033a085e0796b19245b33b91c0948fdac9f0c3e817130b352493a65d9a7a0fc8a7c1eedc618cdaa2b4580734a11cd9c");
|
|
||||||
user_pref("media.gmp-gmpopenh264.lastDownload", 1715966279);
|
|
||||||
user_pref("media.gmp-gmpopenh264.lastDownloadFailReason", "Error: Failed downloading via ServiceRequest, status: 0, channelStatus: 2152398878, errorCode: 2, reason: error");
|
|
||||||
user_pref("media.gmp-gmpopenh264.lastDownloadFailed", 1714378993);
|
|
||||||
user_pref("media.gmp-gmpopenh264.lastInstallStart", 1715966278);
|
|
||||||
user_pref("media.gmp-gmpopenh264.lastUpdate", 1715966279);
|
|
||||||
user_pref("media.gmp-gmpopenh264.version", "2.3.2");
|
|
||||||
user_pref("media.gmp-manager.buildID", "20240527213814");
|
|
||||||
user_pref("media.gmp-manager.lastCheck", 1717443744);
|
|
||||||
user_pref("media.gmp-manager.lastEmptyCheck", 1717443744);
|
|
||||||
user_pref("media.gmp-widevinecdm.abi", "x86_64-gcc3");
|
|
||||||
user_pref("media.gmp-widevinecdm.hashValue", "661ad969099a89a278384f56a17ae912c3542d585ea4981f3b9a3c6e1a07f8da6ffad9db29cee194bf7834adc3ca258c775cd2b0980e3e6cb7ee8b39600dad58");
|
|
||||||
user_pref("media.gmp-widevinecdm.lastDownload", 1697973759);
|
|
||||||
user_pref("media.gmp-widevinecdm.lastDownloadFailReason", "Error: Failed downloading via ServiceRequest, status: 0, channelStatus: 2152398862, errorCode: 2, reason: error");
|
|
||||||
user_pref("media.gmp-widevinecdm.lastDownloadFailed", 1699892247);
|
|
||||||
user_pref("media.gmp-widevinecdm.lastInstallStart", 1699892156);
|
|
||||||
user_pref("media.gmp-widevinecdm.lastUpdate", 1697973759);
|
|
||||||
user_pref("media.gmp-widevinecdm.version", "4.10.2710.0");
|
|
||||||
user_pref("media.gmp.storage.version.observed", 1);
|
|
||||||
user_pref("media.videocontrols.picture-in-picture.video-toggle.first-seen-secs", 1688477430);
|
|
||||||
user_pref("media.videocontrols.picture-in-picture.video-toggle.has-used", true);
|
|
||||||
user_pref("media.webspeech.synth.dont_notify_on_error", true);
|
|
||||||
user_pref("memory.phc.enabled", true);
|
|
||||||
user_pref("network.dns.disablePrefetch", true);
|
|
||||||
user_pref("network.http.referer.disallowCrossSiteRelaxingDefault.top_navigation", true);
|
|
||||||
user_pref("network.http.speculative-parallel-limit", 0);
|
|
||||||
user_pref("network.predictor.enabled", false);
|
|
||||||
user_pref("network.prefetch-next", false);
|
|
||||||
user_pref("network.trr.mode", 5);
|
|
||||||
user_pref("nimbus.syncdatastore.firefoxViewNext", "{\"slug\":\"firefox-view-update-experiment\",\"branch\":{\"slug\":\"new-icon-new-experience\",\"ratio\":1,\"feature\":{\"value\":null,\"enabled\":true,\"featureId\":\"firefoxViewNext\"},\"features\":null},\"active\":true,\"enrollmentId\":\"25d48961-ca57-4dea-91d6-d7d9ef6ad33c\",\"experimentType\":\"nimbus\",\"source\":\"rs-loader\",\"userFacingName\":\"Firefox View Update Experiment\",\"userFacingDescription\":\"We are updating the Firefox View icon and surface with features like - Recent browsing, Opened tabs, Recently closed tabs, and Tabs from other devices.\",\"lastSeen\":\"2023-10-29T14:50:37.077Z\",\"featureIds\":[\"firefoxViewNext\"],\"prefs\":[],\"isRollout\":false}");
|
|
||||||
user_pref("nimbus.syncdatastore.firefoxViewNext.enabled", true);
|
|
||||||
user_pref("nimbus.syncdatastore.firefoxViewNext.newIcon", true);
|
|
||||||
user_pref("nimbus.syncdefaultsstore.accessibilityCache", "{\"slug\":\"next-generation-accessibility-engine-powering-screen-readers\",\"branch\":{\"slug\":\"treatment-a\",\"ratio\":1,\"feature\":{\"value\":null,\"enabled\":true,\"featureId\":\"accessibilityCache\"},\"features\":null},\"active\":true,\"enrollmentId\":\"35b9b41f-9d05-4401-8279-3f120be5e72a\",\"experimentType\":\"rollout\",\"source\":\"rs-loader\",\"userFacingName\":\"Next generation accessibility engine powering screen readers\",\"userFacingDescription\":\"Evaluating a major re-architecture of Firefox's accessibility engine to improve performance of screen readers and other assistive technologies.\",\"lastSeen\":\"2023-07-04T13:10:56.503Z\",\"featureIds\":[\"accessibilityCache\"],\"prefs\":[{\"name\":\"accessibility.cache.enabled\",\"branch\":\"user\",\"featureId\":\"accessibilityCache\",\"variable\":\"enabled\",\"originalValue\":null}],\"isRollout\":true}");
|
|
||||||
user_pref("nimbus.syncdefaultsstore.accessibilityCache.enabled", true);
|
|
||||||
user_pref("nimbus.syncdefaultsstore.fxaButtonVisibility", "{\"slug\":\"mozillaaccounts-toolbar-button-default-visibility-existing-user\",\"branch\":{\"slug\":\"treatment-a\",\"ratio\":1,\"feature\":{\"value\":null,\"enabled\":true,\"featureId\":\"fxaButtonVisibility\"},\"features\":null},\"active\":true,\"enrollmentId\":\"21176b46-ec08-4f5b-a371-4022844333ed\",\"experimentType\":\"rollout\",\"source\":\"rs-loader\",\"userFacingName\":\"MozillaAccounts toolbar button default visibility rollout\",\"userFacingDescription\":\"This experiment measures the impact of showing the Firefox Accounts toolbar button by default for signed-out users.\",\"lastSeen\":\"2023-12-12T06:26:19.832Z\",\"featureIds\":[\"fxaButtonVisibility\"],\"prefs\":[{\"name\":\"identity.fxaccounts.toolbar.defaultVisible\",\"branch\":\"user\",\"featureId\":\"fxaButtonVisibility\",\"variable\":\"boolean\",\"originalValue\":null}],\"isRollout\":true}");
|
|
||||||
user_pref("nimbus.syncdefaultsstore.fxaButtonVisibility.boolean", true);
|
|
||||||
user_pref("nimbus.syncdefaultsstore.migrationWizard", "{\"slug\":\"extensions-migration-in-import-wizard-116-rollout\",\"branch\":{\"slug\":\"control\",\"ratio\":1,\"feature\":{\"value\":null,\"enabled\":true,\"featureId\":\"migrationWizard\"},\"features\":null},\"active\":true,\"enrollmentId\":\"b52ff5c2-4f7b-4266-a44a-871d23d2c7d8\",\"experimentType\":\"rollout\",\"source\":\"rs-loader\",\"userFacingName\":\"Extensions Migration in Import Wizard - 117+\",\"userFacingDescription\":\"This rollout makes extension migration available to users migrating from Chrome to Firefox.\",\"lastSeen\":\"2023-09-12T14:45:10.580Z\",\"featureIds\":[\"migrationWizard\"],\"prefs\":[{\"name\":\"browser.migrate.content-modal.enabled\",\"branch\":\"user\",\"featureId\":\"migrationWizard\",\"variable\":\"useNewWizard\",\"originalValue\":null},{\"name\":\"browser.migrate.content-modal.import-all.enabled\",\"branch\":\"user\",\"featureId\":\"migrationWizard\",\"variable\":\"showImportAll\",\"originalValue\":null},{\"name\":\"browser.migrate.chrome.extensions.enabled\",\"branch\":\"user\",\"featureId\":\"migrationWizard\",\"variable\":\"migrateExtensions\",\"originalValue\":null},{\"name\":\"browser.migrate.preferences-entrypoint.enabled\",\"branch\":\"user\",\"featureId\":\"migrationWizard\",\"variable\":\"showPreferencesEntrypoint\",\"originalValue\":null}],\"isRollout\":true}");
|
|
||||||
user_pref("nimbus.syncdefaultsstore.migrationWizard.migrateExtensions", true);
|
|
||||||
user_pref("nimbus.syncdefaultsstore.migrationWizard.showImportAll", true);
|
|
||||||
user_pref("nimbus.syncdefaultsstore.migrationWizard.showPreferencesEntrypoint", true);
|
|
||||||
user_pref("nimbus.syncdefaultsstore.migrationWizard.useNewWizard", true);
|
|
||||||
user_pref("nimbus.syncdefaultsstore.phc", "{\"slug\":\"phc-rollout\",\"branch\":{\"slug\":\"rollout\",\"ratio\":1,\"feature\":{\"value\":null,\"enabled\":true,\"featureId\":\"phc\"},\"features\":null},\"active\":true,\"experimentType\":\"rollout\",\"source\":\"rs-loader\",\"userFacingName\":\"PHC Rollout\",\"userFacingDescription\":\"Roll out the Probabilistic Heap Checker in Firefox Release.\",\"lastSeen\":\"2024-03-15T19:19:54.320Z\",\"featureIds\":[\"phc\"],\"prefs\":[{\"name\":\"memory.phc.enabled\",\"branch\":\"user\",\"featureId\":\"phc\",\"variable\":\"phcEnabled\",\"originalValue\":null}],\"isRollout\":true}");
|
|
||||||
user_pref("nimbus.syncdefaultsstore.phc.phcEnabled", true);
|
|
||||||
user_pref("nimbus.syncdefaultsstore.upgradeDialog", "{\"slug\":\"upgrade-spotlight-rollout\",\"branch\":{\"slug\":\"treatment\",\"ratio\":1,\"feature\":{\"value\":null,\"enabled\":true,\"featureId\":\"upgradeDialog\"},\"features\":null},\"active\":true,\"enrollmentId\":\"72b20271-ded8-4e8f-ace6-4a0449d394b4\",\"experimentType\":\"rollout\",\"source\":\"rs-loader\",\"userFacingName\":\"Upgrade Spotlight Rollout\",\"userFacingDescription\":\"Experimenting on onboarding content when you upgrade Firefox.\",\"lastSeen\":\"2023-09-01T17:52:24.702Z\",\"featureIds\":[\"upgradeDialog\"],\"prefs\":[],\"isRollout\":true}");
|
|
||||||
user_pref("nimbus.syncdefaultsstore.upgradeDialog.enabled", false);
|
|
||||||
user_pref("pdfjs.enabledCache.state", true);
|
|
||||||
user_pref("pdfjs.migrationVersion", 2);
|
|
||||||
user_pref("places.database.lastMaintenance", 1717266314);
|
|
||||||
user_pref("pref.general.disable_button.default_browser", false);
|
|
||||||
user_pref("pref.privacy.disable_button.cookie_exceptions", false);
|
|
||||||
user_pref("print_printer", "Mozilla Save to PDF");
|
|
||||||
user_pref("privacy.annotate_channels.strict_list.enabled", true);
|
|
||||||
user_pref("privacy.clearOnShutdown.offlineApps", true);
|
|
||||||
user_pref("privacy.donottrackheader.enabled", true);
|
|
||||||
user_pref("privacy.fingerprintingProtection", true);
|
|
||||||
user_pref("privacy.history.custom", true);
|
|
||||||
user_pref("privacy.purge_trackers.date_in_cookie_database", "0");
|
|
||||||
user_pref("privacy.query_stripping.enabled", true);
|
|
||||||
user_pref("privacy.query_stripping.enabled.pbmode", true);
|
|
||||||
user_pref("privacy.sanitize.pending", "[]");
|
|
||||||
user_pref("privacy.sanitize.sanitizeOnShutdown", true);
|
|
||||||
user_pref("privacy.trackingprotection.emailtracking.enabled", true);
|
|
||||||
user_pref("privacy.trackingprotection.enabled", true);
|
|
||||||
user_pref("privacy.trackingprotection.socialtracking.enabled", true);
|
|
||||||
user_pref("privacy.userContext.enabled", true);
|
|
||||||
user_pref("privacy.userContext.extension", "@testpilot-containers");
|
|
||||||
user_pref("privacy.userContext.ui.enabled", true);
|
|
||||||
user_pref("security.disable_button.openCertManager", false);
|
|
||||||
user_pref("security.sandbox.content.tempDirSuffix", "0ec89991-bbb0-4f09-a47f-db3033d66f09");
|
|
||||||
user_pref("services.settings.blocklists.addons-bloomfilters.last_check", 1717477300);
|
|
||||||
user_pref("services.settings.blocklists.gfx.last_check", 1717477300);
|
|
||||||
user_pref("services.settings.clock_skew_seconds", 0);
|
|
||||||
user_pref("services.settings.last_etag", "\"1717477032144\"");
|
|
||||||
user_pref("services.settings.last_update_seconds", 1717480905);
|
|
||||||
user_pref("services.settings.main.addons-manager-settings.last_check", 1717477300);
|
|
||||||
user_pref("services.settings.main.anti-tracking-url-decoration.last_check", 1717477300);
|
|
||||||
user_pref("services.settings.main.cfr.last_check", 1717477300);
|
|
||||||
user_pref("services.settings.main.cookie-banner-rules-list.last_check", 1717477300);
|
|
||||||
user_pref("services.settings.main.devtools-compatibility-browsers.last_check", 1717477300);
|
|
||||||
user_pref("services.settings.main.devtools-devices.last_check", 1717477300);
|
|
||||||
user_pref("services.settings.main.doh-config.last_check", 1717477300);
|
|
||||||
user_pref("services.settings.main.doh-providers.last_check", 1717477300);
|
|
||||||
user_pref("services.settings.main.fingerprinting-protection-overrides.last_check", 1717477300);
|
|
||||||
user_pref("services.settings.main.fxmonitor-breaches.last_check", 1717477300);
|
|
||||||
user_pref("services.settings.main.hijack-blocklists.last_check", 1717477300);
|
|
||||||
user_pref("services.settings.main.language-dictionaries.last_check", 1717477300);
|
|
||||||
user_pref("services.settings.main.message-groups.last_check", 1717477300);
|
|
||||||
user_pref("services.settings.main.nimbus-desktop-experiments.last_check", 1717477300);
|
|
||||||
user_pref("services.settings.main.normandy-recipes-capabilities.last_check", 1717477300);
|
|
||||||
user_pref("services.settings.main.partitioning-exempt-urls.last_check", 1717477300);
|
|
||||||
user_pref("services.settings.main.password-recipes.last_check", 1717477300);
|
|
||||||
user_pref("services.settings.main.password-rules.last_check", 1717477300);
|
|
||||||
user_pref("services.settings.main.pioneer-study-addons-v1.last_check", 1717477300);
|
|
||||||
user_pref("services.settings.main.public-suffix-list.last_check", 1717477300);
|
|
||||||
user_pref("services.settings.main.query-stripping.last_check", 1717477300);
|
|
||||||
user_pref("services.settings.main.search-config-icons.last_check", 1717477300);
|
|
||||||
user_pref("services.settings.main.search-config-overrides-v2.last_check", 1717477300);
|
|
||||||
user_pref("services.settings.main.search-config-overrides.last_check", 1717477300);
|
|
||||||
user_pref("services.settings.main.search-config-v2.last_check", 1717477300);
|
|
||||||
user_pref("services.settings.main.search-config.last_check", 1717477300);
|
|
||||||
user_pref("services.settings.main.search-default-override-allowlist.last_check", 1717477300);
|
|
||||||
user_pref("services.settings.main.search-telemetry-v2.last_check", 1717477300);
|
|
||||||
user_pref("services.settings.main.sites-classification.last_check", 1717477300);
|
|
||||||
user_pref("services.settings.main.tippytop.last_check", 1717477300);
|
|
||||||
user_pref("services.settings.main.top-sites.last_check", 1717477300);
|
|
||||||
user_pref("services.settings.main.translations-identification-models.last_check", 1717477300);
|
|
||||||
user_pref("services.settings.main.translations-models.last_check", 1717477300);
|
|
||||||
user_pref("services.settings.main.translations-wasm.last_check", 1717477300);
|
|
||||||
user_pref("services.settings.main.url-classifier-skip-urls.last_check", 1717477300);
|
|
||||||
user_pref("services.settings.main.websites-with-shared-credential-backends.last_check", 1717477300);
|
|
||||||
user_pref("services.settings.main.whats-new-panel.last_check", 1717477300);
|
|
||||||
user_pref("services.settings.security-state.cert-revocations.last_check", 1717477300);
|
|
||||||
user_pref("services.settings.security-state.intermediates.last_check", 1717477300);
|
|
||||||
user_pref("services.settings.security-state.onecrl.last_check", 1717477300);
|
|
||||||
user_pref("services.sync.addons.lastSync", "1716403410.22");
|
|
||||||
user_pref("services.sync.addons.syncID", "L7k31iPXEMk6");
|
|
||||||
user_pref("services.sync.addresses.lastSync", "0");
|
|
||||||
user_pref("services.sync.addresses.syncID", "K1UPMHJ4W0vv");
|
|
||||||
user_pref("services.sync.client.GUID", "Q6SQRH7f1es-");
|
|
||||||
user_pref("services.sync.client.syncID", "MtJM9DyW2j2m");
|
|
||||||
user_pref("services.sync.clients.devices.desktop", 1);
|
|
||||||
user_pref("services.sync.clients.devices.mobile", 1);
|
|
||||||
user_pref("services.sync.clients.lastRecordUpload", 1717476767);
|
|
||||||
user_pref("services.sync.clients.lastSync", "1717476767.77");
|
|
||||||
user_pref("services.sync.clients.syncID", "-UKRQIkr1Rru");
|
|
||||||
user_pref("services.sync.creditcards.lastSync", "0");
|
|
||||||
user_pref("services.sync.creditcards.syncID", "yp8F-l4YaopB");
|
|
||||||
user_pref("services.sync.declinedEngines", "forms,tabs,history,bookmarks,passwords");
|
|
||||||
user_pref("services.sync.deletePwdFxA", true);
|
|
||||||
user_pref("services.sync.engine.addresses", true);
|
|
||||||
user_pref("services.sync.engine.bookmarks", false);
|
|
||||||
user_pref("services.sync.engine.creditcards", true);
|
|
||||||
user_pref("services.sync.engine.history", false);
|
|
||||||
user_pref("services.sync.engine.passwords", false);
|
|
||||||
user_pref("services.sync.engine.prefs.modified", false);
|
|
||||||
user_pref("services.sync.engine.tabs", false);
|
|
||||||
user_pref("services.sync.forms.lastSync", "0");
|
|
||||||
user_pref("services.sync.globalScore", 0);
|
|
||||||
user_pref("services.sync.lastPing", 1717438791);
|
|
||||||
user_pref("services.sync.lastSync", "Tue Jun 04 2024 08:41:45 GMT+0200 (Mitteleuropäische Sommerzeit)");
|
|
||||||
user_pref("services.sync.nextSync", 0);
|
|
||||||
user_pref("services.sync.prefs.lastSync", "1709331604.60");
|
|
||||||
user_pref("services.sync.prefs.sync-seen.browser.contentblocking.category", true);
|
|
||||||
user_pref("services.sync.prefs.sync-seen.browser.firefox-view.feature-tour", true);
|
|
||||||
user_pref("services.sync.prefs.sync-seen.browser.newtabpage.activity-stream.feeds.section.topstories", true);
|
|
||||||
user_pref("services.sync.prefs.sync-seen.browser.newtabpage.activity-stream.feeds.topsites", true);
|
|
||||||
user_pref("services.sync.prefs.sync-seen.browser.newtabpage.activity-stream.section.highlights.includePocket", true);
|
|
||||||
user_pref("services.sync.prefs.sync-seen.browser.newtabpage.activity-stream.showSponsoredTopSites", true);
|
|
||||||
user_pref("services.sync.prefs.sync-seen.browser.newtabpage.pinned", true);
|
|
||||||
user_pref("services.sync.prefs.sync-seen.browser.pdfjs.feature-tour", true);
|
|
||||||
user_pref("services.sync.prefs.sync-seen.browser.safebrowsing.malware.enabled", true);
|
|
||||||
user_pref("services.sync.prefs.sync-seen.browser.safebrowsing.phishing.enabled", true);
|
|
||||||
user_pref("services.sync.prefs.sync-seen.browser.startup.homepage", true);
|
|
||||||
user_pref("services.sync.prefs.sync-seen.dom.security.https_only_mode", true);
|
|
||||||
user_pref("services.sync.prefs.sync-seen.dom.security.https_only_mode_ever_enabled", true);
|
|
||||||
user_pref("services.sync.prefs.sync-seen.extensions.activeThemeID", true);
|
|
||||||
user_pref("services.sync.prefs.sync-seen.general.autoScroll", true);
|
|
||||||
user_pref("services.sync.prefs.sync-seen.general.smoothScroll", true);
|
|
||||||
user_pref("services.sync.prefs.sync-seen.intl.accept_languages", true);
|
|
||||||
user_pref("services.sync.prefs.sync-seen.intl.regional_prefs.use_os_locales", true);
|
|
||||||
user_pref("services.sync.prefs.sync-seen.media.eme.enabled", true);
|
|
||||||
user_pref("services.sync.prefs.sync-seen.pref.privacy.disable_button.cookie_exceptions", true);
|
|
||||||
user_pref("services.sync.prefs.sync-seen.privacy.clearOnShutdown.offlineApps", true);
|
|
||||||
user_pref("services.sync.prefs.sync-seen.privacy.donottrackheader.enabled", true);
|
|
||||||
user_pref("services.sync.prefs.sync-seen.privacy.sanitize.sanitizeOnShutdown", true);
|
|
||||||
user_pref("services.sync.prefs.sync-seen.privacy.trackingprotection.enabled", true);
|
|
||||||
user_pref("services.sync.prefs.sync-seen.privacy.userContext.enabled", true);
|
|
||||||
user_pref("services.sync.prefs.sync-seen.signon.rememberSignons", true);
|
|
||||||
user_pref("services.sync.prefs.syncID", "SMCLZI5bvGCx");
|
|
||||||
user_pref("services.sync.syncInterval", 600000);
|
|
||||||
user_pref("services.sync.syncThreshold", 300);
|
|
||||||
user_pref("services.sync.username", "mrc@frm01.net");
|
|
||||||
user_pref("signon.rememberSignons", false);
|
|
||||||
user_pref("storage.vacuum.last.content-prefs.sqlite", 1716401173);
|
|
||||||
user_pref("storage.vacuum.last.index", 2);
|
|
||||||
user_pref("storage.vacuum.last.places.sqlite", 1716313391);
|
|
||||||
user_pref("svg.context-properties.content.enabled", true);
|
|
||||||
user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", true);
|
|
||||||
user_pref("toolkit.startup.last_success", 1717476760);
|
|
||||||
user_pref("toolkit.telemetry.cachedClientID", "4667ece1-0d96-427c-9c16-a09251099634");
|
|
||||||
user_pref("toolkit.telemetry.pioneer-new-studies-available", true);
|
|
||||||
user_pref("toolkit.telemetry.previousBuildID", "20240527213814");
|
|
||||||
user_pref("toolkit.telemetry.reportingpolicy.firstRun", false);
|
|
||||||
user_pref("trailhead.firstrun.didSeeAboutWelcome", true);
|
|
||||||
user_pref("userChrome.compatibility.os", true);
|
|
||||||
user_pref("userChrome.compatibility.theme", true);
|
|
||||||
user_pref("userChrome.decoration.animate", true);
|
|
||||||
user_pref("userChrome.decoration.cursor", true);
|
|
||||||
user_pref("userChrome.decoration.download_panel", true);
|
|
||||||
user_pref("userChrome.decoration.field_border", true);
|
|
||||||
user_pref("userChrome.fullscreen.overlap", true);
|
|
||||||
user_pref("userChrome.fullscreen.show_bookmarkbar", true);
|
|
||||||
user_pref("userChrome.icon.1-25px_stroke", true);
|
|
||||||
user_pref("userChrome.icon.context_menu", true);
|
|
||||||
user_pref("userChrome.icon.global_menu", true);
|
|
||||||
user_pref("userChrome.icon.global_menubar", true);
|
|
||||||
user_pref("userChrome.icon.library", true);
|
|
||||||
user_pref("userChrome.icon.menu", true);
|
|
||||||
user_pref("userChrome.icon.panel", true);
|
|
||||||
user_pref("userChrome.icon.panel_full", false);
|
|
||||||
user_pref("userChrome.icon.panel_photon", true);
|
|
||||||
user_pref("userChrome.padding.bookmark_menu", true);
|
|
||||||
user_pref("userChrome.padding.bookmarkbar", true);
|
|
||||||
user_pref("userChrome.padding.global_menubar", true);
|
|
||||||
user_pref("userChrome.padding.infobar", true);
|
|
||||||
user_pref("userChrome.padding.menu", true);
|
|
||||||
user_pref("userChrome.padding.navbar_width", true);
|
|
||||||
user_pref("userChrome.padding.panel", true);
|
|
||||||
user_pref("userChrome.padding.popup_panel", true);
|
|
||||||
user_pref("userChrome.padding.tabbar_height", true);
|
|
||||||
user_pref("userChrome.padding.tabbar_width", true);
|
|
||||||
user_pref("userChrome.padding.toolbar_button", true);
|
|
||||||
user_pref("userChrome.padding.urlbar", true);
|
|
||||||
user_pref("userChrome.rounding.square_tab", true);
|
|
||||||
user_pref("userChrome.tab.bar_separator", false);
|
|
||||||
user_pref("userChrome.tab.bottom_rounded_corner", false);
|
|
||||||
user_pref("userChrome.tab.box_shadow", false);
|
|
||||||
user_pref("userChrome.tab.close_button_at_hover", true);
|
|
||||||
user_pref("userChrome.tab.color_like_toolbar", true);
|
|
||||||
user_pref("userChrome.tab.connect_to_window", true);
|
|
||||||
user_pref("userChrome.tab.container", true);
|
|
||||||
user_pref("userChrome.tab.crashed", true);
|
|
||||||
user_pref("userChrome.tab.dynamic_separator", false);
|
|
||||||
user_pref("userChrome.tab.lepton_like_padding", false);
|
|
||||||
user_pref("userChrome.tab.letters_cleary", true);
|
|
||||||
user_pref("userChrome.tab.multi_selected", true);
|
|
||||||
user_pref("userChrome.tab.newtab_button_like_tab", false);
|
|
||||||
user_pref("userChrome.tab.newtab_button_proton", false);
|
|
||||||
user_pref("userChrome.tab.newtab_button_smaller", true);
|
|
||||||
user_pref("userChrome.tab.photon_like_contextline", true);
|
|
||||||
user_pref("userChrome.tab.photon_like_padding", true);
|
|
||||||
user_pref("userChrome.tab.pip", true);
|
|
||||||
user_pref("userChrome.tab.sound_hide_label", true);
|
|
||||||
user_pref("userChrome.tab.sound_with_favicons", true);
|
|
||||||
user_pref("userChrome.tab.static_separator", true);
|
|
||||||
user_pref("userChrome.tab.static_separator.selected_accent", false);
|
|
||||||
user_pref("userChrome.tab.unloaded", true);
|
|
||||||
user_pref("userChrome.theme.built_in_contrast", true);
|
|
||||||
user_pref("userChrome.theme.fully_color", true);
|
|
||||||
user_pref("userChrome.theme.fully_dark", true);
|
|
||||||
user_pref("userChrome.theme.proton_chrome", true);
|
|
||||||
user_pref("userChrome.theme.proton_color", true);
|
|
||||||
user_pref("userChrome.theme.system_default", true);
|
|
||||||
user_pref("userContent.newTab.animate", true);
|
|
||||||
user_pref("userContent.newTab.full_icon", true);
|
|
||||||
user_pref("userContent.newTab.pocket_to_last", true);
|
|
||||||
user_pref("userContent.newTab.searchbar", true);
|
|
||||||
user_pref("userContent.page.dark_mode", true);
|
|
||||||
user_pref("userContent.page.field_border", true);
|
|
||||||
user_pref("userContent.page.illustration", true);
|
|
||||||
user_pref("userContent.page.proton", true);
|
|
||||||
user_pref("userContent.page.proton_color", true);
|
|
||||||
user_pref("userContent.player.animate", true);
|
|
||||||
user_pref("userContent.player.click_to_play", true);
|
|
||||||
user_pref("userContent.player.icon", true);
|
|
||||||
user_pref("userContent.player.noaudio", true);
|
|
||||||
user_pref("userContent.player.size", true);
|
|
||||||
user_pref("userContent.player.ui", true);
|
|
@ -1,674 +0,0 @@
|
|||||||
GNU GENERAL PUBLIC LICENSE
|
|
||||||
Version 3, 29 June 2007
|
|
||||||
|
|
||||||
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
|
||||||
Everyone is permitted to copy and distribute verbatim copies
|
|
||||||
of this license document, but changing it is not allowed.
|
|
||||||
|
|
||||||
Preamble
|
|
||||||
|
|
||||||
The GNU General Public License is a free, copyleft license for
|
|
||||||
software and other kinds of works.
|
|
||||||
|
|
||||||
The licenses for most software and other practical works are designed
|
|
||||||
to take away your freedom to share and change the works. By contrast,
|
|
||||||
the GNU General Public License is intended to guarantee your freedom to
|
|
||||||
share and change all versions of a program--to make sure it remains free
|
|
||||||
software for all its users. We, the Free Software Foundation, use the
|
|
||||||
GNU General Public License for most of our software; it applies also to
|
|
||||||
any other work released this way by its authors. You can apply it to
|
|
||||||
your programs, too.
|
|
||||||
|
|
||||||
When we speak of free software, we are referring to freedom, not
|
|
||||||
price. Our General Public Licenses are designed to make sure that you
|
|
||||||
have the freedom to distribute copies of free software (and charge for
|
|
||||||
them if you wish), that you receive source code or can get it if you
|
|
||||||
want it, that you can change the software or use pieces of it in new
|
|
||||||
free programs, and that you know you can do these things.
|
|
||||||
|
|
||||||
To protect your rights, we need to prevent others from denying you
|
|
||||||
these rights or asking you to surrender the rights. Therefore, you have
|
|
||||||
certain responsibilities if you distribute copies of the software, or if
|
|
||||||
you modify it: responsibilities to respect the freedom of others.
|
|
||||||
|
|
||||||
For example, if you distribute copies of such a program, whether
|
|
||||||
gratis or for a fee, you must pass on to the recipients the same
|
|
||||||
freedoms that you received. You must make sure that they, too, receive
|
|
||||||
or can get the source code. And you must show them these terms so they
|
|
||||||
know their rights.
|
|
||||||
|
|
||||||
Developers that use the GNU GPL protect your rights with two steps:
|
|
||||||
(1) assert copyright on the software, and (2) offer you this License
|
|
||||||
giving you legal permission to copy, distribute and/or modify it.
|
|
||||||
|
|
||||||
For the developers' and authors' protection, the GPL clearly explains
|
|
||||||
that there is no warranty for this free software. For both users' and
|
|
||||||
authors' sake, the GPL requires that modified versions be marked as
|
|
||||||
changed, so that their problems will not be attributed erroneously to
|
|
||||||
authors of previous versions.
|
|
||||||
|
|
||||||
Some devices are designed to deny users access to install or run
|
|
||||||
modified versions of the software inside them, although the manufacturer
|
|
||||||
can do so. This is fundamentally incompatible with the aim of
|
|
||||||
protecting users' freedom to change the software. The systematic
|
|
||||||
pattern of such abuse occurs in the area of products for individuals to
|
|
||||||
use, which is precisely where it is most unacceptable. Therefore, we
|
|
||||||
have designed this version of the GPL to prohibit the practice for those
|
|
||||||
products. If such problems arise substantially in other domains, we
|
|
||||||
stand ready to extend this provision to those domains in future versions
|
|
||||||
of the GPL, as needed to protect the freedom of users.
|
|
||||||
|
|
||||||
Finally, every program is threatened constantly by software patents.
|
|
||||||
States should not allow patents to restrict development and use of
|
|
||||||
software on general-purpose computers, but in those that do, we wish to
|
|
||||||
avoid the special danger that patents applied to a free program could
|
|
||||||
make it effectively proprietary. To prevent this, the GPL assures that
|
|
||||||
patents cannot be used to render the program non-free.
|
|
||||||
|
|
||||||
The precise terms and conditions for copying, distribution and
|
|
||||||
modification follow.
|
|
||||||
|
|
||||||
TERMS AND CONDITIONS
|
|
||||||
|
|
||||||
0. Definitions.
|
|
||||||
|
|
||||||
"This License" refers to version 3 of the GNU General Public License.
|
|
||||||
|
|
||||||
"Copyright" also means copyright-like laws that apply to other kinds of
|
|
||||||
works, such as semiconductor masks.
|
|
||||||
|
|
||||||
"The Program" refers to any copyrightable work licensed under this
|
|
||||||
License. Each licensee is addressed as "you". "Licensees" and
|
|
||||||
"recipients" may be individuals or organizations.
|
|
||||||
|
|
||||||
To "modify" a work means to copy from or adapt all or part of the work
|
|
||||||
in a fashion requiring copyright permission, other than the making of an
|
|
||||||
exact copy. The resulting work is called a "modified version" of the
|
|
||||||
earlier work or a work "based on" the earlier work.
|
|
||||||
|
|
||||||
A "covered work" means either the unmodified Program or a work based
|
|
||||||
on the Program.
|
|
||||||
|
|
||||||
To "propagate" a work means to do anything with it that, without
|
|
||||||
permission, would make you directly or secondarily liable for
|
|
||||||
infringement under applicable copyright law, except executing it on a
|
|
||||||
computer or modifying a private copy. Propagation includes copying,
|
|
||||||
distribution (with or without modification), making available to the
|
|
||||||
public, and in some countries other activities as well.
|
|
||||||
|
|
||||||
To "convey" a work means any kind of propagation that enables other
|
|
||||||
parties to make or receive copies. Mere interaction with a user through
|
|
||||||
a computer network, with no transfer of a copy, is not conveying.
|
|
||||||
|
|
||||||
An interactive user interface displays "Appropriate Legal Notices"
|
|
||||||
to the extent that it includes a convenient and prominently visible
|
|
||||||
feature that (1) displays an appropriate copyright notice, and (2)
|
|
||||||
tells the user that there is no warranty for the work (except to the
|
|
||||||
extent that warranties are provided), that licensees may convey the
|
|
||||||
work under this License, and how to view a copy of this License. If
|
|
||||||
the interface presents a list of user commands or options, such as a
|
|
||||||
menu, a prominent item in the list meets this criterion.
|
|
||||||
|
|
||||||
1. Source Code.
|
|
||||||
|
|
||||||
The "source code" for a work means the preferred form of the work
|
|
||||||
for making modifications to it. "Object code" means any non-source
|
|
||||||
form of a work.
|
|
||||||
|
|
||||||
A "Standard Interface" means an interface that either is an official
|
|
||||||
standard defined by a recognized standards body, or, in the case of
|
|
||||||
interfaces specified for a particular programming language, one that
|
|
||||||
is widely used among developers working in that language.
|
|
||||||
|
|
||||||
The "System Libraries" of an executable work include anything, other
|
|
||||||
than the work as a whole, that (a) is included in the normal form of
|
|
||||||
packaging a Major Component, but which is not part of that Major
|
|
||||||
Component, and (b) serves only to enable use of the work with that
|
|
||||||
Major Component, or to implement a Standard Interface for which an
|
|
||||||
implementation is available to the public in source code form. A
|
|
||||||
"Major Component", in this context, means a major essential component
|
|
||||||
(kernel, window system, and so on) of the specific operating system
|
|
||||||
(if any) on which the executable work runs, or a compiler used to
|
|
||||||
produce the work, or an object code interpreter used to run it.
|
|
||||||
|
|
||||||
The "Corresponding Source" for a work in object code form means all
|
|
||||||
the source code needed to generate, install, and (for an executable
|
|
||||||
work) run the object code and to modify the work, including scripts to
|
|
||||||
control those activities. However, it does not include the work's
|
|
||||||
System Libraries, or general-purpose tools or generally available free
|
|
||||||
programs which are used unmodified in performing those activities but
|
|
||||||
which are not part of the work. For example, Corresponding Source
|
|
||||||
includes interface definition files associated with source files for
|
|
||||||
the work, and the source code for shared libraries and dynamically
|
|
||||||
linked subprograms that the work is specifically designed to require,
|
|
||||||
such as by intimate data communication or control flow between those
|
|
||||||
subprograms and other parts of the work.
|
|
||||||
|
|
||||||
The Corresponding Source need not include anything that users
|
|
||||||
can regenerate automatically from other parts of the Corresponding
|
|
||||||
Source.
|
|
||||||
|
|
||||||
The Corresponding Source for a work in source code form is that
|
|
||||||
same work.
|
|
||||||
|
|
||||||
2. Basic Permissions.
|
|
||||||
|
|
||||||
All rights granted under this License are granted for the term of
|
|
||||||
copyright on the Program, and are irrevocable provided the stated
|
|
||||||
conditions are met. This License explicitly affirms your unlimited
|
|
||||||
permission to run the unmodified Program. The output from running a
|
|
||||||
covered work is covered by this License only if the output, given its
|
|
||||||
content, constitutes a covered work. This License acknowledges your
|
|
||||||
rights of fair use or other equivalent, as provided by copyright law.
|
|
||||||
|
|
||||||
You may make, run and propagate covered works that you do not
|
|
||||||
convey, without conditions so long as your license otherwise remains
|
|
||||||
in force. You may convey covered works to others for the sole purpose
|
|
||||||
of having them make modifications exclusively for you, or provide you
|
|
||||||
with facilities for running those works, provided that you comply with
|
|
||||||
the terms of this License in conveying all material for which you do
|
|
||||||
not control copyright. Those thus making or running the covered works
|
|
||||||
for you must do so exclusively on your behalf, under your direction
|
|
||||||
and control, on terms that prohibit them from making any copies of
|
|
||||||
your copyrighted material outside their relationship with you.
|
|
||||||
|
|
||||||
Conveying under any other circumstances is permitted solely under
|
|
||||||
the conditions stated below. Sublicensing is not allowed; section 10
|
|
||||||
makes it unnecessary.
|
|
||||||
|
|
||||||
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
|
||||||
|
|
||||||
No covered work shall be deemed part of an effective technological
|
|
||||||
measure under any applicable law fulfilling obligations under article
|
|
||||||
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
|
||||||
similar laws prohibiting or restricting circumvention of such
|
|
||||||
measures.
|
|
||||||
|
|
||||||
When you convey a covered work, you waive any legal power to forbid
|
|
||||||
circumvention of technological measures to the extent such circumvention
|
|
||||||
is effected by exercising rights under this License with respect to
|
|
||||||
the covered work, and you disclaim any intention to limit operation or
|
|
||||||
modification of the work as a means of enforcing, against the work's
|
|
||||||
users, your or third parties' legal rights to forbid circumvention of
|
|
||||||
technological measures.
|
|
||||||
|
|
||||||
4. Conveying Verbatim Copies.
|
|
||||||
|
|
||||||
You may convey verbatim copies of the Program's source code as you
|
|
||||||
receive it, in any medium, provided that you conspicuously and
|
|
||||||
appropriately publish on each copy an appropriate copyright notice;
|
|
||||||
keep intact all notices stating that this License and any
|
|
||||||
non-permissive terms added in accord with section 7 apply to the code;
|
|
||||||
keep intact all notices of the absence of any warranty; and give all
|
|
||||||
recipients a copy of this License along with the Program.
|
|
||||||
|
|
||||||
You may charge any price or no price for each copy that you convey,
|
|
||||||
and you may offer support or warranty protection for a fee.
|
|
||||||
|
|
||||||
5. Conveying Modified Source Versions.
|
|
||||||
|
|
||||||
You may convey a work based on the Program, or the modifications to
|
|
||||||
produce it from the Program, in the form of source code under the
|
|
||||||
terms of section 4, provided that you also meet all of these conditions:
|
|
||||||
|
|
||||||
a) The work must carry prominent notices stating that you modified
|
|
||||||
it, and giving a relevant date.
|
|
||||||
|
|
||||||
b) The work must carry prominent notices stating that it is
|
|
||||||
released under this License and any conditions added under section
|
|
||||||
7. This requirement modifies the requirement in section 4 to
|
|
||||||
"keep intact all notices".
|
|
||||||
|
|
||||||
c) You must license the entire work, as a whole, under this
|
|
||||||
License to anyone who comes into possession of a copy. This
|
|
||||||
License will therefore apply, along with any applicable section 7
|
|
||||||
additional terms, to the whole of the work, and all its parts,
|
|
||||||
regardless of how they are packaged. This License gives no
|
|
||||||
permission to license the work in any other way, but it does not
|
|
||||||
invalidate such permission if you have separately received it.
|
|
||||||
|
|
||||||
d) If the work has interactive user interfaces, each must display
|
|
||||||
Appropriate Legal Notices; however, if the Program has interactive
|
|
||||||
interfaces that do not display Appropriate Legal Notices, your
|
|
||||||
work need not make them do so.
|
|
||||||
|
|
||||||
A compilation of a covered work with other separate and independent
|
|
||||||
works, which are not by their nature extensions of the covered work,
|
|
||||||
and which are not combined with it such as to form a larger program,
|
|
||||||
in or on a volume of a storage or distribution medium, is called an
|
|
||||||
"aggregate" if the compilation and its resulting copyright are not
|
|
||||||
used to limit the access or legal rights of the compilation's users
|
|
||||||
beyond what the individual works permit. Inclusion of a covered work
|
|
||||||
in an aggregate does not cause this License to apply to the other
|
|
||||||
parts of the aggregate.
|
|
||||||
|
|
||||||
6. Conveying Non-Source Forms.
|
|
||||||
|
|
||||||
You may convey a covered work in object code form under the terms
|
|
||||||
of sections 4 and 5, provided that you also convey the
|
|
||||||
machine-readable Corresponding Source under the terms of this License,
|
|
||||||
in one of these ways:
|
|
||||||
|
|
||||||
a) Convey the object code in, or embodied in, a physical product
|
|
||||||
(including a physical distribution medium), accompanied by the
|
|
||||||
Corresponding Source fixed on a durable physical medium
|
|
||||||
customarily used for software interchange.
|
|
||||||
|
|
||||||
b) Convey the object code in, or embodied in, a physical product
|
|
||||||
(including a physical distribution medium), accompanied by a
|
|
||||||
written offer, valid for at least three years and valid for as
|
|
||||||
long as you offer spare parts or customer support for that product
|
|
||||||
model, to give anyone who possesses the object code either (1) a
|
|
||||||
copy of the Corresponding Source for all the software in the
|
|
||||||
product that is covered by this License, on a durable physical
|
|
||||||
medium customarily used for software interchange, for a price no
|
|
||||||
more than your reasonable cost of physically performing this
|
|
||||||
conveying of source, or (2) access to copy the
|
|
||||||
Corresponding Source from a network server at no charge.
|
|
||||||
|
|
||||||
c) Convey individual copies of the object code with a copy of the
|
|
||||||
written offer to provide the Corresponding Source. This
|
|
||||||
alternative is allowed only occasionally and noncommercially, and
|
|
||||||
only if you received the object code with such an offer, in accord
|
|
||||||
with subsection 6b.
|
|
||||||
|
|
||||||
d) Convey the object code by offering access from a designated
|
|
||||||
place (gratis or for a charge), and offer equivalent access to the
|
|
||||||
Corresponding Source in the same way through the same place at no
|
|
||||||
further charge. You need not require recipients to copy the
|
|
||||||
Corresponding Source along with the object code. If the place to
|
|
||||||
copy the object code is a network server, the Corresponding Source
|
|
||||||
may be on a different server (operated by you or a third party)
|
|
||||||
that supports equivalent copying facilities, provided you maintain
|
|
||||||
clear directions next to the object code saying where to find the
|
|
||||||
Corresponding Source. Regardless of what server hosts the
|
|
||||||
Corresponding Source, you remain obligated to ensure that it is
|
|
||||||
available for as long as needed to satisfy these requirements.
|
|
||||||
|
|
||||||
e) Convey the object code using peer-to-peer transmission, provided
|
|
||||||
you inform other peers where the object code and Corresponding
|
|
||||||
Source of the work are being offered to the general public at no
|
|
||||||
charge under subsection 6d.
|
|
||||||
|
|
||||||
A separable portion of the object code, whose source code is excluded
|
|
||||||
from the Corresponding Source as a System Library, need not be
|
|
||||||
included in conveying the object code work.
|
|
||||||
|
|
||||||
A "User Product" is either (1) a "consumer product", which means any
|
|
||||||
tangible personal property which is normally used for personal, family,
|
|
||||||
or household purposes, or (2) anything designed or sold for incorporation
|
|
||||||
into a dwelling. In determining whether a product is a consumer product,
|
|
||||||
doubtful cases shall be resolved in favor of coverage. For a particular
|
|
||||||
product received by a particular user, "normally used" refers to a
|
|
||||||
typical or common use of that class of product, regardless of the status
|
|
||||||
of the particular user or of the way in which the particular user
|
|
||||||
actually uses, or expects or is expected to use, the product. A product
|
|
||||||
is a consumer product regardless of whether the product has substantial
|
|
||||||
commercial, industrial or non-consumer uses, unless such uses represent
|
|
||||||
the only significant mode of use of the product.
|
|
||||||
|
|
||||||
"Installation Information" for a User Product means any methods,
|
|
||||||
procedures, authorization keys, or other information required to install
|
|
||||||
and execute modified versions of a covered work in that User Product from
|
|
||||||
a modified version of its Corresponding Source. The information must
|
|
||||||
suffice to ensure that the continued functioning of the modified object
|
|
||||||
code is in no case prevented or interfered with solely because
|
|
||||||
modification has been made.
|
|
||||||
|
|
||||||
If you convey an object code work under this section in, or with, or
|
|
||||||
specifically for use in, a User Product, and the conveying occurs as
|
|
||||||
part of a transaction in which the right of possession and use of the
|
|
||||||
User Product is transferred to the recipient in perpetuity or for a
|
|
||||||
fixed term (regardless of how the transaction is characterized), the
|
|
||||||
Corresponding Source conveyed under this section must be accompanied
|
|
||||||
by the Installation Information. But this requirement does not apply
|
|
||||||
if neither you nor any third party retains the ability to install
|
|
||||||
modified object code on the User Product (for example, the work has
|
|
||||||
been installed in ROM).
|
|
||||||
|
|
||||||
The requirement to provide Installation Information does not include a
|
|
||||||
requirement to continue to provide support service, warranty, or updates
|
|
||||||
for a work that has been modified or installed by the recipient, or for
|
|
||||||
the User Product in which it has been modified or installed. Access to a
|
|
||||||
network may be denied when the modification itself materially and
|
|
||||||
adversely affects the operation of the network or violates the rules and
|
|
||||||
protocols for communication across the network.
|
|
||||||
|
|
||||||
Corresponding Source conveyed, and Installation Information provided,
|
|
||||||
in accord with this section must be in a format that is publicly
|
|
||||||
documented (and with an implementation available to the public in
|
|
||||||
source code form), and must require no special password or key for
|
|
||||||
unpacking, reading or copying.
|
|
||||||
|
|
||||||
7. Additional Terms.
|
|
||||||
|
|
||||||
"Additional permissions" are terms that supplement the terms of this
|
|
||||||
License by making exceptions from one or more of its conditions.
|
|
||||||
Additional permissions that are applicable to the entire Program shall
|
|
||||||
be treated as though they were included in this License, to the extent
|
|
||||||
that they are valid under applicable law. If additional permissions
|
|
||||||
apply only to part of the Program, that part may be used separately
|
|
||||||
under those permissions, but the entire Program remains governed by
|
|
||||||
this License without regard to the additional permissions.
|
|
||||||
|
|
||||||
When you convey a copy of a covered work, you may at your option
|
|
||||||
remove any additional permissions from that copy, or from any part of
|
|
||||||
it. (Additional permissions may be written to require their own
|
|
||||||
removal in certain cases when you modify the work.) You may place
|
|
||||||
additional permissions on material, added by you to a covered work,
|
|
||||||
for which you have or can give appropriate copyright permission.
|
|
||||||
|
|
||||||
Notwithstanding any other provision of this License, for material you
|
|
||||||
add to a covered work, you may (if authorized by the copyright holders of
|
|
||||||
that material) supplement the terms of this License with terms:
|
|
||||||
|
|
||||||
a) Disclaiming warranty or limiting liability differently from the
|
|
||||||
terms of sections 15 and 16 of this License; or
|
|
||||||
|
|
||||||
b) Requiring preservation of specified reasonable legal notices or
|
|
||||||
author attributions in that material or in the Appropriate Legal
|
|
||||||
Notices displayed by works containing it; or
|
|
||||||
|
|
||||||
c) Prohibiting misrepresentation of the origin of that material, or
|
|
||||||
requiring that modified versions of such material be marked in
|
|
||||||
reasonable ways as different from the original version; or
|
|
||||||
|
|
||||||
d) Limiting the use for publicity purposes of names of licensors or
|
|
||||||
authors of the material; or
|
|
||||||
|
|
||||||
e) Declining to grant rights under trademark law for use of some
|
|
||||||
trade names, trademarks, or service marks; or
|
|
||||||
|
|
||||||
f) Requiring indemnification of licensors and authors of that
|
|
||||||
material by anyone who conveys the material (or modified versions of
|
|
||||||
it) with contractual assumptions of liability to the recipient, for
|
|
||||||
any liability that these contractual assumptions directly impose on
|
|
||||||
those licensors and authors.
|
|
||||||
|
|
||||||
All other non-permissive additional terms are considered "further
|
|
||||||
restrictions" within the meaning of section 10. If the Program as you
|
|
||||||
received it, or any part of it, contains a notice stating that it is
|
|
||||||
governed by this License along with a term that is a further
|
|
||||||
restriction, you may remove that term. If a license document contains
|
|
||||||
a further restriction but permits relicensing or conveying under this
|
|
||||||
License, you may add to a covered work material governed by the terms
|
|
||||||
of that license document, provided that the further restriction does
|
|
||||||
not survive such relicensing or conveying.
|
|
||||||
|
|
||||||
If you add terms to a covered work in accord with this section, you
|
|
||||||
must place, in the relevant source files, a statement of the
|
|
||||||
additional terms that apply to those files, or a notice indicating
|
|
||||||
where to find the applicable terms.
|
|
||||||
|
|
||||||
Additional terms, permissive or non-permissive, may be stated in the
|
|
||||||
form of a separately written license, or stated as exceptions;
|
|
||||||
the above requirements apply either way.
|
|
||||||
|
|
||||||
8. Termination.
|
|
||||||
|
|
||||||
You may not propagate or modify a covered work except as expressly
|
|
||||||
provided under this License. Any attempt otherwise to propagate or
|
|
||||||
modify it is void, and will automatically terminate your rights under
|
|
||||||
this License (including any patent licenses granted under the third
|
|
||||||
paragraph of section 11).
|
|
||||||
|
|
||||||
However, if you cease all violation of this License, then your
|
|
||||||
license from a particular copyright holder is reinstated (a)
|
|
||||||
provisionally, unless and until the copyright holder explicitly and
|
|
||||||
finally terminates your license, and (b) permanently, if the copyright
|
|
||||||
holder fails to notify you of the violation by some reasonable means
|
|
||||||
prior to 60 days after the cessation.
|
|
||||||
|
|
||||||
Moreover, your license from a particular copyright holder is
|
|
||||||
reinstated permanently if the copyright holder notifies you of the
|
|
||||||
violation by some reasonable means, this is the first time you have
|
|
||||||
received notice of violation of this License (for any work) from that
|
|
||||||
copyright holder, and you cure the violation prior to 30 days after
|
|
||||||
your receipt of the notice.
|
|
||||||
|
|
||||||
Termination of your rights under this section does not terminate the
|
|
||||||
licenses of parties who have received copies or rights from you under
|
|
||||||
this License. If your rights have been terminated and not permanently
|
|
||||||
reinstated, you do not qualify to receive new licenses for the same
|
|
||||||
material under section 10.
|
|
||||||
|
|
||||||
9. Acceptance Not Required for Having Copies.
|
|
||||||
|
|
||||||
You are not required to accept this License in order to receive or
|
|
||||||
run a copy of the Program. Ancillary propagation of a covered work
|
|
||||||
occurring solely as a consequence of using peer-to-peer transmission
|
|
||||||
to receive a copy likewise does not require acceptance. However,
|
|
||||||
nothing other than this License grants you permission to propagate or
|
|
||||||
modify any covered work. These actions infringe copyright if you do
|
|
||||||
not accept this License. Therefore, by modifying or propagating a
|
|
||||||
covered work, you indicate your acceptance of this License to do so.
|
|
||||||
|
|
||||||
10. Automatic Licensing of Downstream Recipients.
|
|
||||||
|
|
||||||
Each time you convey a covered work, the recipient automatically
|
|
||||||
receives a license from the original licensors, to run, modify and
|
|
||||||
propagate that work, subject to this License. You are not responsible
|
|
||||||
for enforcing compliance by third parties with this License.
|
|
||||||
|
|
||||||
An "entity transaction" is a transaction transferring control of an
|
|
||||||
organization, or substantially all assets of one, or subdividing an
|
|
||||||
organization, or merging organizations. If propagation of a covered
|
|
||||||
work results from an entity transaction, each party to that
|
|
||||||
transaction who receives a copy of the work also receives whatever
|
|
||||||
licenses to the work the party's predecessor in interest had or could
|
|
||||||
give under the previous paragraph, plus a right to possession of the
|
|
||||||
Corresponding Source of the work from the predecessor in interest, if
|
|
||||||
the predecessor has it or can get it with reasonable efforts.
|
|
||||||
|
|
||||||
You may not impose any further restrictions on the exercise of the
|
|
||||||
rights granted or affirmed under this License. For example, you may
|
|
||||||
not impose a license fee, royalty, or other charge for exercise of
|
|
||||||
rights granted under this License, and you may not initiate litigation
|
|
||||||
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
|
||||||
any patent claim is infringed by making, using, selling, offering for
|
|
||||||
sale, or importing the Program or any portion of it.
|
|
||||||
|
|
||||||
11. Patents.
|
|
||||||
|
|
||||||
A "contributor" is a copyright holder who authorizes use under this
|
|
||||||
License of the Program or a work on which the Program is based. The
|
|
||||||
work thus licensed is called the contributor's "contributor version".
|
|
||||||
|
|
||||||
A contributor's "essential patent claims" are all patent claims
|
|
||||||
owned or controlled by the contributor, whether already acquired or
|
|
||||||
hereafter acquired, that would be infringed by some manner, permitted
|
|
||||||
by this License, of making, using, or selling its contributor version,
|
|
||||||
but do not include claims that would be infringed only as a
|
|
||||||
consequence of further modification of the contributor version. For
|
|
||||||
purposes of this definition, "control" includes the right to grant
|
|
||||||
patent sublicenses in a manner consistent with the requirements of
|
|
||||||
this License.
|
|
||||||
|
|
||||||
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
|
||||||
patent license under the contributor's essential patent claims, to
|
|
||||||
make, use, sell, offer for sale, import and otherwise run, modify and
|
|
||||||
propagate the contents of its contributor version.
|
|
||||||
|
|
||||||
In the following three paragraphs, a "patent license" is any express
|
|
||||||
agreement or commitment, however denominated, not to enforce a patent
|
|
||||||
(such as an express permission to practice a patent or covenant not to
|
|
||||||
sue for patent infringement). To "grant" such a patent license to a
|
|
||||||
party means to make such an agreement or commitment not to enforce a
|
|
||||||
patent against the party.
|
|
||||||
|
|
||||||
If you convey a covered work, knowingly relying on a patent license,
|
|
||||||
and the Corresponding Source of the work is not available for anyone
|
|
||||||
to copy, free of charge and under the terms of this License, through a
|
|
||||||
publicly available network server or other readily accessible means,
|
|
||||||
then you must either (1) cause the Corresponding Source to be so
|
|
||||||
available, or (2) arrange to deprive yourself of the benefit of the
|
|
||||||
patent license for this particular work, or (3) arrange, in a manner
|
|
||||||
consistent with the requirements of this License, to extend the patent
|
|
||||||
license to downstream recipients. "Knowingly relying" means you have
|
|
||||||
actual knowledge that, but for the patent license, your conveying the
|
|
||||||
covered work in a country, or your recipient's use of the covered work
|
|
||||||
in a country, would infringe one or more identifiable patents in that
|
|
||||||
country that you have reason to believe are valid.
|
|
||||||
|
|
||||||
If, pursuant to or in connection with a single transaction or
|
|
||||||
arrangement, you convey, or propagate by procuring conveyance of, a
|
|
||||||
covered work, and grant a patent license to some of the parties
|
|
||||||
receiving the covered work authorizing them to use, propagate, modify
|
|
||||||
or convey a specific copy of the covered work, then the patent license
|
|
||||||
you grant is automatically extended to all recipients of the covered
|
|
||||||
work and works based on it.
|
|
||||||
|
|
||||||
A patent license is "discriminatory" if it does not include within
|
|
||||||
the scope of its coverage, prohibits the exercise of, or is
|
|
||||||
conditioned on the non-exercise of one or more of the rights that are
|
|
||||||
specifically granted under this License. You may not convey a covered
|
|
||||||
work if you are a party to an arrangement with a third party that is
|
|
||||||
in the business of distributing software, under which you make payment
|
|
||||||
to the third party based on the extent of your activity of conveying
|
|
||||||
the work, and under which the third party grants, to any of the
|
|
||||||
parties who would receive the covered work from you, a discriminatory
|
|
||||||
patent license (a) in connection with copies of the covered work
|
|
||||||
conveyed by you (or copies made from those copies), or (b) primarily
|
|
||||||
for and in connection with specific products or compilations that
|
|
||||||
contain the covered work, unless you entered into that arrangement,
|
|
||||||
or that patent license was granted, prior to 28 March 2007.
|
|
||||||
|
|
||||||
Nothing in this License shall be construed as excluding or limiting
|
|
||||||
any implied license or other defenses to infringement that may
|
|
||||||
otherwise be available to you under applicable patent law.
|
|
||||||
|
|
||||||
12. No Surrender of Others' Freedom.
|
|
||||||
|
|
||||||
If conditions are imposed on you (whether by court order, agreement or
|
|
||||||
otherwise) that contradict the conditions of this License, they do not
|
|
||||||
excuse you from the conditions of this License. If you cannot convey a
|
|
||||||
covered work so as to satisfy simultaneously your obligations under this
|
|
||||||
License and any other pertinent obligations, then as a consequence you may
|
|
||||||
not convey it at all. For example, if you agree to terms that obligate you
|
|
||||||
to collect a royalty for further conveying from those to whom you convey
|
|
||||||
the Program, the only way you could satisfy both those terms and this
|
|
||||||
License would be to refrain entirely from conveying the Program.
|
|
||||||
|
|
||||||
13. Use with the GNU Affero General Public License.
|
|
||||||
|
|
||||||
Notwithstanding any other provision of this License, you have
|
|
||||||
permission to link or combine any covered work with a work licensed
|
|
||||||
under version 3 of the GNU Affero General Public License into a single
|
|
||||||
combined work, and to convey the resulting work. The terms of this
|
|
||||||
License will continue to apply to the part which is the covered work,
|
|
||||||
but the special requirements of the GNU Affero General Public License,
|
|
||||||
section 13, concerning interaction through a network will apply to the
|
|
||||||
combination as such.
|
|
||||||
|
|
||||||
14. Revised Versions of this License.
|
|
||||||
|
|
||||||
The Free Software Foundation may publish revised and/or new versions of
|
|
||||||
the GNU General Public License from time to time. Such new versions will
|
|
||||||
be similar in spirit to the present version, but may differ in detail to
|
|
||||||
address new problems or concerns.
|
|
||||||
|
|
||||||
Each version is given a distinguishing version number. If the
|
|
||||||
Program specifies that a certain numbered version of the GNU General
|
|
||||||
Public License "or any later version" applies to it, you have the
|
|
||||||
option of following the terms and conditions either of that numbered
|
|
||||||
version or of any later version published by the Free Software
|
|
||||||
Foundation. If the Program does not specify a version number of the
|
|
||||||
GNU General Public License, you may choose any version ever published
|
|
||||||
by the Free Software Foundation.
|
|
||||||
|
|
||||||
If the Program specifies that a proxy can decide which future
|
|
||||||
versions of the GNU General Public License can be used, that proxy's
|
|
||||||
public statement of acceptance of a version permanently authorizes you
|
|
||||||
to choose that version for the Program.
|
|
||||||
|
|
||||||
Later license versions may give you additional or different
|
|
||||||
permissions. However, no additional obligations are imposed on any
|
|
||||||
author or copyright holder as a result of your choosing to follow a
|
|
||||||
later version.
|
|
||||||
|
|
||||||
15. Disclaimer of Warranty.
|
|
||||||
|
|
||||||
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
|
||||||
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
|
||||||
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
|
||||||
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
|
||||||
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
|
||||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
|
||||||
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
|
||||||
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
|
||||||
|
|
||||||
16. Limitation of Liability.
|
|
||||||
|
|
||||||
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
|
||||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
|
||||||
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
|
||||||
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
|
||||||
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
|
||||||
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
|
||||||
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
|
||||||
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
|
||||||
SUCH DAMAGES.
|
|
||||||
|
|
||||||
17. Interpretation of Sections 15 and 16.
|
|
||||||
|
|
||||||
If the disclaimer of warranty and limitation of liability provided
|
|
||||||
above cannot be given local legal effect according to their terms,
|
|
||||||
reviewing courts shall apply local law that most closely approximates
|
|
||||||
an absolute waiver of all civil liability in connection with the
|
|
||||||
Program, unless a warranty or assumption of liability accompanies a
|
|
||||||
copy of the Program in return for a fee.
|
|
||||||
|
|
||||||
END OF TERMS AND CONDITIONS
|
|
||||||
|
|
||||||
How to Apply These Terms to Your New Programs
|
|
||||||
|
|
||||||
If you develop a new program, and you want it to be of the greatest
|
|
||||||
possible use to the public, the best way to achieve this is to make it
|
|
||||||
free software which everyone can redistribute and change under these terms.
|
|
||||||
|
|
||||||
To do so, attach the following notices to the program. It is safest
|
|
||||||
to attach them to the start of each source file to most effectively
|
|
||||||
state the exclusion of warranty; and each file should have at least
|
|
||||||
the "copyright" line and a pointer to where the full notice is found.
|
|
||||||
|
|
||||||
Arch Config
|
|
||||||
Copyright (C) 2020 RealStickman
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU General Public License as published by
|
|
||||||
the Free Software Foundation, either version 3 of the License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
Also add information on how to contact you by electronic and paper mail.
|
|
||||||
|
|
||||||
If the program does terminal interaction, make it output a short
|
|
||||||
notice like this when it starts in an interactive mode:
|
|
||||||
|
|
||||||
Arch Config Copyright (C) 2020 RealStickman
|
|
||||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
|
||||||
This is free software, and you are welcome to redistribute it
|
|
||||||
under certain conditions; type `show c' for details.
|
|
||||||
|
|
||||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
|
||||||
parts of the General Public License. Of course, your program's commands
|
|
||||||
might be different; for a GUI interface, you would use an "about box".
|
|
||||||
|
|
||||||
You should also get your employer (if you work as a programmer) or school,
|
|
||||||
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
|
||||||
For more information on this, and how to apply and follow the GNU GPL, see
|
|
||||||
<http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
The GNU General Public License does not permit incorporating your program
|
|
||||||
into proprietary programs. If your program is a subroutine library, you
|
|
||||||
may consider it more useful to permit linking proprietary applications with
|
|
||||||
the library. If this is what you want to do, use the GNU Lesser General
|
|
||||||
Public License instead of this License. But first, please read
|
|
||||||
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
|
|
@ -1,563 +0,0 @@
|
|||||||
#!/usr/bin/env python3
|
|
||||||
import subprocess
|
|
||||||
import os
|
|
||||||
import uuid
|
|
||||||
import glob
|
|
||||||
import shutil
|
|
||||||
import filecmp
|
|
||||||
import importlib.util
|
|
||||||
import sys
|
|
||||||
|
|
||||||
|
|
||||||
def select_theme():
|
|
||||||
"""
|
|
||||||
Function to select a different theme
|
|
||||||
"""
|
|
||||||
pass
|
|
||||||
|
|
||||||
|
|
||||||
def install_theme():
|
|
||||||
"""
|
|
||||||
Install most up to date version of the theme
|
|
||||||
"""
|
|
||||||
"""
|
|
||||||
# remove old themes folder
|
|
||||||
rm -rf ./themes
|
|
||||||
|
|
||||||
# install theme selected in themes file
|
|
||||||
git clone https://gitlab.com/RealStickman-arch/themes.git &>/dev/null
|
|
||||||
seltheme="$(cat "$HOME/.seltheme")"
|
|
||||||
if [[ "$seltheme" == "nyarch" ]]; then
|
|
||||||
#cp -r "./themes/nyarch/i3" "$HOME/.config/"
|
|
||||||
cat "./themes/nyarch/i3/color" >>"$HOME/.config/i3/config"
|
|
||||||
cp -r "./themes/nyarch/polybar" "$HOME/.config/"
|
|
||||||
cp -r "./themes/nyarch/neofetch/lowpoly_flamegirl_blue.txt" "$HOME/.config/neofetch/lowpoly_flamegirl.txt"
|
|
||||||
#cp "./themes/.fehbg-nyarch" "$HOME/.fehbg"
|
|
||||||
#sed -i 's/^NAME=".*"/NAME="Rawrch Linyux"/' /etc/os-release
|
|
||||||
elif [[ "$seltheme" == "space-pink" ]]; then
|
|
||||||
#cp -r "./themes/space-pink/i3" "$HOME/.config/"
|
|
||||||
cat "./themes/space-pink/i3/color" >>"$HOME/.config/i3/config"
|
|
||||||
cp -r "./themes/space-pink/polybar" "$HOME/.config/"
|
|
||||||
cp -r "./themes/space-pink/neofetch/lowpoly_flamegirl_orange.txt" "$HOME/.config/neofetch/lowpoly_flamegirl.txt"
|
|
||||||
#cp "./themes/.fehbg-space-pink" "$HOME/.fehbg"
|
|
||||||
fi
|
|
||||||
rm -rf ./themes
|
|
||||||
|
|
||||||
# make fehbg executable
|
|
||||||
chmod +x ~/.fehbg
|
|
||||||
"""
|
|
||||||
pass
|
|
||||||
|
|
||||||
|
|
||||||
def install_bash_cat():
|
|
||||||
"""
|
|
||||||
Install a cute cat
|
|
||||||
"""
|
|
||||||
"""
|
|
||||||
# download cat as cat
|
|
||||||
echo "Installing bash cat"
|
|
||||||
git clone https://github.com/RealStickman/bash-cat-with-cat.git &>/dev/null
|
|
||||||
cp ./bash-cat-with-cat/cat.sh "$HOME/scripts/pieces/cat.sh"
|
|
||||||
rm -rf ./bash-cat-with-cat
|
|
||||||
"""
|
|
||||||
pass
|
|
||||||
|
|
||||||
|
|
||||||
def install_psipcalc():
|
|
||||||
"""
|
|
||||||
A PowerShell ip calculator
|
|
||||||
"""
|
|
||||||
"""
|
|
||||||
# download ip-calculator with powershell
|
|
||||||
echo "Installing powershell ip calculator"
|
|
||||||
git clone https://github.com/RealStickman/PSipcalc &>/dev/null
|
|
||||||
cp ./PSipcalc/PSipcalc.ps1 "$HOME/scripts/in_path/sc-psipcalc"
|
|
||||||
rm -rf ./PSipcalc
|
|
||||||
"""
|
|
||||||
pass
|
|
||||||
|
|
||||||
|
|
||||||
def update_firefox():
|
|
||||||
"""
|
|
||||||
Function to also update firefox config
|
|
||||||
"""
|
|
||||||
pass
|
|
||||||
|
|
||||||
|
|
||||||
def autostart():
|
|
||||||
"""
|
|
||||||
Programs with autostart functionality
|
|
||||||
"""
|
|
||||||
"""
|
|
||||||
# copy corectrl desktop file
|
|
||||||
if [[ $(pacman -Q | grep corectrl) ]]; then
|
|
||||||
cp /usr/share/applications/org.corectrl.corectrl.desktop ~/.config/autostart/org.corectrl.corectrl.desktop
|
|
||||||
fi
|
|
||||||
"""
|
|
||||||
pass
|
|
||||||
|
|
||||||
|
|
||||||
def services():
|
|
||||||
"""
|
|
||||||
Enable and start systemd services
|
|
||||||
"""
|
|
||||||
"""
|
|
||||||
# set systemd services for vmware (only if installed)
|
|
||||||
if [[ $(pacman -Q | grep vmware-workstation) ]]; then
|
|
||||||
sudo systemctl enable --now vmware-networks.service || echo "Service failed, continuing"
|
|
||||||
sudo systemctl enable --now vmware-usbarbitrator.service || echo "Service failed, continuing"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# NOTE temporary
|
|
||||||
# remove old vmware services
|
|
||||||
if [ -f "/etc/systemd/system/vmware.service" ]; then
|
|
||||||
sudo rm "/etc/systemd/system/vmware.service"
|
|
||||||
fi
|
|
||||||
if [ -f "/etc/systemd/system/vmware-networks-server.service" ]; then
|
|
||||||
sudo rm "/etc/systemd/system/vmware-networks-server.service"
|
|
||||||
fi
|
|
||||||
if [ -f "/etc/systemd/system/vmware-usbarbitrator.service" ]; then
|
|
||||||
sudo rm "/etc/systemd/system/vmware-usbarbitrator.service"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# enable fstrim timer
|
|
||||||
sudo systemctl enable fstrim.timer
|
|
||||||
|
|
||||||
# enable btrfs maintenance timers
|
|
||||||
if [[ $(pacman -Q | grep btrfsmaintenance) ]]; then
|
|
||||||
sudo systemctl restart btrfsmaintenance-refresh.service
|
|
||||||
sudo systemctl enable btrfs-balance.timer
|
|
||||||
sudo systemctl enable btrfs-scrub.timer
|
|
||||||
fi
|
|
||||||
|
|
||||||
# enable systemd-timesyncd (ntp service)
|
|
||||||
sudo timedatectl set-ntp true
|
|
||||||
|
|
||||||
# enable ssh-agent
|
|
||||||
systemctl --user enable --now ssh-agent
|
|
||||||
"""
|
|
||||||
pass
|
|
||||||
|
|
||||||
|
|
||||||
def groupmanagement():
|
|
||||||
"""
|
|
||||||
Manage user groups
|
|
||||||
"""
|
|
||||||
"""
|
|
||||||
# set systemd and group for vmware (only if installed)
|
|
||||||
if [[ $(pacman -Q | grep vmware-workstation) ]]; then
|
|
||||||
echo "Setting up group for vmware"
|
|
||||||
sudo groupadd -f vmware
|
|
||||||
sudo gpasswd -a "$USER" vmware 1>/dev/null
|
|
||||||
sudo chgrp vmware /dev/vmnet*
|
|
||||||
sudo chmod g+rw /dev/vmnet*
|
|
||||||
fi
|
|
||||||
|
|
||||||
# set group for libvirt
|
|
||||||
if [[ $(pacman -Q | grep libvirt) ]]; then
|
|
||||||
echo "Setting group for libvirt"
|
|
||||||
sudo gpasswd -a "$USER" libvirt 1>/dev/null
|
|
||||||
fi
|
|
||||||
|
|
||||||
# set group for wireshark (only if installed)
|
|
||||||
if [[ $(pacman -Q | grep wireshark-qt) ]]; then
|
|
||||||
echo "Setting up group for wireshark"
|
|
||||||
sudo groupadd -f wireshark
|
|
||||||
sudo gpasswd -a "$USER" wireshark 1>/dev/null
|
|
||||||
fi
|
|
||||||
|
|
||||||
# add group for corectrl
|
|
||||||
if [[ $(pacman -Q | grep corectrl) ]]; then
|
|
||||||
echo "Setting up group for corectrl"
|
|
||||||
sudo groupadd -f corectrl
|
|
||||||
sudo gpasswd -a "$USER" corectrl 1>/dev/null
|
|
||||||
fi
|
|
||||||
|
|
||||||
# group for controlling backlight
|
|
||||||
echo "Setting group for backlight"
|
|
||||||
sudo groupadd -f video
|
|
||||||
sudo gpasswd -a "$USER" video 1>/dev/null
|
|
||||||
|
|
||||||
# group for monitoring wireguard
|
|
||||||
echo "Setting group for wireguard"
|
|
||||||
sudo groupadd -f wireguard
|
|
||||||
sudo gpasswd -a "$USER" wireguard 1>/dev/null
|
|
||||||
"""
|
|
||||||
pass
|
|
||||||
|
|
||||||
|
|
||||||
def miscellaneous():
|
|
||||||
"""
|
|
||||||
Miscellaneous config items
|
|
||||||
"""
|
|
||||||
"""
|
|
||||||
# automatically add ssh keys to agent
|
|
||||||
#if ! grep -q "AddKeysToAgent yes" "$HOME/.ssh/config"; then
|
|
||||||
# echo 'AddKeysToAgent yes' | cat - "$HOME/.ssh/config" > temp && mv temp "$HOME/.ssh/config"
|
|
||||||
#fi
|
|
||||||
|
|
||||||
# set permissions for sudoers.d to root only
|
|
||||||
sudo chown root:root -R /etc/sudoers.d/
|
|
||||||
sudo chmod 600 -R /etc/sudoers.d/
|
|
||||||
|
|
||||||
# unzip gimp plugins
|
|
||||||
echo Unzipping gimp plugins
|
|
||||||
unzip -o ~/.config/GIMP/2.10/plug-ins/export_layers-3.3.1.zip -d ~/.config/GIMP/2.10/plug-ins/ >/dev/null
|
|
||||||
rm ~/.config/GIMP/2.10/plug-ins/export_layers-3.3.1.zip >/dev/null
|
|
||||||
|
|
||||||
# xfce settings
|
|
||||||
# disable screensaver & locker
|
|
||||||
/usr/bin/xfconf-query -c xfce4-session -n -t bool -p /startup/screensaver/enabled -s false
|
|
||||||
|
|
||||||
#make bash scripts executable
|
|
||||||
chmod +x -R ~/.config/polybar/
|
|
||||||
chmod +x -R ~/.config/i3/scripts
|
|
||||||
chmod +x -R ~/scripts
|
|
||||||
|
|
||||||
# make applications executable
|
|
||||||
chmod +x -R ~/.local/share/applications
|
|
||||||
|
|
||||||
# set settings for nemo
|
|
||||||
bash ~/config/scripts/nemo-config.sh
|
|
||||||
|
|
||||||
#remove downloaded folder
|
|
||||||
rm -rf ~/config
|
|
||||||
"""
|
|
||||||
pass
|
|
||||||
|
|
||||||
|
|
||||||
def create_backup():
|
|
||||||
"""
|
|
||||||
Create a backup of old config files
|
|
||||||
"""
|
|
||||||
"""
|
|
||||||
# make new backup
|
|
||||||
echo Creating backup
|
|
||||||
mkdir -p ~/old_dat/.config
|
|
||||||
mkdir -p ~/old_dat/.doom.d
|
|
||||||
mkdir -p ~/old_dat/.easystroke
|
|
||||||
mkdir -p ~/old_dat/.mozilla
|
|
||||||
mkdir -p ~/old_dat/scripts
|
|
||||||
mkdir -p ~/old_dat/.elvish
|
|
||||||
mkdir -p ~/old_dat/.ssh
|
|
||||||
|
|
||||||
# make subdirectories
|
|
||||||
mkdir -p ~/old_dat/.local/share
|
|
||||||
|
|
||||||
#config folders
|
|
||||||
if [[ -d ~/.config/MangoHud ]]; then
|
|
||||||
rsync -ah ~/.config/MangoHud ~/old_dat/.config/
|
|
||||||
fi
|
|
||||||
if [[ -d ~/.config/fish ]]; then
|
|
||||||
rsync -ah ~/.config/fish ~/old_dat/.config/
|
|
||||||
fi
|
|
||||||
if [[ -d ~/.config/gtk-3.0 ]]; then
|
|
||||||
rsync -ah ~/.config/gtk-3.0 ~/old_dat/.config/
|
|
||||||
fi
|
|
||||||
if [[ -d ~/.config/i3 ]]; then
|
|
||||||
rsync -ah ~/.config/i3 ~/old_dat/.config/
|
|
||||||
fi
|
|
||||||
if [[ -d ~/.config/neofetch ]]; then
|
|
||||||
rsync -ah ~/.config/neofetch ~/old_dat/.config/
|
|
||||||
fi
|
|
||||||
if [[ -d ~/.config/openbox ]]; then
|
|
||||||
rsync -ah ~/.config/openbox ~/old_dat/.config/
|
|
||||||
fi
|
|
||||||
if [[ -d ~/.config/polybar ]]; then
|
|
||||||
rsync -ah ~/.config/polybar ~/old_dat/.config/
|
|
||||||
fi
|
|
||||||
if [[ -d ~/.config/termite ]]; then
|
|
||||||
rsync -ah ~/.config/termite ~/old_dat/.config/
|
|
||||||
fi
|
|
||||||
if [[ -d ~/.config/variety ]]; then
|
|
||||||
rsync -ah ~/.config/variety ~/old_dat/.config/
|
|
||||||
fi
|
|
||||||
|
|
||||||
# doom.d folder
|
|
||||||
if [[ -d ~/.doom.d ]]; then
|
|
||||||
rsync -ah ~/.doom.d ~/old_dat/
|
|
||||||
fi
|
|
||||||
|
|
||||||
# .ssh folder
|
|
||||||
if [[ -d ~/.ssh ]]; then
|
|
||||||
rsync -ah ~/.ssh ~/old_dat/
|
|
||||||
fi
|
|
||||||
|
|
||||||
# easystroke
|
|
||||||
if [[ -d ~/.easystroke ]]; then
|
|
||||||
rsync -ah ~/.easystroke ~/old_dat/
|
|
||||||
fi
|
|
||||||
|
|
||||||
# elvish
|
|
||||||
if [[ -d ~/.elvish ]]; then
|
|
||||||
rsync -ah ~/.elvish ~/old_dat/
|
|
||||||
fi
|
|
||||||
|
|
||||||
# local folder
|
|
||||||
if [[ -d ~/.local/share/applications ]]; then
|
|
||||||
rsync -ah ~/.local/share/applications/ ~/old_dat/.local/share/
|
|
||||||
fi
|
|
||||||
|
|
||||||
# mozilla
|
|
||||||
if [[ -d ~/.mozilla ]]; then
|
|
||||||
rsync -ah ~/.mozilla ~/old_dat/
|
|
||||||
fi
|
|
||||||
|
|
||||||
# scripts
|
|
||||||
if [[ -d ~/scripts ]]; then
|
|
||||||
rsync -ah ~/scripts ~/old_dat/
|
|
||||||
fi
|
|
||||||
|
|
||||||
# remove old templates
|
|
||||||
if [[ -d ~/.config/Vorlagen ]]; then
|
|
||||||
rm -r ~/.config/Vorlagen
|
|
||||||
fi
|
|
||||||
|
|
||||||
# remove old scripts in path
|
|
||||||
if [[ -d ~/scripts/in_path ]]; then
|
|
||||||
rm -r ~/scripts/in_path
|
|
||||||
fi
|
|
||||||
"""
|
|
||||||
pass
|
|
||||||
|
|
||||||
|
|
||||||
def new_config():
|
|
||||||
"""
|
|
||||||
Copy files for new config
|
|
||||||
"""
|
|
||||||
"""
|
|
||||||
#copy folders
|
|
||||||
cp -r ~/config/.config/ ~/
|
|
||||||
cp -r ~/config/.local/ ~/
|
|
||||||
#cp -r ~/config/Dokumente ~/
|
|
||||||
cp -r ~/config/.mozilla/firefox/default-release/* ~/.mozilla/firefox/*.default-release/
|
|
||||||
cp -r ~/config/.easystroke ~/
|
|
||||||
cp -r ~/config/.elvish ~/
|
|
||||||
cp -r ~/config/.doom.d ~/
|
|
||||||
cp -r ~/config/.ssh ~/
|
|
||||||
echo Copied folders
|
|
||||||
|
|
||||||
#copy single files
|
|
||||||
cp -r ~/config/.bashrc ~/
|
|
||||||
cp -r ~/config/.face ~/
|
|
||||||
cp -r ~/config/.gtkrc-2.0 ~/
|
|
||||||
cp -r ~/config/.gitconfig ~/
|
|
||||||
cp -r ~/config/.tmux.conf ~/
|
|
||||||
cp -r ~/config/.xinitrc ~/
|
|
||||||
cp -r ~/config/.kopiaignore ~/
|
|
||||||
echo Copied files
|
|
||||||
|
|
||||||
# make .xinitrc executable
|
|
||||||
chmod +x ~/.xinitrc
|
|
||||||
|
|
||||||
#copy scripts
|
|
||||||
cp -r ~/config/scripts/ ~/
|
|
||||||
|
|
||||||
# copy cache
|
|
||||||
cp -r ~/config/.cache ~/
|
|
||||||
|
|
||||||
#copy stuff to /etc
|
|
||||||
sudo cp -r ~/config/etc /
|
|
||||||
#sudo rsync --exclude=default/grub ~/config/etc /etc/
|
|
||||||
|
|
||||||
#read -r -p "Do you want to overwrite the grub config? [y/N] " response
|
|
||||||
#if [[ "$response" =~ ^([yY][eE][sS][jJ]|[yY])$ ]]
|
|
||||||
#then
|
|
||||||
# copy config
|
|
||||||
# sudo cp ~/config/etc/default/grub /etc/default/
|
|
||||||
# update grub
|
|
||||||
# sudo grub-mkconfig -o /boot/grub/grub.cfg
|
|
||||||
#fi
|
|
||||||
|
|
||||||
# NOTE Distro specific stuff
|
|
||||||
distro=$(cat /etc/*-release | grep "^ID=")
|
|
||||||
if [ "$distro" == "ID=arcolinux" ]; then
|
|
||||||
sudo mv /etc/arco-pacman.conf /etc/pacman.conf
|
|
||||||
fi
|
|
||||||
if [ "$distro" == "ID=arch" ]; then
|
|
||||||
sudo mv /etc/arch-pacman.conf /etc/pacman.conf
|
|
||||||
fi
|
|
||||||
|
|
||||||
# NOTE only for webkit2gtk version of lightdm
|
|
||||||
#copy old lightdm themes (and maybe other stuff, idk)
|
|
||||||
#sudo cp -r ~/config/var /
|
|
||||||
|
|
||||||
#copy usr stuff
|
|
||||||
sudo cp -r ~/config/usr /
|
|
||||||
|
|
||||||
# copy xresources
|
|
||||||
cp ~/config/.Xresources ~/
|
|
||||||
"""
|
|
||||||
pass
|
|
||||||
|
|
||||||
|
|
||||||
def reloading():
|
|
||||||
"""
|
|
||||||
Reload changes into the running system
|
|
||||||
"""
|
|
||||||
"""
|
|
||||||
# reload applications
|
|
||||||
update-desktop-database ~/.local/share/applications/
|
|
||||||
|
|
||||||
#sync doom-emacs
|
|
||||||
~/.emacs.d/bin/doom sync
|
|
||||||
|
|
||||||
# disable freedesktop notification daemon
|
|
||||||
if [[ -f "/usr/share/dbus-1/services/org.freedesktop.Notifications.service" ]]; then
|
|
||||||
sudo mv /usr/share/dbus-1/services/org.freedesktop.Notifications.service /usr/share/dbus-1/services/org.freedesktop.Notifications.service.disabled
|
|
||||||
fi
|
|
||||||
|
|
||||||
# dunst
|
|
||||||
pkill dunst && nohup dunst &
|
|
||||||
|
|
||||||
# reload systemd user scripts
|
|
||||||
systemctl --user daemon-reload
|
|
||||||
|
|
||||||
# reload .Xresources
|
|
||||||
if [[ -f "$HOME/.Xresources" ]]; then
|
|
||||||
xrdb ~/.Xresources
|
|
||||||
fi
|
|
||||||
|
|
||||||
# execute feh
|
|
||||||
"$HOME/.fehbg"
|
|
||||||
|
|
||||||
# NOTE working now
|
|
||||||
# if [[ "$(ps aux | grep "FIXME")" ]]; then ...
|
|
||||||
# ps aux | grep "\si3\s" breaks if i3 hasn't been restarted yet
|
|
||||||
# ps aux | grep "\si3" works for both, not certain if other stuff could be detected as well
|
|
||||||
# ps aux | grep "\si3\$" breaks if i3 has been restarted already in this session
|
|
||||||
if ps aux | grep -E "\si3(\s|$)" &>/dev/null; then
|
|
||||||
i3-msg restart 1>/dev/null
|
|
||||||
fi
|
|
||||||
"""
|
|
||||||
pass
|
|
||||||
|
|
||||||
|
|
||||||
def final_output():
|
|
||||||
"""
|
|
||||||
Some last words
|
|
||||||
"""
|
|
||||||
"""
|
|
||||||
#output
|
|
||||||
echo -e "\033[38;2;20;200;20mFinished updating everything!\033[0m"
|
|
||||||
echo Launching new shell!
|
|
||||||
|
|
||||||
# remind user of cgroupsv2 if using podman
|
|
||||||
if [[ $(pacman -Q | grep podman) ]]; then
|
|
||||||
echo -e "\033[38;2;200;20;20mRemember to set \"systemd.unified_cgroup_hierarchy=1\" in the kernel!!\033[0m"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# reminder for enable additional gpu features for corectrl with amd gpus
|
|
||||||
if [[ $(pacman -Q | grep podman) ]]; then
|
|
||||||
echo -e "\033[38;2;200;20;20mRemember to set \"amdgpu.ppfeaturemask=0xffffffff\" in the kernel!!\033[0m"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# reload user default shell
|
|
||||||
exec "$(getent passwd $LOGNAME | cut -d: -f7)"
|
|
||||||
"""
|
|
||||||
pass
|
|
||||||
|
|
||||||
|
|
||||||
def main():
|
|
||||||
# TODO
|
|
||||||
if not os.path.isfile(os.path.join(home, ".seltheme")):
|
|
||||||
select_theme()
|
|
||||||
|
|
||||||
# TODO remove previous backup
|
|
||||||
# ~/old_dat
|
|
||||||
|
|
||||||
# TODO create new backup
|
|
||||||
create_backup()
|
|
||||||
|
|
||||||
# TODO copy new config files
|
|
||||||
new_config()
|
|
||||||
|
|
||||||
# TODO install theme
|
|
||||||
install_theme()
|
|
||||||
|
|
||||||
# TODO install bash cat
|
|
||||||
install_bash_cat()
|
|
||||||
|
|
||||||
# TODO install psipcalc
|
|
||||||
install_psipcalc()
|
|
||||||
|
|
||||||
# TODO autostart programs
|
|
||||||
autostart()
|
|
||||||
|
|
||||||
# TODO systemd services
|
|
||||||
services()
|
|
||||||
|
|
||||||
# TODO user groups and permissions
|
|
||||||
groupmanagement()
|
|
||||||
|
|
||||||
# TODO miscellaneous items
|
|
||||||
miscellaneous()
|
|
||||||
|
|
||||||
# TODO reloading changes
|
|
||||||
reloading()
|
|
||||||
|
|
||||||
# TODO final outputs
|
|
||||||
final_output()
|
|
||||||
|
|
||||||
|
|
||||||
# Set home path
|
|
||||||
home = os.path.expanduser("~")
|
|
||||||
|
|
||||||
# Check root or run as sudo
|
|
||||||
if os.getuid() != 0:
|
|
||||||
subprocess.run("sudo -v", shell=True, check=True)
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
|
||||||
# TODO arguments
|
|
||||||
# -t: select theme
|
|
||||||
# -f: update firefox config
|
|
||||||
# -h: help
|
|
||||||
|
|
||||||
# change to home directory
|
|
||||||
os.chdir(home)
|
|
||||||
|
|
||||||
# slightly random uuid for our config location
|
|
||||||
configdir = "config-" + str(uuid.uuid1())
|
|
||||||
|
|
||||||
# TODO remove old "config-" folder(s)
|
|
||||||
# https://stackoverflow.com/a/70860760
|
|
||||||
|
|
||||||
# clone git repo
|
|
||||||
subprocess.run(
|
|
||||||
"git clone https://gitlab.com/RealStickman-arch/config.git {configdir}".format(
|
|
||||||
configdir=configdir
|
|
||||||
),
|
|
||||||
shell=True,
|
|
||||||
check=True,
|
|
||||||
)
|
|
||||||
|
|
||||||
os.chdir(configdir)
|
|
||||||
subprocess.run(
|
|
||||||
"git checkout master",
|
|
||||||
shell=True,
|
|
||||||
check=True,
|
|
||||||
stderr=subprocess.STDOUT,
|
|
||||||
stdout=subprocess.DEVNULL,
|
|
||||||
)
|
|
||||||
os.chdir(home)
|
|
||||||
|
|
||||||
# check if downloaded script is different
|
|
||||||
if not filecmp.cmp(
|
|
||||||
os.path.join(home, "scripts/arch-config.py"),
|
|
||||||
os.path.join(configdir, "scripts/arch-config.py"),
|
|
||||||
):
|
|
||||||
print("Found newer config file")
|
|
||||||
# import newer script version
|
|
||||||
spec = importlib.util.spec_from_file_location(
|
|
||||||
"config",
|
|
||||||
os.path.join(configdir, "scripts/arch-config.py"),
|
|
||||||
)
|
|
||||||
config = importlib.util.module_from_spec(spec)
|
|
||||||
sys.modules["config"] = config
|
|
||||||
spec.loader.exec_module(config)
|
|
||||||
# call new main function
|
|
||||||
config.main()
|
|
||||||
else:
|
|
||||||
print("Config is up to date")
|
|
||||||
# call main function
|
|
||||||
main()
|
|
@ -1,383 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
set -euo pipefail
|
|
||||||
|
|
||||||
# function to keep sudo from timing out
|
|
||||||
function func_dont_timeout {
|
|
||||||
while true; do
|
|
||||||
sudo -v
|
|
||||||
sleep 60
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
# check if user is root
|
|
||||||
if [ "$EUID" -ne 0 ]; then
|
|
||||||
sudo -v
|
|
||||||
fi
|
|
||||||
|
|
||||||
# keep sudo active in background
|
|
||||||
func_dont_timeout &
|
|
||||||
|
|
||||||
cat <<EOF
|
|
||||||
############################################################
|
|
||||||
###################### INSTALL CONFIG ######################
|
|
||||||
############################################################
|
|
||||||
EOF
|
|
||||||
|
|
||||||
echo
|
|
||||||
cat <<EOF
|
|
||||||
########################################
|
|
||||||
################ Setup ################
|
|
||||||
########################################
|
|
||||||
EOF
|
|
||||||
|
|
||||||
# get script directory
|
|
||||||
scriptloc="$BASH_SOURCE"
|
|
||||||
|
|
||||||
# Use temporary directory for download
|
|
||||||
tempdir="$(mktemp -d)"
|
|
||||||
|
|
||||||
echo "Checking config file"
|
|
||||||
|
|
||||||
#clone this repo
|
|
||||||
git clone -b main https://gitea.exu.li/realstickman/configs.git "$tempdir" &>/dev/null
|
|
||||||
|
|
||||||
# check if the install scripts are the same
|
|
||||||
# NOTE Arguments get passed automatically now
|
|
||||||
if ! cmp --silent "$scriptloc" "$HOME/scripts/arch-config.sh"; then
|
|
||||||
echo Removed old config file and launched new one.
|
|
||||||
cp "$tempdir/arch-config/scripts/arch-config.sh" "$HOME/scripts/" && bash ~/scripts/arch-config.sh "$@"
|
|
||||||
fi
|
|
||||||
|
|
||||||
####################
|
|
||||||
#### Arguments ####
|
|
||||||
####################
|
|
||||||
|
|
||||||
copy_firefox=0
|
|
||||||
|
|
||||||
# handle arguments
|
|
||||||
# TODO
|
|
||||||
if [[ "$#" -eq 1 ]]; then
|
|
||||||
if [[ "$1" == "-f" || "$1" == "--firefox" ]]; then
|
|
||||||
copy_firefox=1
|
|
||||||
elif [[ "$1" == "-h" || "$1" == "--help" ]]; then
|
|
||||||
echo "-h, --help Show help menu"
|
|
||||||
echo "-f, --firefox Update firefox config"
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
elif [[ "$#" -gt 1 ]]; then
|
|
||||||
echo "Too many arguments"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo
|
|
||||||
cat <<EOF
|
|
||||||
########################################
|
|
||||||
################ Backup ################
|
|
||||||
########################################
|
|
||||||
EOF
|
|
||||||
|
|
||||||
# Collect all PIDs of background processes that shoulb be waited for
|
|
||||||
pids=""
|
|
||||||
|
|
||||||
####################
|
|
||||||
##### Cleaning #####
|
|
||||||
####################
|
|
||||||
|
|
||||||
#delete previous backups
|
|
||||||
echo Removing old backup
|
|
||||||
if [[ -d ~/old_dat ]]; then
|
|
||||||
rm -rf ~/old_dat
|
|
||||||
fi
|
|
||||||
|
|
||||||
####################
|
|
||||||
##### Creating #####
|
|
||||||
####################
|
|
||||||
|
|
||||||
# make new backup
|
|
||||||
echo Creating backup
|
|
||||||
mkdir -p ~/old_dat/
|
|
||||||
mkdir -p ~/old_dat/.mozilla
|
|
||||||
mkdir -p ~/old_dat/scripts
|
|
||||||
mkdir -p ~/old_dat/.ssh
|
|
||||||
|
|
||||||
# make subdirectories
|
|
||||||
mkdir -p ~/old_dat/.local/share
|
|
||||||
|
|
||||||
#config folders
|
|
||||||
if [[ -d ~/.config/ ]]; then
|
|
||||||
rsync -ah ~/.config/ ~/old_dat/
|
|
||||||
fi
|
|
||||||
|
|
||||||
# .ssh folder
|
|
||||||
if [[ -d ~/.ssh ]]; then
|
|
||||||
rsync -ah ~/.ssh ~/old_dat/
|
|
||||||
fi
|
|
||||||
|
|
||||||
# local folder
|
|
||||||
if [[ -d ~/.local/share/applications ]]; then
|
|
||||||
rsync -ah ~/.local/share/applications/ ~/old_dat/.local/share/
|
|
||||||
fi
|
|
||||||
|
|
||||||
# mozilla
|
|
||||||
if [[ -d ~/.mozilla ]]; then
|
|
||||||
rsync -ah ~/.mozilla ~/old_dat/
|
|
||||||
fi
|
|
||||||
|
|
||||||
# scripts
|
|
||||||
if [[ -d ~/scripts ]]; then
|
|
||||||
rsync -ah ~/scripts ~/old_dat/
|
|
||||||
fi
|
|
||||||
|
|
||||||
# remove old templates
|
|
||||||
if [[ -d ~/.config/Vorlagen ]]; then
|
|
||||||
rm -r ~/.config/Vorlagen
|
|
||||||
fi
|
|
||||||
|
|
||||||
# remove old scripts in path
|
|
||||||
if [[ -d ~/scripts/in_path ]]; then
|
|
||||||
rm -r ~/scripts/in_path
|
|
||||||
fi
|
|
||||||
|
|
||||||
# remove old script pieces
|
|
||||||
if [[ -d ~/scripts/pieces ]]; then
|
|
||||||
rm -r ~/scripts/pieces
|
|
||||||
fi
|
|
||||||
|
|
||||||
# remove old polybar scripts
|
|
||||||
if [[ -d ~/scripts/polybar ]]; then
|
|
||||||
rm -r ~/scripts/polybar
|
|
||||||
fi
|
|
||||||
|
|
||||||
# remove archived scripts
|
|
||||||
if [[ -d ~/scripts/archive ]]; then
|
|
||||||
rm -r ~/scripts/archive
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo
|
|
||||||
cat <<EOF
|
|
||||||
########################################
|
|
||||||
########### Copy New Config ###########
|
|
||||||
########################################
|
|
||||||
EOF
|
|
||||||
|
|
||||||
#copy folders
|
|
||||||
cp -r "$tempdir/arch-config/.config/" ~/
|
|
||||||
cp -r "$tempdir/arch-config/.local/" ~/
|
|
||||||
cp -r "$tempdir/arch-config/.ssh" ~/
|
|
||||||
|
|
||||||
# copy firefox only if "-f" or "--firefox" is given as argument
|
|
||||||
# TODO
|
|
||||||
if [[ copy_firefox -eq 1 ]]; then
|
|
||||||
if [[ -d ~/.mozilla/firefox ]]; then
|
|
||||||
# NOTE check if firefox default-release directory exists. 1 is good, 0 is bad
|
|
||||||
firefoxdir=$(find ~/.mozilla/firefox/ -name \*.default-release | wc -l)
|
|
||||||
if [[ $firefoxdir -eq 1 ]]; then
|
|
||||||
cp -r "$tempdir/arch-config/.mozilla/firefox/default-release/"* ~/.mozilla/firefox/*.default-release/
|
|
||||||
else
|
|
||||||
echo "Please launch firefox and then update the config again"
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
echo "Please launch firefox and then update the config again"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
#copy single files
|
|
||||||
cp -r "$tempdir/arch-config/.face" ~/
|
|
||||||
cp -r "$tempdir/arch-config/.gtkrc-2.0" ~/
|
|
||||||
cp -r "$tempdir/arch-config/.gitconfig" ~/
|
|
||||||
echo Copied files
|
|
||||||
|
|
||||||
#copy scripts
|
|
||||||
mkdir -p "$HOME/scripts"
|
|
||||||
cp -r "$tempdir/arch-config/scripts/" ~/
|
|
||||||
|
|
||||||
#copy stuff to /etc
|
|
||||||
sudo cp -r "$tempdir/arch-config/etc" /
|
|
||||||
|
|
||||||
# Copy pacman config depending on system architecture
|
|
||||||
# This is required due to differences in available repos between Arch on x86_64 and ALARM for aarch64
|
|
||||||
if [ "$(uname --machine)" == "x86_64" ]; then
|
|
||||||
sudo cp "/etc/pacman-x86_64.conf" "/etc/pacman.conf"
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo Copied folders
|
|
||||||
|
|
||||||
# Set xdg-user-dirs as environment variables
|
|
||||||
ln -sf "$HOME/.config/user-dirs.dirs" "$HOME/.config/environment.d/user-dirs.dirs.conf"
|
|
||||||
|
|
||||||
echo
|
|
||||||
cat <<EOF
|
|
||||||
####################
|
|
||||||
##### Bash Cat #####
|
|
||||||
####################
|
|
||||||
EOF
|
|
||||||
|
|
||||||
# download cat as cat
|
|
||||||
echo "Installing bash cat"
|
|
||||||
mkdir "$tempdir/bash-cat-with-cat"
|
|
||||||
git clone https://github.com/RealStickman/bash-cat-with-cat.git "$tempdir/bash-cat-with-cat" &>/dev/null
|
|
||||||
cp "$tempdir/bash-cat-with-cat/cat.sh" "$HOME/scripts/pieces/cat.sh"
|
|
||||||
|
|
||||||
echo
|
|
||||||
cat <<EOF
|
|
||||||
########################################
|
|
||||||
############### Services ###############
|
|
||||||
########################################
|
|
||||||
EOF
|
|
||||||
|
|
||||||
# reload systemd user scripts
|
|
||||||
systemctl --user daemon-reload
|
|
||||||
|
|
||||||
# set systemd services for vmware (only if installed)
|
|
||||||
if [[ $(pacman -Q | grep vmware-workstation) ]]; then
|
|
||||||
sudo systemctl enable --now vmware-networks.service || echo "Service failed, continuing"
|
|
||||||
sudo systemctl enable --now vmware-usbarbitrator.service || echo "Service failed, continuing"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# FIXME temporary migrate container store
|
|
||||||
if [ -f "$HOME/.config/containers/storage.conf" ]; then
|
|
||||||
rm "$HOME/.config/containers/storage.conf"
|
|
||||||
podman system reset -f
|
|
||||||
fi
|
|
||||||
|
|
||||||
# enable fstrim timer
|
|
||||||
sudo systemctl enable fstrim.timer
|
|
||||||
|
|
||||||
# enable btrfs maintenance timers
|
|
||||||
if [[ $(pacman -Q | grep btrfsmaintenance) ]]; then
|
|
||||||
sudo systemctl restart btrfsmaintenance-refresh.service
|
|
||||||
sudo systemctl enable btrfs-balance.timer
|
|
||||||
sudo systemctl enable btrfs-scrub.timer
|
|
||||||
fi
|
|
||||||
|
|
||||||
# enable systemd-timesyncd (ntp service)
|
|
||||||
sudo timedatectl set-ntp true
|
|
||||||
|
|
||||||
# enable ssh-agent
|
|
||||||
systemctl --user enable --now ssh-agent
|
|
||||||
|
|
||||||
# enable reflector timer
|
|
||||||
if [[ $(pacman -Q | grep reflector) ]]; then
|
|
||||||
sudo systemctl enable reflector.timer
|
|
||||||
fi
|
|
||||||
|
|
||||||
# enable vnstat
|
|
||||||
sudo systemctl enable vnstat
|
|
||||||
|
|
||||||
echo
|
|
||||||
cat <<EOF
|
|
||||||
########################################
|
|
||||||
################ Groups ################
|
|
||||||
########################################
|
|
||||||
EOF
|
|
||||||
|
|
||||||
# set systemd and group for vmware (only if installed)
|
|
||||||
if [[ $(pacman -Q | grep vmware-workstation) ]]; then
|
|
||||||
echo "Setting up group for vmware"
|
|
||||||
sudo groupadd -f vmware
|
|
||||||
sudo gpasswd -a "$USER" vmware 1>/dev/null
|
|
||||||
fi
|
|
||||||
|
|
||||||
# set group for libvirt
|
|
||||||
if [[ $(pacman -Q | grep libvirt) ]]; then
|
|
||||||
echo "Setting group for libvirt"
|
|
||||||
sudo gpasswd -a "$USER" libvirt 1>/dev/null
|
|
||||||
fi
|
|
||||||
|
|
||||||
# set group for wireshark (only if installed)
|
|
||||||
# TODO
|
|
||||||
if [[ $(pacman -Q | grep wireshark-qt) ]]; then
|
|
||||||
echo "Setting up group for wireshark"
|
|
||||||
sudo groupadd -f wireshark
|
|
||||||
sudo gpasswd -a "$USER" wireshark 1>/dev/null
|
|
||||||
fi
|
|
||||||
|
|
||||||
# add group for corectrl
|
|
||||||
if [[ $(pacman -Q | grep corectrl) ]]; then
|
|
||||||
echo "Setting up group for corectrl"
|
|
||||||
sudo groupadd -f corectrl
|
|
||||||
sudo gpasswd -a "$USER" corectrl 1>/dev/null
|
|
||||||
fi
|
|
||||||
|
|
||||||
# group for controlling backlight
|
|
||||||
echo "Setting group for backlight"
|
|
||||||
sudo groupadd -f video
|
|
||||||
sudo gpasswd -a "$USER" video 1>/dev/null
|
|
||||||
|
|
||||||
# render group
|
|
||||||
echo "Setting group for GPU passing"
|
|
||||||
sudo groupadd -f render
|
|
||||||
sudo gpasswd -a "$USER" render 1>/dev/null
|
|
||||||
|
|
||||||
# group for monitoring wireguard
|
|
||||||
echo "Setting group for wireguard"
|
|
||||||
sudo groupadd -f wireguard
|
|
||||||
sudo gpasswd -a "$USER" wireguard 1>/dev/null
|
|
||||||
|
|
||||||
echo
|
|
||||||
cat <<EOF
|
|
||||||
########################################
|
|
||||||
############# Misc Config #############
|
|
||||||
########################################
|
|
||||||
EOF
|
|
||||||
|
|
||||||
# set permissions for sudoers.d to root only
|
|
||||||
sudo chown root:root -R /etc/sudoers.d/
|
|
||||||
sudo chmod 600 -R /etc/sudoers.d/
|
|
||||||
|
|
||||||
#make bash scripts executable
|
|
||||||
chmod +x -R ~/scripts
|
|
||||||
|
|
||||||
# make applications executable
|
|
||||||
chmod +x -R ~/.local/share/applications
|
|
||||||
|
|
||||||
#remove downloaded folder
|
|
||||||
# TODO
|
|
||||||
rm -rf ~/config
|
|
||||||
|
|
||||||
echo
|
|
||||||
cat <<EOF
|
|
||||||
########################################
|
|
||||||
############## Reloading ##############
|
|
||||||
########################################
|
|
||||||
EOF
|
|
||||||
|
|
||||||
# reload applications
|
|
||||||
update-desktop-database ~/.local/share/applications/
|
|
||||||
|
|
||||||
# sync doom-emacs only if it is installed
|
|
||||||
if [[ -f ~/.config/emacs/bin/doom ]]; then
|
|
||||||
~/.config/emacs/bin/doom sync &
|
|
||||||
pids="$pids $!"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# disable freedesktop notification daemon
|
|
||||||
#if [[ -f "/usr/share/dbus-1/services/org.freedesktop.Notifications.service" ]]; then
|
|
||||||
# sudo mv /usr/share/dbus-1/services/org.freedesktop.Notifications.service /usr/share/dbus-1/services/org.freedesktop.Notifications.service.disabled
|
|
||||||
#fi
|
|
||||||
|
|
||||||
# wait for all background jobs to finish
|
|
||||||
wait $pids && echo "Finished background jobs"
|
|
||||||
|
|
||||||
echo
|
|
||||||
cat <<EOF
|
|
||||||
########################################
|
|
||||||
############### Finished ###############
|
|
||||||
########################################
|
|
||||||
EOF
|
|
||||||
|
|
||||||
#output
|
|
||||||
echo -e "\033[38;2;20;200;20mFinished updating everything!\033[0m"
|
|
||||||
echo Launching new shell!
|
|
||||||
|
|
||||||
# reminder for enable additional gpu features for corectrl with amd gpus
|
|
||||||
if [[ $(pacman -Q | grep corectrl) ]]; then
|
|
||||||
echo -e "\033[38;2;200;20;20mRemember to set \"amdgpu.ppfeaturemask=0xffffffff\" in the kernel!!\033[0m"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# reload user default shell
|
|
||||||
exec "$(getent passwd $LOGNAME | cut -d: -f7)"
|
|
||||||
|
|
||||||
# exit successfully
|
|
||||||
exit 0
|
|
@ -1,21 +0,0 @@
|
|||||||
MIT License
|
|
||||||
|
|
||||||
Copyright (c) 2021 RealStickman
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
|
||||||
in the Software without restriction, including without limitation the rights
|
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
copies of the Software, and to permit persons to whom the Software is
|
|
||||||
furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in all
|
|
||||||
copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
||||||
SOFTWARE.
|
|
@ -1,53 +0,0 @@
|
|||||||
#!/usr/bin/env python
|
|
||||||
|
|
||||||
import os,re, datetime
|
|
||||||
d = '/var/lib/pacman/local'
|
|
||||||
|
|
||||||
packages = os.listdir(d)
|
|
||||||
packages.sort()
|
|
||||||
packages.remove('ALPM_DB_VERSION')
|
|
||||||
|
|
||||||
pkgname_search = re.compile('^(.*?)-[0-9]')
|
|
||||||
|
|
||||||
old_packages = []
|
|
||||||
|
|
||||||
for pkg1 in packages:
|
|
||||||
if pkg1 in old_packages:
|
|
||||||
continue
|
|
||||||
|
|
||||||
#get package name
|
|
||||||
matches = pkgname_search.findall(pkg1)
|
|
||||||
print(pkg1)
|
|
||||||
if matches == []:
|
|
||||||
continue
|
|
||||||
pkgname = matches[0]
|
|
||||||
|
|
||||||
#look for other items with the same package name
|
|
||||||
for pkg2 in packages:
|
|
||||||
if pkg2 == pkg1:
|
|
||||||
continue
|
|
||||||
if pkg2 in old_packages:
|
|
||||||
continue
|
|
||||||
if pkgname == pkgname_search.findall(pkg2)[0]:
|
|
||||||
# We now have two duplicate packages, we want to delete the old one
|
|
||||||
|
|
||||||
old_package = pkg1
|
|
||||||
path1 = os.path.join(d,pkg1)
|
|
||||||
path2 = os.path.join(d,pkg2)
|
|
||||||
if os.stat(path1).st_mtime > os.stat(path2).st_mtime:
|
|
||||||
old_package = pkg2
|
|
||||||
|
|
||||||
old_packages.append(old_package)
|
|
||||||
#print ('duplicate found:\t')
|
|
||||||
#print (pkg1)
|
|
||||||
#print (pkg2)
|
|
||||||
#print ('old:', old_package)
|
|
||||||
|
|
||||||
oldpath = os.path.join(d,old_package)
|
|
||||||
target = os.path.join('/var/lib/pacman/OLD',old_package)
|
|
||||||
cmd = 'mv "%s" "%s"' % (oldpath, target)
|
|
||||||
|
|
||||||
#double-check that the oldpath still exists (it may have been removed in a previous pass)
|
|
||||||
if os.path.exists(oldpath):
|
|
||||||
print(cmd)
|
|
||||||
os.system(cmd)
|
|
@ -1,384 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
set -euo pipefail
|
|
||||||
|
|
||||||
# function to keep sudo from timing out
|
|
||||||
function func_dont_timeout {
|
|
||||||
while true; do
|
|
||||||
sudo -v
|
|
||||||
sleep 60
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
# check if user is root
|
|
||||||
if [ "$EUID" -ne 0 ]; then
|
|
||||||
sudo -v
|
|
||||||
fi
|
|
||||||
|
|
||||||
# keep sudo active in background
|
|
||||||
func_dont_timeout &
|
|
||||||
|
|
||||||
# get script directory
|
|
||||||
scriptloc="$BASH_SOURCE"
|
|
||||||
setupdir=$(dirname "$scriptloc")
|
|
||||||
|
|
||||||
# check if multilib repo is enabled
|
|
||||||
if ! pacman -Sl multilib &>/dev/null; then
|
|
||||||
echo "Please enable the multilib repository first"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
# fix install problems
|
|
||||||
echo Updating keyring
|
|
||||||
sudo pacman -Sy --noconfirm archlinux-keyring
|
|
||||||
echo Updating repos and packages
|
|
||||||
sudo pacman -Syu
|
|
||||||
echo Select packages to install
|
|
||||||
|
|
||||||
# remove previously selected packages on reruns
|
|
||||||
if [ -f "$setupdir/selectedpkgs.txt" ]; then
|
|
||||||
rm "$setupdir/selectedpkgs.txt"
|
|
||||||
fi
|
|
||||||
if [ -f "$setupdir/aurselectedpkgs.txt" ]; then
|
|
||||||
rm "$setupdir/aurselectedpkgs.txt"
|
|
||||||
fi
|
|
||||||
|
|
||||||
cmd=(dialog --separate-output --checklist "Select Desktop environment/Window manager:" 22 76 16)
|
|
||||||
options=(100 "[WM] sway" off)
|
|
||||||
choices=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty)
|
|
||||||
clear
|
|
||||||
for choice in $choices; do
|
|
||||||
case $choice in
|
|
||||||
100)
|
|
||||||
printf '%s\n' 'sway' 'swaylock' 'swayidle' 'swaybg' 'xorg-xwayland' 'xdg-desktop-portal-wlr' 'xdg-desktop-portal-gtk' 'qt5-wayland' 'qt6-wayland' >>"$setupdir/selectedpkgs.txt"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
|
|
||||||
cmd=(dialog --separate-output --checklist "Select browsers:" 22 76 16)
|
|
||||||
options=(0 "Firefox" on # any option can be set to default to "on"
|
|
||||||
10 "Chromium" off
|
|
||||||
20 "Torbrowser" off)
|
|
||||||
choices=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty)
|
|
||||||
clear
|
|
||||||
for choice in $choices; do
|
|
||||||
case $choice in
|
|
||||||
0)
|
|
||||||
echo "firefox" >>"$setupdir/selectedpkgs.txt"
|
|
||||||
;;
|
|
||||||
10)
|
|
||||||
echo "chromium" >>"$setupdir/selectedpkgs.txt"
|
|
||||||
;;
|
|
||||||
20)
|
|
||||||
echo "torbrowser-launcher" >>"$setupdir/selectedpkgs.txt"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
|
|
||||||
cmd=(dialog --separate-output --checklist "Select other programs:" 22 76 16)
|
|
||||||
options=(0 "VirtManager" off # any option can be set to default to "on"
|
|
||||||
1 "VMWare Workstation" off
|
|
||||||
10 "Steam" off
|
|
||||||
11 "Lutris" off
|
|
||||||
12 "Citra" off
|
|
||||||
20 "Krita" off
|
|
||||||
21 "Gimp" off
|
|
||||||
31 "YT-dlp" on
|
|
||||||
32 "Megatools" off
|
|
||||||
40 "Handbrake" off
|
|
||||||
41 "Audacity" off
|
|
||||||
42 "k3b" off
|
|
||||||
43 "kid3" off
|
|
||||||
60 "Discord" on
|
|
||||||
61 "Element" off
|
|
||||||
62 "Telegram" off
|
|
||||||
70 "TestSSL" off
|
|
||||||
80 "Onedriver" off)
|
|
||||||
choices=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty)
|
|
||||||
clear
|
|
||||||
for choice in $choices; do
|
|
||||||
case $choice in
|
|
||||||
0)
|
|
||||||
printf '%s\n' 'qemu' 'virt-manager' 'ebtables' 'dnsmasq' 'edk2-ovmf' >>"$setupdir/selectedpkgs.txt"
|
|
||||||
;;
|
|
||||||
1)
|
|
||||||
echo "vmware-workstation" >>"$setupdir/aurselectedpkgs.txt"
|
|
||||||
;;
|
|
||||||
10)
|
|
||||||
printf '%s\n' 'steam' 'steam-native-runtime' >>"$setupdir/selectedpkgs.txt"
|
|
||||||
;;
|
|
||||||
11)
|
|
||||||
echo "lutris" >>"$setupdir/selectedpkgs.txt"
|
|
||||||
;;
|
|
||||||
12)
|
|
||||||
echo "citra-qt-git" >>"$setupdir/aurselectedpkgs.txt"
|
|
||||||
;;
|
|
||||||
20)
|
|
||||||
echo "krita" >>"$setupdir/selectedpkgs.txt"
|
|
||||||
;;
|
|
||||||
21)
|
|
||||||
echo "gimp" >>"$setupdir/selectedpkgs.txt"
|
|
||||||
;;
|
|
||||||
31)
|
|
||||||
printf '%s\n' 'yt-dlp' >>"$setupdir/aurselectedpkgs.txt"
|
|
||||||
;;
|
|
||||||
32)
|
|
||||||
echo "megatools-bin" >>"$setupdir/aurselectedpkgs.txt"
|
|
||||||
;;
|
|
||||||
40)
|
|
||||||
echo "handbrake" >>"$setupdir/selectedpkgs.txt"
|
|
||||||
;;
|
|
||||||
41)
|
|
||||||
echo "audacity" >>"$setupdir/selectedpkgs.txt"
|
|
||||||
;;
|
|
||||||
42)
|
|
||||||
printf '%s\n' 'k3b' 'cdparanoia' 'cdrdao' 'cdrtools' 'dvd+rw-tools' 'emovix' 'transcode' 'vcdimager' >>"$setupdir/selectedpkgs.txt"
|
|
||||||
;;
|
|
||||||
43)
|
|
||||||
echo "kid3" >>"$setupdir/selectedpkgs.txt"
|
|
||||||
;;
|
|
||||||
60)
|
|
||||||
echo "discord" >>"$setupdir/selectedpkgs.txt"
|
|
||||||
;;
|
|
||||||
61)
|
|
||||||
echo "element-desktop" >>"$setupdir/selectedpkgs.txt"
|
|
||||||
;;
|
|
||||||
62)
|
|
||||||
echo "telegram-desktop" >>"$setupdir/selectedpkgs.txt"
|
|
||||||
;;
|
|
||||||
70)
|
|
||||||
echo "testssl.sh" >>"$setupdir/selectedpkgs.txt"
|
|
||||||
;;
|
|
||||||
80)
|
|
||||||
echo "onedriver" >>"$setupdir/aurselectedpkgs.txt"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
|
|
||||||
in_acpufreq=0
|
|
||||||
|
|
||||||
cmd=(dialog --separate-output --checklist "Performance and Battery life" 22 76 16)
|
|
||||||
options=(0 "auto-cpufreq" off
|
|
||||||
1 "corectrl" off)
|
|
||||||
choices=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty)
|
|
||||||
clear
|
|
||||||
for choice in $choices; do
|
|
||||||
case $choice in
|
|
||||||
0)
|
|
||||||
in_acpufreq=1
|
|
||||||
echo "auto-cpufreq-git" >>"$setupdir/aurselectedpkgs.txt"
|
|
||||||
# TODO Handle rest of installation
|
|
||||||
;;
|
|
||||||
1)
|
|
||||||
echo "corectrl" >>"$setupdir/aurselectedpkgs.txt"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
|
|
||||||
in_doomemacs=0
|
|
||||||
in_podman=0
|
|
||||||
|
|
||||||
cmd=(dialog --separate-output --checklist "Devtools" 22 76 16)
|
|
||||||
options=(0 "doom-emacs" off
|
|
||||||
10 "Podman" off)
|
|
||||||
choices=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty)
|
|
||||||
clear
|
|
||||||
for choice in $choices; do
|
|
||||||
case $choice in
|
|
||||||
0)
|
|
||||||
in_doomemacs=1
|
|
||||||
# TODO sort pacman and AUR packages
|
|
||||||
# pychecker not in AUR anymore
|
|
||||||
printf '%s\n' 'git' 'emacs-wayland' 'ripgrep' 'fd' 'pandoc' 'shellcheck' 'python-pipenv' 'python-isort' 'python-pytest' 'python-rednose' 'pychecker' 'texlive-core' 'pyright' 'python-grip' 'prettier' 'shfmt' 'vscode-css-languageserver' 'ruby-sass' >>"$setupdir/aurselectedpkgs.txt"
|
|
||||||
# TODO handle rest of installation
|
|
||||||
;;
|
|
||||||
10)
|
|
||||||
in_podman=1
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
|
|
||||||
cmd=(dialog --separate-output --checklist "Report installed packages?" 22 76 16)
|
|
||||||
options=(0 "pkgstats" off)
|
|
||||||
choices=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty)
|
|
||||||
clear
|
|
||||||
for choice in $choices; do
|
|
||||||
case $choice in
|
|
||||||
0)
|
|
||||||
echo "pkgstats" >>"$setupdir/selectedpkgs.txt"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
|
|
||||||
if [ -f "$setupdir/notfoundpackages.txt" ]; then
|
|
||||||
rm "$setupdir/notfoundpackages.txt"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# NOTE on unattended pacman installing
|
|
||||||
# Option 1: Will assume the default choice
|
|
||||||
#--noconfirm
|
|
||||||
# Option 2: Will always choose "yes", locale override needed to work all the time (might fail for other locales)
|
|
||||||
#yes | LC_ALL=en_US.UTF-8 pacman ...
|
|
||||||
#
|
|
||||||
# excpect & send
|
|
||||||
|
|
||||||
#uninstalling unused packages
|
|
||||||
echo Uninstalling unused packages
|
|
||||||
set +e
|
|
||||||
while read package; do
|
|
||||||
sudo pacman -Rns --noconfirm "$package"
|
|
||||||
done <"$setupdir/packages/uninstall.txt"
|
|
||||||
set -e
|
|
||||||
|
|
||||||
echo Uninstalled unused packages
|
|
||||||
|
|
||||||
# explicitly install pipewire first
|
|
||||||
sudo pacman -S --needed pipewire wireplumber pipewire-jack pipewire-pulse pipewire-alsa
|
|
||||||
|
|
||||||
#pacman programs
|
|
||||||
echo Installing default pacman programs
|
|
||||||
#sudo pacman -S --needed - <"$setupdir/packages/officialpkgs.txt"
|
|
||||||
while read package; do
|
|
||||||
sudo pacman -S --needed --noconfirm "$package" || echo "$package" >>"$setupdir/notfoundpackages.txt"
|
|
||||||
done <"$setupdir/packages/officialpkgs.txt"
|
|
||||||
echo Installed official programs
|
|
||||||
|
|
||||||
#install wine
|
|
||||||
echo Installing wine
|
|
||||||
#sudo pacman -S --needed - <"$setupdir/packages/winepkgs.txt"
|
|
||||||
while read package; do
|
|
||||||
sudo pacman -S --needed --noconfirm "$package" || echo "$package" >>"$setupdir/notfoundpackages.txt"
|
|
||||||
done <"$setupdir/packages/winepkgs.txt"
|
|
||||||
echo Installed wine
|
|
||||||
|
|
||||||
# install paru-bin
|
|
||||||
if [[ ! $(pacman -Q paru) ]]; then
|
|
||||||
echo "Installing paru from the AUR"
|
|
||||||
git clone https://aur.archlinux.org/paru-bin.git
|
|
||||||
cd paru-bin
|
|
||||||
makepkg -si
|
|
||||||
cd ..
|
|
||||||
fi
|
|
||||||
|
|
||||||
# AUR
|
|
||||||
echo Installing default AUR programs
|
|
||||||
paru -S --needed - <"$setupdir/packages/aurpkgs.txt"
|
|
||||||
# TODO for btrfsmaintenance, use btrfsmaintenance (1)
|
|
||||||
# TODO for jellyfin-media-player, use jellyfin-media-player (1)
|
|
||||||
# TODO sublimme-music (1)
|
|
||||||
# TODO for ttf-iosevka, use ttf-iosevka (1)
|
|
||||||
# TODO for ttf-ms-fonts, use ttf-ms-fonts (1)
|
|
||||||
# TODO for ttf-vista-fonts, use ttf-vista-fonts (1)
|
|
||||||
# TODO nohang (1)
|
|
||||||
echo Installed AUR programs
|
|
||||||
|
|
||||||
# theming
|
|
||||||
echo Installing themes and icons
|
|
||||||
paru -S --needed - <"$setupdir/packages/theme-packages.txt"
|
|
||||||
echo Installed themes and icons
|
|
||||||
|
|
||||||
###################
|
|
||||||
#selected programs#
|
|
||||||
###################
|
|
||||||
echo Installing selected programs
|
|
||||||
|
|
||||||
# install selected packages
|
|
||||||
if [ -f "$setupdir/selectedpkgs.txt" ]; then
|
|
||||||
echo Installing from official repository
|
|
||||||
# NOTE || true to continue if no packages have been selected
|
|
||||||
sudo pacman -S --needed --noconfirm - <"$setupdir/selectedpkgs.txt" || true
|
|
||||||
fi
|
|
||||||
|
|
||||||
# install selected aur packages
|
|
||||||
if [ -f "$setupdir/aurselectedpkgs.txt" ]; then
|
|
||||||
echo Installing from AUR
|
|
||||||
# NOTE || true to continue if no packages have been selected
|
|
||||||
paru -S --needed - <"$setupdir/aurselectedpkgs.txt" || true
|
|
||||||
fi
|
|
||||||
|
|
||||||
#performance and battery life
|
|
||||||
if [ $in_acpufreq -eq 1 ]; then
|
|
||||||
echo "Installing auto-cpufreq"
|
|
||||||
paru -S --needed auto-cpufreq-git
|
|
||||||
sudo auto-cpufreq --install
|
|
||||||
sudo systemctl start auto-cpufreq
|
|
||||||
sudo systemctl enable auto-cpufreq
|
|
||||||
fi
|
|
||||||
|
|
||||||
#devtools
|
|
||||||
if [ $in_doomemacs -eq 1 ]; then
|
|
||||||
echo "Installing doom-emacs"
|
|
||||||
# doom emacs
|
|
||||||
sudo pacman -S --needed emacs-wayland git
|
|
||||||
# unsorted
|
|
||||||
paru -S --needed fd pandoc python-pipenv python-isort python-pytest texlive-core clang
|
|
||||||
# python
|
|
||||||
sudo pacman -S --needed pyright python-black python-debugpy python-pyflakes
|
|
||||||
# shell
|
|
||||||
sudo pacman -S --needed shellcheck bash-language-server shfmt
|
|
||||||
# markdown
|
|
||||||
sudo pacman -S --needed prettier
|
|
||||||
# debugger
|
|
||||||
sudo pacman -S --needed nodejs lldb lldb-mi gdb unzip
|
|
||||||
# docker
|
|
||||||
paru -S --needed dockerfile-language-server dockfmt
|
|
||||||
# lookup
|
|
||||||
sudo pacman -S --needed ripgrep
|
|
||||||
# terraform
|
|
||||||
sudo pacman -S --needed terraform
|
|
||||||
# grammar
|
|
||||||
sudo pacman -S --needed languagetool
|
|
||||||
# php
|
|
||||||
sudo pacman -S --needed php composer
|
|
||||||
# web
|
|
||||||
sudo pacman -S --needed tidy stylelint
|
|
||||||
paru -S --needed js-beautify
|
|
||||||
# rest of installation
|
|
||||||
rm -rf ~/.config/emacs
|
|
||||||
git clone --depth 1 https://github.com/doomemacs/doomemacs ~/.config/emacs
|
|
||||||
~/.config/emacs/bin/doom install
|
|
||||||
export PATH="$PATH":$HOME/.config/emacs/bin
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ $in_podman -eq 1 ]; then
|
|
||||||
echo "Installing podman"
|
|
||||||
sudo pacman -S --needed podman fuse-overlayfs buildah aardvark-dns
|
|
||||||
sudo touch /etc/subuid /etc/subgid
|
|
||||||
sudo usermod --add-subuids 100000-165536 --add-subgids 100000-165536 "$USER"
|
|
||||||
sudo groupadd -f podman
|
|
||||||
sudo usermod -aG podman "$USER"
|
|
||||||
fi
|
|
||||||
|
|
||||||
##############################
|
|
||||||
##### Configuration #####
|
|
||||||
##############################
|
|
||||||
echo Configuring packages
|
|
||||||
|
|
||||||
#change shell
|
|
||||||
chsh -s /usr/bin/fish "$USER"
|
|
||||||
|
|
||||||
#enable vnstat
|
|
||||||
sudo systemctl enable --now vnstat
|
|
||||||
|
|
||||||
# enable firewall
|
|
||||||
echo "Enabling Firewall"
|
|
||||||
sudo systemctl enable --now firewalld
|
|
||||||
# || true because firewalld doesn't work without a reboot
|
|
||||||
sudo firewall-cmd --zone=public --permanent --remove-service=ssh || true
|
|
||||||
|
|
||||||
# enable gdm
|
|
||||||
sudo systemctl enable gdm
|
|
||||||
|
|
||||||
# update fonts cache
|
|
||||||
fc-cache -f
|
|
||||||
|
|
||||||
echo Setting config
|
|
||||||
# FIXME not found
|
|
||||||
bash "$setupdir/../arch-config/install.sh"
|
|
||||||
|
|
||||||
if [[ $(pacman -Q pkgstats 2>/dev/null >/dev/null) ]]; then
|
|
||||||
pkgstats
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo Finished everything
|
|
||||||
exit 0
|
|
@ -1,298 +0,0 @@
|
|||||||
aardvark-dns
|
|
||||||
acpilight
|
|
||||||
adobe-reader-11
|
|
||||||
age
|
|
||||||
alsa-utils
|
|
||||||
amdgpu_top
|
|
||||||
amd-ucode
|
|
||||||
android-tools
|
|
||||||
ansible
|
|
||||||
arandr
|
|
||||||
autotrash
|
|
||||||
balena-etcher
|
|
||||||
bandwhich
|
|
||||||
base
|
|
||||||
base-devel
|
|
||||||
bash-language-server
|
|
||||||
bind
|
|
||||||
bitwarden
|
|
||||||
bottom
|
|
||||||
btrfs-assistant
|
|
||||||
btrfsmaintenance
|
|
||||||
btrfs-progs
|
|
||||||
buildah
|
|
||||||
ca-certificates
|
|
||||||
ca-certificates-mozilla
|
|
||||||
calibre
|
|
||||||
candy-icons-git
|
|
||||||
capitaine-cursors
|
|
||||||
catfish
|
|
||||||
chromium
|
|
||||||
clang
|
|
||||||
clblast
|
|
||||||
clinfo
|
|
||||||
cmake
|
|
||||||
comictagger
|
|
||||||
composer
|
|
||||||
compsize
|
|
||||||
corectrl
|
|
||||||
cronie
|
|
||||||
cups
|
|
||||||
davfs2
|
|
||||||
dconf-editor
|
|
||||||
deptry
|
|
||||||
dhclient
|
|
||||||
dialog
|
|
||||||
discord
|
|
||||||
dockerfile-language-server
|
|
||||||
dockfmt
|
|
||||||
dosfstools
|
|
||||||
downgrade
|
|
||||||
dunst
|
|
||||||
e2fsprogs
|
|
||||||
easyeffects
|
|
||||||
efisc2022-bin
|
|
||||||
efisc2023-bin
|
|
||||||
emacs-wayland
|
|
||||||
engrampa
|
|
||||||
exfatprogs
|
|
||||||
extra-cmake-modules
|
|
||||||
f2fs-tools
|
|
||||||
fd
|
|
||||||
feishin-bin
|
|
||||||
ffmpeg
|
|
||||||
firefox
|
|
||||||
firewalld
|
|
||||||
fish
|
|
||||||
flameshot
|
|
||||||
foliate
|
|
||||||
font-manager
|
|
||||||
fuseiso
|
|
||||||
fuse-overlayfs
|
|
||||||
fwupd
|
|
||||||
gallery-dl
|
|
||||||
gamescope
|
|
||||||
gdb
|
|
||||||
gdm
|
|
||||||
git
|
|
||||||
git-lfs
|
|
||||||
gnome-firmware
|
|
||||||
gnome-keyring
|
|
||||||
gparted
|
|
||||||
grim
|
|
||||||
gtk-engine-murrine
|
|
||||||
gvfs
|
|
||||||
gvfs-mtp
|
|
||||||
gvfs-nfs
|
|
||||||
gvfs-smb
|
|
||||||
hplip
|
|
||||||
htop
|
|
||||||
hunspell
|
|
||||||
hunspell-de
|
|
||||||
hunspell-en_gb
|
|
||||||
hunspell-en_us
|
|
||||||
hyphen-de
|
|
||||||
hyphen-en
|
|
||||||
imv
|
|
||||||
inetutils
|
|
||||||
intel-media-driver
|
|
||||||
intel-ucode
|
|
||||||
it87-dkms-git
|
|
||||||
jdk21-openjdk
|
|
||||||
jellyfin-media-player
|
|
||||||
joplin-appimage
|
|
||||||
js-beautify
|
|
||||||
kdeconnect
|
|
||||||
kid3
|
|
||||||
kitty
|
|
||||||
kvantum
|
|
||||||
kvantum-qt5
|
|
||||||
languagetool
|
|
||||||
lib32-alsa-lib
|
|
||||||
lib32-alsa-plugins
|
|
||||||
lib32-giflib
|
|
||||||
lib32-gnutls
|
|
||||||
lib32-gst-plugins-base-libs
|
|
||||||
lib32-libva
|
|
||||||
lib32-libxslt
|
|
||||||
lib32-mangohud
|
|
||||||
lib32-mpg123
|
|
||||||
lib32-ocl-icd
|
|
||||||
lib32-openal
|
|
||||||
lib32-sqlite
|
|
||||||
lib32-v4l-utils
|
|
||||||
lib32-vulkan-intel
|
|
||||||
lib32-vulkan-radeon
|
|
||||||
libaacs
|
|
||||||
libdvdcss
|
|
||||||
libdvdnav
|
|
||||||
libreoffice-fresh
|
|
||||||
libreoffice-fresh-de
|
|
||||||
libva-intel-driver
|
|
||||||
libva-mesa-driver
|
|
||||||
libva-utils
|
|
||||||
linux
|
|
||||||
linux-firmware
|
|
||||||
linux-headers
|
|
||||||
linux-zen-headers
|
|
||||||
lldb
|
|
||||||
lldb-mi
|
|
||||||
logseq-desktop
|
|
||||||
lsp-plugins-lv2
|
|
||||||
lutris
|
|
||||||
makemkv
|
|
||||||
mako
|
|
||||||
man-db
|
|
||||||
mangohud
|
|
||||||
mediainfo-gui
|
|
||||||
mesa-vdpau
|
|
||||||
minigalaxy
|
|
||||||
monero-gui
|
|
||||||
mpv-mpris
|
|
||||||
mtools
|
|
||||||
mtr
|
|
||||||
mythes-de
|
|
||||||
mythes-en
|
|
||||||
neovim
|
|
||||||
networkmanager
|
|
||||||
network-manager-applet
|
|
||||||
nextcloud-client
|
|
||||||
nfs-utils
|
|
||||||
nodejs-lts-hydrogen
|
|
||||||
nohang
|
|
||||||
notification-daemon
|
|
||||||
noto-fonts-cjk
|
|
||||||
noto-fonts-emoji
|
|
||||||
ntfs-3g
|
|
||||||
obs-studio
|
|
||||||
okular
|
|
||||||
onlyoffice-bin
|
|
||||||
opencl-headers
|
|
||||||
openresolv
|
|
||||||
openssh
|
|
||||||
opentofu
|
|
||||||
os-prober
|
|
||||||
otf-font-awesome
|
|
||||||
p7zip
|
|
||||||
pacman-contrib
|
|
||||||
pandoc-cli
|
|
||||||
paru-bin
|
|
||||||
pavucontrol
|
|
||||||
pdfsam
|
|
||||||
perl-image-exiftool
|
|
||||||
php
|
|
||||||
picom
|
|
||||||
piper
|
|
||||||
pipewire-alsa
|
|
||||||
pipewire-jack
|
|
||||||
pipewire-pulse
|
|
||||||
plasma5-themes-sweet-full-git
|
|
||||||
playerctl
|
|
||||||
podman
|
|
||||||
podman-dnsname
|
|
||||||
polkit-gnome
|
|
||||||
polybar
|
|
||||||
prettier
|
|
||||||
protonmail-bridge-bin
|
|
||||||
protontricks
|
|
||||||
pyright
|
|
||||||
python-black
|
|
||||||
python-debugpy
|
|
||||||
python-isort
|
|
||||||
python-pip
|
|
||||||
python-pipenv
|
|
||||||
python-pyflakes
|
|
||||||
qalculate-gtk
|
|
||||||
qdirstat
|
|
||||||
qt5ct
|
|
||||||
qt5-imageformats
|
|
||||||
qt6ct
|
|
||||||
qt6-wayland
|
|
||||||
rebuild-detector
|
|
||||||
refind
|
|
||||||
refind-theme-nord
|
|
||||||
reflector
|
|
||||||
restic
|
|
||||||
rig
|
|
||||||
ripgrep
|
|
||||||
rocm-hip-runtime
|
|
||||||
rocm-hip-sdk
|
|
||||||
rocm-opencl-sdk
|
|
||||||
rsync
|
|
||||||
rustscan
|
|
||||||
rustup
|
|
||||||
sardi-icons
|
|
||||||
seahorse
|
|
||||||
shellcheck
|
|
||||||
shfmt
|
|
||||||
signal-desktop
|
|
||||||
slurp
|
|
||||||
smartmontools
|
|
||||||
snap-pac
|
|
||||||
snapper
|
|
||||||
sshpass
|
|
||||||
steam
|
|
||||||
steam-native-runtime
|
|
||||||
streamrip
|
|
||||||
stress
|
|
||||||
stylelint
|
|
||||||
sublime-music
|
|
||||||
supersonic-desktop-wayland
|
|
||||||
surfn-icons-git
|
|
||||||
swappy
|
|
||||||
sway
|
|
||||||
swaybg
|
|
||||||
swayidle
|
|
||||||
swaylock
|
|
||||||
swaync
|
|
||||||
sweet-folders-icons-git
|
|
||||||
sysstat
|
|
||||||
system-config-printer
|
|
||||||
tachidesk-jui-bin
|
|
||||||
tealdeer
|
|
||||||
terraform
|
|
||||||
texlive-basic
|
|
||||||
texlive-binextra
|
|
||||||
texlive-latexrecommended
|
|
||||||
thunar
|
|
||||||
thunar-archive-plugin
|
|
||||||
thunar-media-tags-plugin
|
|
||||||
thunar-nextcloud-plugin
|
|
||||||
thunderbird
|
|
||||||
tidy
|
|
||||||
tmpmail-git
|
|
||||||
tmux
|
|
||||||
traceroute
|
|
||||||
transmission-remote-gtk
|
|
||||||
ttf-fira-code
|
|
||||||
ttf-fira-sans
|
|
||||||
ttf-iosevka
|
|
||||||
ttf-ms-fonts
|
|
||||||
ttf-vista-fonts
|
|
||||||
udiskie
|
|
||||||
unace
|
|
||||||
unrar
|
|
||||||
vdpauinfo
|
|
||||||
vim
|
|
||||||
vivictpp
|
|
||||||
vmware-workstation
|
|
||||||
vnstat
|
|
||||||
vrrtest-git
|
|
||||||
vulkan-intel
|
|
||||||
vulkan-radeon
|
|
||||||
wacomtablet
|
|
||||||
waybar
|
|
||||||
wget
|
|
||||||
whois
|
|
||||||
wine
|
|
||||||
wine-ge-custom-bin
|
|
||||||
wireguard-tools
|
|
||||||
wireplumber
|
|
||||||
wofi
|
|
||||||
xdg-desktop-portal-gtk
|
|
||||||
xdg-desktop-portal-wlr
|
|
||||||
xdg-ninja
|
|
||||||
xdg-user-dirs
|
|
||||||
xdg-utils
|
|
||||||
xfsprogs
|
|
||||||
yt-dlp
|
|
@ -1,23 +0,0 @@
|
|||||||
autotrash
|
|
||||||
bitwarden
|
|
||||||
btrfsmaintenance
|
|
||||||
davfs2
|
|
||||||
downgrade
|
|
||||||
feishin-bin
|
|
||||||
jellyfin-media-player
|
|
||||||
joplin-appimage
|
|
||||||
lib32-mangohud
|
|
||||||
mangohud
|
|
||||||
mpv-mpris
|
|
||||||
nemo-audio-tab
|
|
||||||
nohang
|
|
||||||
opentabletdriver
|
|
||||||
polybar
|
|
||||||
protonmail-bridge-bin
|
|
||||||
rig
|
|
||||||
rustscan
|
|
||||||
sublime-music
|
|
||||||
thunar-nextcloud-plugin
|
|
||||||
ttf-iosevka
|
|
||||||
ttf-ms-fonts
|
|
||||||
ttf-vista-fonts
|
|
@ -1,11 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
set -euo pipefail
|
|
||||||
|
|
||||||
cd "$HOME/GitProjects/configs/arch-setup/packages/"
|
|
||||||
|
|
||||||
readarray -d '' packagefiles < <(find "$HOME/GitProjects/configs/arch-setup/packages/" -name "*\.txt" -print0)
|
|
||||||
|
|
||||||
for file in "${packagefiles[@]}"; do
|
|
||||||
echo "Sorting $file"
|
|
||||||
cat "$file" | sort >"${file}.tmp" && mv "${file}.tmp" "$file"
|
|
||||||
done
|
|
@ -1,50 +0,0 @@
|
|||||||
adwaita-icon-theme
|
|
||||||
arcolinux-i3wm-git
|
|
||||||
arcolinux-lightdm-gtk-greeter
|
|
||||||
arcolinux-lightdm-gtk-greeter-settings
|
|
||||||
arcolinux-tweak-tool-git
|
|
||||||
arcolinux-welcome-app-git
|
|
||||||
atom
|
|
||||||
baka-mplayer
|
|
||||||
celluloid
|
|
||||||
chromium
|
|
||||||
clonezilla
|
|
||||||
cmus
|
|
||||||
code
|
|
||||||
element-desktop
|
|
||||||
engrampa
|
|
||||||
evince
|
|
||||||
evolution
|
|
||||||
evolution-data-server
|
|
||||||
galculator
|
|
||||||
geany
|
|
||||||
gnome-boxes
|
|
||||||
guvcview
|
|
||||||
kdenlive
|
|
||||||
keepass
|
|
||||||
libreoffice-extension-languagetool
|
|
||||||
matrix-mirage
|
|
||||||
nnn
|
|
||||||
numix-circle-arc-icons-git
|
|
||||||
numix-circle-icon-theme-git
|
|
||||||
numix-gtk-theme-git
|
|
||||||
numix-icon-theme-git
|
|
||||||
oh-my-zsh-git
|
|
||||||
pamac-aur
|
|
||||||
pcloud-drive
|
|
||||||
pcmanfm-gtk3
|
|
||||||
psensor
|
|
||||||
pulseaudio-equalizer-ladspa
|
|
||||||
qbittorrent
|
|
||||||
ranger
|
|
||||||
sublime-text-dev
|
|
||||||
tauon-music-box
|
|
||||||
termite
|
|
||||||
thefuck
|
|
||||||
tmux
|
|
||||||
transmission-gtk
|
|
||||||
transmission-qt
|
|
||||||
vivaldi
|
|
||||||
vlc
|
|
||||||
xfcd4-screensaver
|
|
||||||
xfce4-notifyd
|
|
@ -1,301 +0,0 @@
|
|||||||
aardvark-dns
|
|
||||||
acpilight
|
|
||||||
alsa-plugins
|
|
||||||
alsa-utils
|
|
||||||
ansible
|
|
||||||
apachedirectorystudio
|
|
||||||
arandr
|
|
||||||
autoconf
|
|
||||||
automake
|
|
||||||
aws-cli-v2
|
|
||||||
bandwhich
|
|
||||||
base
|
|
||||||
base-devel
|
|
||||||
betterlockscreen
|
|
||||||
bind
|
|
||||||
binutils
|
|
||||||
bison
|
|
||||||
bitwarden
|
|
||||||
blueman
|
|
||||||
bluez-utils
|
|
||||||
breeze
|
|
||||||
breeze-icons
|
|
||||||
btrfsmaintenance
|
|
||||||
btrfs-progs
|
|
||||||
buildah
|
|
||||||
ca-certificates
|
|
||||||
ca-certificates-mozilla
|
|
||||||
candy-icons-git
|
|
||||||
capitaine-cursors
|
|
||||||
catatonit
|
|
||||||
catfish
|
|
||||||
chromium
|
|
||||||
clang
|
|
||||||
cmake
|
|
||||||
compsize
|
|
||||||
cronie
|
|
||||||
cups
|
|
||||||
davfs2
|
|
||||||
dconf-editor
|
|
||||||
debugedit
|
|
||||||
dhclient
|
|
||||||
dialog
|
|
||||||
discord
|
|
||||||
dosfstools
|
|
||||||
downgrade
|
|
||||||
drawio-desktop-bin
|
|
||||||
dunst
|
|
||||||
easyeffects
|
|
||||||
efibootmgr
|
|
||||||
element-desktop
|
|
||||||
emacs
|
|
||||||
exfatprogs
|
|
||||||
f2fs-tools
|
|
||||||
fakeroot
|
|
||||||
fd
|
|
||||||
feishin-bin
|
|
||||||
file
|
|
||||||
findutils
|
|
||||||
firefox
|
|
||||||
firewalld
|
|
||||||
fish
|
|
||||||
flameshot
|
|
||||||
flatpak
|
|
||||||
flex
|
|
||||||
foliate
|
|
||||||
font-manager
|
|
||||||
fuse-overlayfs
|
|
||||||
fwupd
|
|
||||||
fwupd-efi
|
|
||||||
gawk
|
|
||||||
gcc
|
|
||||||
gettext
|
|
||||||
git
|
|
||||||
git-lfs
|
|
||||||
gnome-firmware
|
|
||||||
gnome-keyring
|
|
||||||
gparted
|
|
||||||
grep
|
|
||||||
groff
|
|
||||||
grub
|
|
||||||
grub-btrfs
|
|
||||||
gtk-engine-murrine
|
|
||||||
gvfs-mtp
|
|
||||||
gvfs-smb
|
|
||||||
gzip
|
|
||||||
hplip
|
|
||||||
htop
|
|
||||||
hunspell-de
|
|
||||||
hunspell-en_gb
|
|
||||||
hunspell-en_us
|
|
||||||
hyphen-de
|
|
||||||
hyphen-en
|
|
||||||
i3-wm
|
|
||||||
inetutils
|
|
||||||
intel-media-driver
|
|
||||||
intel-ucode
|
|
||||||
inxi
|
|
||||||
jellyfin-media-player
|
|
||||||
joplin-appimage
|
|
||||||
jre17-openjdk
|
|
||||||
kcm-wacomtablet
|
|
||||||
kdeconnect
|
|
||||||
kitty
|
|
||||||
krita
|
|
||||||
kvantum
|
|
||||||
kvantum-theme-sweet-git
|
|
||||||
lib32-alsa-lib
|
|
||||||
lib32-alsa-plugins
|
|
||||||
lib32-giflib
|
|
||||||
lib32-gnutls
|
|
||||||
lib32-gst-plugins-base-libs
|
|
||||||
lib32-gtk3
|
|
||||||
lib32-libgcrypt
|
|
||||||
lib32-libgpg-error
|
|
||||||
lib32-libjpeg-turbo
|
|
||||||
lib32-libldap
|
|
||||||
lib32-libpng
|
|
||||||
lib32-libpulse
|
|
||||||
lib32-libva
|
|
||||||
lib32-libxcomposite
|
|
||||||
lib32-libxinerama
|
|
||||||
lib32-libxslt
|
|
||||||
lib32-mangohud
|
|
||||||
lib32-mpg123
|
|
||||||
lib32-ncurses
|
|
||||||
lib32-ocl-icd
|
|
||||||
lib32-openal
|
|
||||||
lib32-sqlite
|
|
||||||
lib32-v4l-utils
|
|
||||||
lib32-vulkan-icd-loader
|
|
||||||
libaacs
|
|
||||||
libdvdcss
|
|
||||||
libreoffice-fresh-de
|
|
||||||
libtool
|
|
||||||
libva-intel-driver
|
|
||||||
libva-mesa-driver
|
|
||||||
libva-utils
|
|
||||||
lightdm-gtk-greeter
|
|
||||||
lightdm-gtk-greeter-settings
|
|
||||||
lightdm-settings
|
|
||||||
lightdm-slick-greeter
|
|
||||||
linux
|
|
||||||
linux-firmware
|
|
||||||
linux-headers
|
|
||||||
linux-lts
|
|
||||||
linux-lts-headers
|
|
||||||
linux-zen
|
|
||||||
linux-zen-headers
|
|
||||||
lutris
|
|
||||||
lxappearance
|
|
||||||
m4
|
|
||||||
make
|
|
||||||
man-db
|
|
||||||
mangohud
|
|
||||||
mediainfo-gui
|
|
||||||
mesa-vdpau
|
|
||||||
modemmanager
|
|
||||||
mpv-mpris
|
|
||||||
mtools
|
|
||||||
mythes-de
|
|
||||||
mythes-en
|
|
||||||
nemo-audio-tab
|
|
||||||
nemo-fileroller
|
|
||||||
nemo-preview
|
|
||||||
nemo-share
|
|
||||||
neovim
|
|
||||||
nethogs
|
|
||||||
networkmanager
|
|
||||||
network-manager-applet
|
|
||||||
nextcloud-client
|
|
||||||
nim
|
|
||||||
nimlangserver-git
|
|
||||||
nohang-git
|
|
||||||
notification-daemon
|
|
||||||
noto-fonts-cjk
|
|
||||||
noto-fonts-emoji
|
|
||||||
npm
|
|
||||||
ntfs-3g
|
|
||||||
obs-studio
|
|
||||||
ocl-icd
|
|
||||||
okular
|
|
||||||
onlyoffice-bin
|
|
||||||
openresolv
|
|
||||||
openssh
|
|
||||||
os-prober
|
|
||||||
p3x-onenote
|
|
||||||
p7zip
|
|
||||||
pacman
|
|
||||||
pandoc-cli
|
|
||||||
paru-bin
|
|
||||||
patch
|
|
||||||
pavucontrol
|
|
||||||
picom
|
|
||||||
piper
|
|
||||||
pipewire
|
|
||||||
pipewire-alsa
|
|
||||||
pipewire-jack
|
|
||||||
pipewire-pulse
|
|
||||||
pkgconf
|
|
||||||
pkgstats
|
|
||||||
playerctl
|
|
||||||
podman
|
|
||||||
podman-dnsname
|
|
||||||
polkit-gnome
|
|
||||||
polybar
|
|
||||||
prettier
|
|
||||||
prismlauncher-bin
|
|
||||||
protonmail-bridge-bin
|
|
||||||
pyright
|
|
||||||
python-isort
|
|
||||||
python-pip
|
|
||||||
python-pyqt5
|
|
||||||
python-thefuzz
|
|
||||||
qalculate-gtk
|
|
||||||
qdirstat-bin
|
|
||||||
qt5ct
|
|
||||||
qt5-imageformats
|
|
||||||
qt6ct
|
|
||||||
qxmledit
|
|
||||||
rebuild-detector
|
|
||||||
reflector
|
|
||||||
restic
|
|
||||||
rig
|
|
||||||
ripgrep
|
|
||||||
rofi
|
|
||||||
rofi-emoji
|
|
||||||
rsync
|
|
||||||
rustscan
|
|
||||||
sardi-icons
|
|
||||||
seahorse
|
|
||||||
sed
|
|
||||||
shellcheck
|
|
||||||
shfmt
|
|
||||||
signal-desktop
|
|
||||||
smartmontools
|
|
||||||
snap-pac-grub
|
|
||||||
snapper-gui-git
|
|
||||||
solaar
|
|
||||||
sshpass
|
|
||||||
ssh-tools
|
|
||||||
steam
|
|
||||||
steam-native-runtime
|
|
||||||
stress
|
|
||||||
sudo
|
|
||||||
surfn-icons-git
|
|
||||||
sweet-folders-icons-git
|
|
||||||
sweet-gtk-theme-dark
|
|
||||||
system-config-printer
|
|
||||||
tcpdump
|
|
||||||
tealdeer
|
|
||||||
teams
|
|
||||||
telegram-desktop
|
|
||||||
texinfo
|
|
||||||
texlive-basic
|
|
||||||
thunar
|
|
||||||
thunar-archive-plugin
|
|
||||||
thunar-nextcloud-plugin
|
|
||||||
thunderbird
|
|
||||||
tlpui-git
|
|
||||||
traceroute
|
|
||||||
transmission-remote-gtk
|
|
||||||
tree
|
|
||||||
ttf-fira-code
|
|
||||||
ttf-fira-sans
|
|
||||||
ttf-iosevka
|
|
||||||
ttf-ms-fonts
|
|
||||||
ttf-vista-fonts
|
|
||||||
udiskie
|
|
||||||
unace
|
|
||||||
unrar
|
|
||||||
unzip
|
|
||||||
usb_modeswitch
|
|
||||||
vdpauinfo
|
|
||||||
vim
|
|
||||||
vmware-workstation
|
|
||||||
vnstat
|
|
||||||
webkit2gtk
|
|
||||||
wget
|
|
||||||
which
|
|
||||||
whois
|
|
||||||
wine
|
|
||||||
wireguard-tools
|
|
||||||
wireshark-qt
|
|
||||||
wol
|
|
||||||
wpa_supplicant
|
|
||||||
xdg-user-dirs
|
|
||||||
xdg-utils
|
|
||||||
xdotool
|
|
||||||
xf86-input-elographics
|
|
||||||
xf86-input-evdev
|
|
||||||
xf86-input-wacom
|
|
||||||
xf86-video-amdgpu
|
|
||||||
xf86-video-ati
|
|
||||||
xf86-video-fbdev
|
|
||||||
xf86-video-intel
|
|
||||||
xf86-video-nouveau
|
|
||||||
xfce4-power-manager
|
|
||||||
xorg-xrdb
|
|
||||||
xournalpp
|
|
||||||
xsel
|
|
||||||
yt-dlp
|
|
@ -1,48 +0,0 @@
|
|||||||
alsa-lib
|
|
||||||
alsa-plugins
|
|
||||||
giflib
|
|
||||||
gnutls
|
|
||||||
gst-plugins-base-libs
|
|
||||||
gtk3
|
|
||||||
lib32-alsa-lib
|
|
||||||
lib32-alsa-plugins
|
|
||||||
lib32-giflib
|
|
||||||
lib32-gnutls
|
|
||||||
lib32-gst-plugins-base-libs
|
|
||||||
lib32-gtk3
|
|
||||||
lib32-libgcrypt
|
|
||||||
lib32-libgpg-error
|
|
||||||
lib32-libjpeg-turbo
|
|
||||||
lib32-libldap
|
|
||||||
lib32-libpng
|
|
||||||
lib32-libpulse
|
|
||||||
lib32-libva
|
|
||||||
lib32-libxcomposite
|
|
||||||
lib32-libxinerama
|
|
||||||
lib32-libxslt
|
|
||||||
lib32-mpg123
|
|
||||||
lib32-ncurses
|
|
||||||
lib32-openal
|
|
||||||
lib32-opencl-icd-loader
|
|
||||||
lib32-sqlite
|
|
||||||
lib32-v4l-utils
|
|
||||||
lib32-vulkan-icd-loader
|
|
||||||
libgcrypt
|
|
||||||
libgpg-error
|
|
||||||
libjpeg-turbo
|
|
||||||
libldap
|
|
||||||
libpng
|
|
||||||
libpulse
|
|
||||||
libva
|
|
||||||
libxcomposite
|
|
||||||
libxinerama
|
|
||||||
libxslt
|
|
||||||
mpg123
|
|
||||||
ncurses
|
|
||||||
openal
|
|
||||||
opencl-icd-loader
|
|
||||||
os-prober
|
|
||||||
sqlite
|
|
||||||
v4l-utils
|
|
||||||
vulkan-icd-loader
|
|
||||||
wine
|
|
Loading…
Reference in New Issue
Block a user