diff --git a/modules/gui/schizofox/src/.eslintrc.js b/modules/gui/schizofox/src/.eslintrc.js deleted file mode 100644 index a2bb9b1..0000000 --- a/modules/gui/schizofox/src/.eslintrc.js +++ /dev/null @@ -1,17 +0,0 @@ -module.exports = { - env: { - es2021: true, - }, - extends: "eslint:recommended", - overrides: [], - parserOptions: { - ecmaVersion: "latest", - sourceType: "module", - }, - rules: { - indent: ["error", 4], - "linebreak-style": ["error", "unix"], - quotes: ["error", "double"], - semi: ["error", "always"], - }, -}; diff --git a/modules/gui/schizofox/src/assets/blossom.png b/modules/gui/schizofox/src/assets/blossom.png deleted file mode 100644 index 2559b86..0000000 Binary files a/modules/gui/schizofox/src/assets/blossom.png and /dev/null differ diff --git a/modules/gui/schizofox/src/assets/desperation.png b/modules/gui/schizofox/src/assets/desperation.png deleted file mode 100644 index 55b4625..0000000 Binary files a/modules/gui/schizofox/src/assets/desperation.png and /dev/null differ diff --git a/modules/gui/schizofox/src/assets/flowerprint.png b/modules/gui/schizofox/src/assets/flowerprint.png deleted file mode 100644 index 75a1667..0000000 Binary files a/modules/gui/schizofox/src/assets/flowerprint.png and /dev/null differ diff --git a/modules/gui/schizofox/src/assets/flowers.png b/modules/gui/schizofox/src/assets/flowers.png deleted file mode 100644 index c359229..0000000 Binary files a/modules/gui/schizofox/src/assets/flowers.png and /dev/null differ diff --git a/modules/gui/schizofox/src/assets/logs.png b/modules/gui/schizofox/src/assets/logs.png deleted file mode 100644 index ba0251b..0000000 Binary files a/modules/gui/schizofox/src/assets/logs.png and /dev/null differ diff --git a/modules/gui/schizofox/src/assets/malachite.png b/modules/gui/schizofox/src/assets/malachite.png deleted file mode 100644 index f1c20f3..0000000 Binary files a/modules/gui/schizofox/src/assets/malachite.png and /dev/null differ diff --git a/modules/gui/schizofox/src/assets/planet.png b/modules/gui/schizofox/src/assets/planet.png deleted file mode 100644 index deb03ce..0000000 Binary files a/modules/gui/schizofox/src/assets/planet.png and /dev/null differ diff --git a/modules/gui/schizofox/src/assets/sway.png b/modules/gui/schizofox/src/assets/sway.png deleted file mode 100644 index a7f1d50..0000000 Binary files a/modules/gui/schizofox/src/assets/sway.png and /dev/null differ diff --git a/modules/gui/schizofox/src/index.html b/modules/gui/schizofox/src/index.html deleted file mode 100644 index 78591e5..0000000 --- a/modules/gui/schizofox/src/index.html +++ /dev/null @@ -1,88 +0,0 @@ - - - - - Startpage - - -
-
notashelf@nyx ~ $ > ls
- - -
- -
- -
- -
- -
- -
- - -
-
-
- - - - diff --git a/modules/gui/schizofox/src/search.js b/modules/gui/schizofox/src/search.js deleted file mode 100644 index f89dfac..0000000 --- a/modules/gui/schizofox/src/search.js +++ /dev/null @@ -1,78 +0,0 @@ -String.prototype.replaceChars = function (character, replacement) { - return this.split(character).join(replacement); -}; - -function search(query) { - const searchPrefix = query.substring(0, 2); - query = query.substring(3); - - switch (searchPrefix) { - case "-a": - window.location = `http://www.amazon.com/s/ref=nb_sb_noss_1?url=search-alias%3Daps&field-keywords=${query.replaceChars( - " ", - "+", - )}`; - break; - - case "-y": - window.location = `https://www.youtube.com/results?search_query=${query.replaceChars( - " ", - "+", - )}`; - break; - - case "-w": - window.location = `https://en.wikipedia.org/w/index.php?search=${query.replaceChars( - " ", - "%20", - )}`; - break; - - case "-m": - window.location = `http://www.wolframalpha.com/input/?i=${query.replaceChars( - "+", - "%2B", - )}`; - break; - - case "-h": - window.location = `http://alpha.wallhaven.cc/search?q=${query}&categories=111&purity=100&resolutions=1920x1080&sorting=relevance&order=desc`; - break; - - default: - window.location = `https://search.notashelf.dev/search?q=${query.replaceChars( - " ", - "+", - )}&categories=general`; - } -} - -window.onload = function () { - const searchInput = document.getElementById("searchbox"); - if (searchInput) { - searchInput.addEventListener("keypress", function (event) { - if (event.keyCode === 13) { - search(this.value); - } - }); - } -}; - -// -// To add a new search provider, paste the following between the last "break;" and "default:" (Line 39 & 40) -// -// case "-a": -// query = query.substr(3); -// window.location = -// "https://en.website.com/" + -// query.replaceChars(" ", "%20"); -// break; -// -// -a on ln68 should be replaced with a "-letter" of your choice. You can also change it to !a, .a, /a etc. -// https://en.website.com/ on ln70 should be replaced with the search page of the website. To find this, make a few searches on your website. -//Try to identify where your search is in the URL. If you're not sure, post in the thread and someone should help you out -// -// You can use the above two to modify an existing rule -// -// If you wish to change the number of characters in a "case", you need to change the line below, changing query.substr() to n+1, n being the number of characters. -// This ensures that when you search for something, the whole of your idenfier and the space between the identifier and query are removed. diff --git a/modules/gui/schizofox/src/style.css b/modules/gui/schizofox/src/style.css deleted file mode 100644 index 77e344d..0000000 --- a/modules/gui/schizofox/src/style.css +++ /dev/null @@ -1,130 +0,0 @@ -body { - background-color: #11111b; - color: #cdd6f4; -} - -#Title { - font-family: "Malgun Gothic"; - text-align: center; - color: #cdd6f4; - margin-top: 75px; -} - -#searchbox { - width: 500; - height: 4%; - border: none; - border-radius: 2px; - outline: none; - padding-left: 15px; - text-align: left; - background-color: #1e1e2e; - color: #cdd6f4; - font-size: 15px; - font-family: "Malgun Gothic", sans-serif; - display: block; - margin: auto; - margin-top: 50px; -} - -#stripe { - width: 100%; - vertical-align: middle; -} - -#mainframe { - text-align: center; - position: absolute; - top: 25%; - left: 16%; - right: 11%; -} - -#footer { - position: absolute; - bottom: 0; - right: 0; - text-align: right; - padding: 10px; - font-size: 30%; -} - -#linkblock { - width: 20%; - height: 140px; - margin-left: 25px; - margin-right: 30px; - margin-top: 30px; - margin-bottom: 40px; - padding-left: 67px; - padding-right: 1px; - padding-top: 0px; - padding-bottom: 5px; - color: #cdd6f4; - text-align: left; - background-position: top 0px left 0px; - background-repeat: no-repeat; - font-family: "Malgun Gothic"; - font-size: 100%; - display: inline-block; - vertical-align: top; - border-left: 3px solid #181825; - transition: 0.5s; -} - -ul { - list-style-type: none; - padding-left: 0; -} - -a:link { - text-decoration: none; - font-weight: normal; - color: #89b4fa; -} -a:visited { - text-decoration: none; - font-weight: normal; - color: #89b4fa; -} -a:hover { - text-decoration: none; - font-weight: normal; - color: #b4befe; -} -a:active { - text-decoration: none; - font-weight: normal; - color: #89b4fa; -} -a:focus { - text-decoration: none; - font-weight: normal; - color: #89b4fa; -} - -#footer a:link { - text-decoration: none; - font-weight: normal; - color: #101010; -} -#footer a:visited { - text-decoration: none; - font-weight: normal; - color: #101010; -} -#footer a:hover { - text-decoration: none; - font-weight: normal; - color: #101010; -} -#footer a:active { - text-decoration: none; - font-weight: normal; - color: #101010; -} -#footer a:focus { - text-decoration: none; - font-weight: normal; - color: #101010; -}