mirror of
https://github.com/Lissy93/dotfiles.git
synced 2024-11-24 16:33:14 +01:00
⚰ Removes all DotBot config, switching to YADM
This commit is contained in:
parent
83d6fe2d61
commit
08881b5eee
13
.gitmodules
vendored
13
.gitmodules
vendored
@ -1,13 +0,0 @@
|
|||||||
[submodule ".dotbot"]
|
|
||||||
path = .dotbot
|
|
||||||
url = https://github.com/anishathalye/dotbot
|
|
||||||
|
|
||||||
[submodule "tmux/tpm"]
|
|
||||||
path = tmux/tpm
|
|
||||||
url = https://github.com/tmux-plugins/tpm
|
|
||||||
[submodule "zsh/antigen"]
|
|
||||||
path = zsh/antigen
|
|
||||||
url = https://github.com/zsh-users/antigen.git
|
|
||||||
[submodule "espanso"]
|
|
||||||
path = espanso
|
|
||||||
url = git@github.com:Lissy93/espanso-config.git
|
|
@ -1,37 +0,0 @@
|
|||||||
- defaults:
|
|
||||||
link:
|
|
||||||
create: true
|
|
||||||
relink: true
|
|
||||||
|
|
||||||
- clean: ['~', '~/.config']
|
|
||||||
|
|
||||||
- link:
|
|
||||||
|
|
||||||
# vim
|
|
||||||
~/.vim: vim
|
|
||||||
~/.vimrc: vim/vimrc
|
|
||||||
|
|
||||||
# Tmux
|
|
||||||
~/.tmux.conf: tmux/tmux.conf
|
|
||||||
~/.tmux/plugins: tmux/plugins
|
|
||||||
~/.tmux/plugins/tpm: tmux/tpm
|
|
||||||
|
|
||||||
#ZSH
|
|
||||||
~/.zshrc: zsh/zshrc
|
|
||||||
~/.p10k.zsh: zsh/p10k.zsh
|
|
||||||
~/.zsh/antigen: zsh/antigen
|
|
||||||
~/.zsh/themes: zsh/themes
|
|
||||||
~/.zsh/aliases: zsh/aliases
|
|
||||||
~/.zsh/plugins: zsh/plugins
|
|
||||||
|
|
||||||
# bash
|
|
||||||
~/.bash:
|
|
||||||
force: true
|
|
||||||
path: bash
|
|
||||||
~/.bashrc:
|
|
||||||
force: true
|
|
||||||
path: bash/bashrc
|
|
||||||
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
- git submodule sync --recursive
|
|
@ -1,21 +0,0 @@
|
|||||||
MIT License
|
|
||||||
|
|
||||||
Copyright (c) 2019-2020 mut-ex
|
|
||||||
|
|
||||||
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 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?><!-- Generator: Gravit.io --><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="isolation:isolate" viewBox="0 0 16 16" width="16pt" height="16pt"><defs><clipPath id="_clipPath_99lNy5iVNzBT4GJ61eRvLV4FbIJfEq2X"><rect width="16" height="16"/></clipPath></defs><g clip-path="url(#_clipPath_99lNy5iVNzBT4GJ61eRvLV4FbIJfEq2X)"><clipPath id="_clipPath_PSmJUw238rlrF3iVjoZbuIy7ApS18eFZ"><rect x="0" y="0" width="16" height="16" transform="matrix(1,0,0,1,0,0)" fill="rgb(255,255,255)"/></clipPath><g clip-path="url(#_clipPath_PSmJUw238rlrF3iVjoZbuIy7ApS18eFZ)"><g><defs><filter id="hr6gh2N39iEKGHUEUXPQ1VpI5CnFB6KP" x="-200%" y="-200%" width="400%" height="400%" filterUnits="objectBoundingBox" color-interpolation-filters="sRGB"><feGaussianBlur xmlns="http://www.w3.org/2000/svg" in="SourceGraphic" stdDeviation="1.42936090628390283"/><feOffset xmlns="http://www.w3.org/2000/svg" dx="0" dy="0" result="pf_100_offsetBlur"/><feFlood xmlns="http://www.w3.org/2000/svg" flood-color="#000000" flood-opacity="0.65"/><feComposite xmlns="http://www.w3.org/2000/svg" in2="pf_100_offsetBlur" operator="in" result="pf_100_dropShadow"/><feBlend xmlns="http://www.w3.org/2000/svg" in="SourceGraphic" in2="pf_100_dropShadow" mode="normal"/></filter></defs><g filter="url(#hr6gh2N39iEKGHUEUXPQ1VpI5CnFB6KP)"><mask id="_mask_kcpkNUVqAh3jvumwkzpWdE5WZ1TZaYfV" x="-200%" y="-200%" width="400%" height="400%"><rect x="-200%" y="-200%" width="400%" height="400%" style="fill:white;"/><path d=" M 12.487 8 L 3.513 8 M 8 3.513 L 8 12.487" fill-rule="evenodd" fill="black" stroke="none"/></mask><path d=" M 12.487 8 L 3.513 8 M 8 3.513 L 8 12.487" fill-rule="evenodd" fill="rgb(0,0,0)" mask="url(#_mask_kcpkNUVqAh3jvumwkzpWdE5WZ1TZaYfV)" vector-effect="non-scaling-stroke" stroke-width="3" stroke="rgb(255,255,255)" stroke-opacity="100" stroke-linejoin="miter" stroke-linecap="round" stroke-miterlimit="3"/><path d=" M 12.487 8 L 3.513 8 M 8 3.513 L 8 12.487" fill-rule="evenodd" fill="rgb(0,0,0)"/></g></g></g></g></svg>
|
|
Before Width: | Height: | Size: 2.0 KiB |
@ -1,74 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
echoerr() { printf "%s\n" "$*" >&2; }
|
|
||||||
|
|
||||||
download_mff() {
|
|
||||||
echoerr " [>>] Downloading..."
|
|
||||||
|
|
||||||
curl -LJ0 https://github.com/mut-ex/minimal-functional-fox/archive/master.tar.gz | tar -xz -C /tmp/
|
|
||||||
|
|
||||||
if [[ $? -eq 0 ]]; then
|
|
||||||
echoerr " [>>] Copying..."
|
|
||||||
|
|
||||||
USERCHROME="/tmp/minimal-functional-fox-master/userChrome.css"
|
|
||||||
USERCONTENT="/tmp/minimal-functional-fox-master/userContent.css"
|
|
||||||
cp -r --backup=simple -t $CHROME_DIRECTORY $USERCHROME $USERCONTENT
|
|
||||||
rm -f USERCHROME USERCONTENT
|
|
||||||
cp -r /tmp/minimal-functional-fox-master/* $CHROME_DIRECTORY
|
|
||||||
|
|
||||||
if [[ $? -eq 0 ]]; then
|
|
||||||
rm -rf /tmp/minimal-functional-fox-master
|
|
||||||
else
|
|
||||||
echoerr " [!!] There was a problem copying the files. Terminating..."
|
|
||||||
return 1
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
echoerr " [!!] There was a problem downloading the files. Terminating..."
|
|
||||||
return 1
|
|
||||||
fi
|
|
||||||
cat <<-'EOF'
|
|
||||||
_ _ _
|
|
||||||
_ __ ___ (_)_ __ (_)_ __ ___ __ _| |
|
|
||||||
| '_ ` _ \| | '_ \| | '_ ` _ \ / _` | |
|
|
||||||
| | | | | | | | | | | | | | | | (_| | |
|
|
||||||
|_|_|_| |_|_|_| |_|_|_| |_| |_|\__,_|_| _
|
|
||||||
/ _|_ _ _ __ ___| |_(_) ___ _ __ __ _| |
|
|
||||||
| |_| | | | '_ \ / __| __| |/ _ \| '_ \ / _` | |
|
|
||||||
| _| |_| | | | | (__| |_| | (_) | | | | (_| | |
|
|
||||||
|_|_ \__,_|_| |_|\___|\__|_|\___/|_| |_|\__,_|_|
|
|
||||||
/ _| _____ __
|
|
||||||
| |_ / _ \ \/ /
|
|
||||||
| _| (_) > <
|
|
||||||
|_| \___/_/\_\
|
|
||||||
|
|
||||||
EOF
|
|
||||||
echoerr " Installation successful! Enjoy :)"
|
|
||||||
}
|
|
||||||
|
|
||||||
MOZILLA_USER_DIRECTORY="$(find ~/.mozilla/firefox -maxdepth 1 -type d -regextype egrep -regex '.*[a-zA-Z0-9]+.default-release')"
|
|
||||||
|
|
||||||
if [[ -n $MOZILLA_USER_DIRECTORY ]]; then
|
|
||||||
# echoerr "mozilla user directory found: $MOZILLA_USER_DIRECTORY"
|
|
||||||
|
|
||||||
CHROME_DIRECTORY="$(find $MOZILLA_USER_DIRECTORY -maxdepth 1 -type d -name 'chrome')"
|
|
||||||
|
|
||||||
if [[ -n $CHROME_DIRECTORY ]]; then
|
|
||||||
# echoerr "chrome directory found: ""$CHROME_DIRECTORY"
|
|
||||||
download_mff
|
|
||||||
else
|
|
||||||
echoerr " [>>] No chrome directory found! Creating one..."
|
|
||||||
mkdir $MOZILLA_USER_DIRECTORY"/chrome"
|
|
||||||
if [[ $? -eq 0 ]]; then
|
|
||||||
CHROME_DIRECTORY="$MOZILLA_USER_DIRECTORY/chrome"
|
|
||||||
# echoerr "Directory succesfully created"
|
|
||||||
download_mff
|
|
||||||
else
|
|
||||||
echoerr " [!!] There was a problem creating the directory. Terminating..."
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
else
|
|
||||||
echoerr " [!!] No mozilla user directory found. Terminating..."
|
|
||||||
exit 1
|
|
||||||
fi
|
|
@ -1 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?><!-- Generator: Gravit.io --><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="isolation:isolate" viewBox="0 0 16 16" width="16pt" height="16pt"><defs><clipPath id="_clipPath_z1ZWMbJsyhiOU2QHbFJoUMhQtGZ43GMW"><rect width="16" height="16"/></clipPath></defs><g clip-path="url(#_clipPath_z1ZWMbJsyhiOU2QHbFJoUMhQtGZ43GMW)"><defs><filter id="VFDVuOTf5K98KT4GTZIfo6t2oUeOZ3OQ" x="-200%" y="-200%" width="400%" height="400%" filterUnits="objectBoundingBox" color-interpolation-filters="sRGB"><feGaussianBlur xmlns="http://www.w3.org/2000/svg" in="SourceGraphic" stdDeviation="1.42936090628390283"/><feOffset xmlns="http://www.w3.org/2000/svg" dx="0" dy="0" result="pf_100_offsetBlur"/><feFlood xmlns="http://www.w3.org/2000/svg" flood-color="#000000" flood-opacity="1"/><feComposite xmlns="http://www.w3.org/2000/svg" in2="pf_100_offsetBlur" operator="in" result="pf_100_dropShadow"/><feBlend xmlns="http://www.w3.org/2000/svg" in="SourceGraphic" in2="pf_100_dropShadow" mode="normal"/></filter></defs><g filter="url(#VFDVuOTf5K98KT4GTZIfo6t2oUeOZ3OQ)"><path d=" M 6.459 8.003 L 12.444 2.018 C 12.609 1.853 12.7 1.633 12.7 1.399 C 12.7 1.164 12.609 0.945 12.444 0.78 L 11.92 0.256 C 11.755 0.091 11.535 0 11.301 0 C 11.067 0 10.847 0.091 10.682 0.256 L 3.555 7.382 C 3.39 7.548 3.3 7.768 3.3 8.003 C 3.3 8.239 3.39 8.459 3.555 8.625 L 10.676 15.744 C 10.84 15.909 11.06 16 11.294 16 C 11.529 16 11.749 15.909 11.913 15.744 L 12.438 15.22 C 12.779 14.879 12.779 14.323 12.438 13.982 L 6.459 8.003 L 6.459 8.003 Z " fill="rgb(255,255,255)"/></g></g></svg>
|
|
Before Width: | Height: | Size: 1.6 KiB |
@ -1 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?><!-- Generator: Gravit.io --><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="isolation:isolate" viewBox="0 0 16 16" width="16pt" height="16pt"><defs><clipPath id="_clipPath_eVFSl4zvN5oTHPzyWFXDKL3KvwnaLKzR"><rect width="16" height="16"/></clipPath></defs><g clip-path="url(#_clipPath_eVFSl4zvN5oTHPzyWFXDKL3KvwnaLKzR)"><clipPath id="_clipPath_whDLWxO2Es9F8hEuhZ0p3GS4myfSGk47"><rect x="0" y="0" width="16" height="16" transform="matrix(1,0,0,1,0,0)" fill="rgb(255,255,255)"/></clipPath><g clip-path="url(#_clipPath_whDLWxO2Es9F8hEuhZ0p3GS4myfSGk47)"><g><g filter="url(#ypa27OiaF8P4AvdUhn4W059B0fCNWPt7)"><path d=" M 9.541 8.003 L 3.556 2.018 C 3.391 1.853 3.3 1.633 3.3 1.399 C 3.3 1.164 3.391 0.945 3.556 0.78 L 4.08 0.256 C 4.245 0.091 4.465 0 4.699 0 C 4.933 0 5.153 0.091 5.318 0.256 L 12.445 7.382 C 12.61 7.548 12.7 7.768 12.7 8.003 C 12.7 8.239 12.61 8.459 12.445 8.625 L 5.324 15.744 C 5.16 15.909 4.94 16 4.706 16 C 4.471 16 4.251 15.909 4.087 15.744 L 3.562 15.22 C 3.221 14.879 3.221 14.323 3.562 13.982 L 9.541 8.003 L 9.541 8.003 Z " fill="rgb(255,255,255)"/></g><defs><filter id="ypa27OiaF8P4AvdUhn4W059B0fCNWPt7" x="-200%" y="-200%" width="400%" height="400%" filterUnits="objectBoundingBox" color-interpolation-filters="sRGB"><feGaussianBlur xmlns="http://www.w3.org/2000/svg" in="SourceGraphic" stdDeviation="1.42936090628390283"/><feOffset xmlns="http://www.w3.org/2000/svg" dx="0" dy="0" result="pf_100_offsetBlur"/><feFlood xmlns="http://www.w3.org/2000/svg" flood-color="#000000" flood-opacity="1"/><feComposite xmlns="http://www.w3.org/2000/svg" in2="pf_100_offsetBlur" operator="in" result="pf_100_dropShadow"/><feBlend xmlns="http://www.w3.org/2000/svg" in="SourceGraphic" in2="pf_100_dropShadow" mode="normal"/></filter></defs></g></g></g></svg>
|
|
Before Width: | Height: | Size: 1.8 KiB |
@ -1,350 +0,0 @@
|
|||||||
:root {
|
|
||||||
|
|
||||||
/* Minimal Functional Fox variables*/
|
|
||||||
--mff-bg: #292f36;
|
|
||||||
--mff-icon-color: #e0fbfc;
|
|
||||||
--mff-nav-toolbar-padding: 8px;
|
|
||||||
--mff-sidebar-bg: var(--mff-bg);
|
|
||||||
--mff-sidebar-color: #e0fbfc;
|
|
||||||
--mff-tab-border-radius: 0px;
|
|
||||||
--mff-tab-color: #fefefa;
|
|
||||||
--mff-tab-font-family: "Cantarell", sans;
|
|
||||||
--mff-tab-font-size: 11pt;
|
|
||||||
--mff-tab-font-weight: 400;
|
|
||||||
--mff-tab-height: 32px;
|
|
||||||
--mff-tab-pinned-bg: #70c1b3;
|
|
||||||
--mff-tab-selected-bg: #ee6c4d;
|
|
||||||
--mff-tab-soundplaying-bg: #9c89b8;
|
|
||||||
--mff-urlbar-color: #98c1d9;
|
|
||||||
--mff-urlbar-focused-color: #e0fbfc;
|
|
||||||
--mff-urlbar-font-family: "Cantarell", serif;
|
|
||||||
--mff-urlbar-font-size: 12pt;
|
|
||||||
--mff-urlbar-font-weight: 700;
|
|
||||||
--mff-urlbar-results-color: #e0fbfc;
|
|
||||||
--mff-urlbar-results-font-family: "mononoki Nerd Font", serif;
|
|
||||||
--mff-urlbar-results-font-size: 12pt;
|
|
||||||
--mff-urlbar-results-font-weight: 700;
|
|
||||||
--mff-urlbar-results-url-color: #98c1d9;
|
|
||||||
/* --mff-tab-selected-bg: linear-gradient(90deg, rgba(232,74,95,1) 0%, rgba(255,132,124,1) 50%, rgba(254,206,168,1) 100%); */
|
|
||||||
/* --mff-urlbar-font-weight: 600; */
|
|
||||||
|
|
||||||
/* Overriden Firefox variables*/
|
|
||||||
--autocomplete-popup-background: var(--mff-bg) !important;
|
|
||||||
--default-arrowpanel-background: var(--mff-bg) !important;
|
|
||||||
--default-arrowpanel-color: #fefefa !important;
|
|
||||||
--lwt-toolbarbutton-icon-fill: var(--mff-icon-color) !important;
|
|
||||||
--panel-disabled-color: #f9f9fa80;
|
|
||||||
--toolbar-bgcolor: var(--mff-bg) !important;
|
|
||||||
--urlbar-separator-color: transparent !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
_____ _ ___ ___
|
|
||||||
|_ _/_\ | _ ) __|
|
|
||||||
| |/ _ \| _ \__ \
|
|
||||||
|_/_/ \_\___/___/
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
.tab-background[selected="true"] {
|
|
||||||
background: var(--mff-tab-selected-bg) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tab-background:not[visuallyselected] {
|
|
||||||
background: var(--mff-tab-selected-bg) !important;
|
|
||||||
opacity: 0.5 !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* This positions the tabs under the navaigator container */
|
|
||||||
#titlebar {
|
|
||||||
-moz-box-ordinal-group: 3 !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabbrowser-tab::after,
|
|
||||||
.tabbrowser-tab::before {
|
|
||||||
border-left: none !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tab-background {
|
|
||||||
border: none !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabbrowser-arrowscrollbox {
|
|
||||||
margin-inline-start: 4px !important;
|
|
||||||
margin-inline-end: 0px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tab-close-button {
|
|
||||||
display: none !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tab-text {
|
|
||||||
font-family: var(--mff-tab-font-family);
|
|
||||||
font-weight: var(--mff-tab-font-weight);
|
|
||||||
font-size: var(--mff-tab-font-size) !important;
|
|
||||||
color: var(--mff-tab-color);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Hide the favicon for tabs */
|
|
||||||
hbox.tab-content .tab-icon-image {
|
|
||||||
display: none !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Show the favicon for tabs that are pinned */
|
|
||||||
hbox.tab-content[pinned=true] .tab-icon-image {
|
|
||||||
display: initial !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
hbox.tab-content[pinned=true] .tab-text {
|
|
||||||
display: none !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
#tabbrowser-tabs {
|
|
||||||
--tab-loading-fill: #033433 !important;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
.tab-label-container:not([textoverflow]) {
|
|
||||||
display: flex;
|
|
||||||
overflow: hidden;
|
|
||||||
justify-content: center;
|
|
||||||
width: 50% !important;
|
|
||||||
max-width: 50% !important;
|
|
||||||
min-width: 50% !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* .tab-label-container::after {
|
|
||||||
content: "?" !important;
|
|
||||||
|
|
||||||
} */
|
|
||||||
|
|
||||||
.tab-line {
|
|
||||||
display: none !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabbrowser-tab {
|
|
||||||
border-radius: var(--mff-tab-border-radius) !important;
|
|
||||||
border-width: 0;
|
|
||||||
height: var(--mff-tab-height) !important;
|
|
||||||
margin-bottom: 4px !important;
|
|
||||||
margin-inline-end: 4px !important;
|
|
||||||
margin-top: 4px !important;
|
|
||||||
max-height: var(--mff-tab-height) !important;
|
|
||||||
min-height: var(--mff-tab-height) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabbrowser-tab[soundplaying="true"] {
|
|
||||||
background-color: var(--mff-tab-soundplaying-bg) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
#tabs-newtab-button {
|
|
||||||
list-style-image: url("add.svg") !important;
|
|
||||||
opacity: 0.7;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tab-icon-sound {
|
|
||||||
display: none !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
_____ ___ ___ _ ___ _ ___
|
|
||||||
|_ _/ _ \ / _ \| | | _ ) /_\ | _ \
|
|
||||||
| || (_) | (_) | |__| _ \/ _ \| /
|
|
||||||
|_| \___/ \___/|____|___/_/ \_\_|_\
|
|
||||||
*/
|
|
||||||
|
|
||||||
.urlbar-icon > image {
|
|
||||||
fill: var(--mff-icon-color) !important;
|
|
||||||
color: var(--mff-icon-color) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.toolbarbutton-text {
|
|
||||||
color: var(--mff-icon-color) !important;
|
|
||||||
}
|
|
||||||
.urlbar-icon {
|
|
||||||
color: var(--mff-icon-color) !important;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
.toolbarbutton-icon {
|
|
||||||
/* filter: drop-shadow(0 0 0.75rem crimson); */
|
|
||||||
}
|
|
||||||
|
|
||||||
#urlbar-results {
|
|
||||||
font-family: var(--mff-urlbar-results-font-family);
|
|
||||||
font-weight: var(--mff-urlbar-results-font-weight);
|
|
||||||
font-size: var(--mff-urlbar-results-font-size) !important;
|
|
||||||
color: var(--mff-urlbar-results-color) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.urlbarView-row[type="bookmark"] > span{
|
|
||||||
color: green !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.urlbarView-row[type="switchtab"] > span{
|
|
||||||
color: orange !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.urlbarView-url, .search-panel-one-offs-container {
|
|
||||||
color: var(--mff-urlbar-results-url-color) !important;
|
|
||||||
font-family: var(--mff-urlbar-font-family);
|
|
||||||
font-weight: var(--mff-urlbar-results-font-weight);
|
|
||||||
font-size: var(--mff-urlbar-font-size) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.urlbarView-favicon, .urlbarView-type-icon {
|
|
||||||
display: none !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
#urlbar-input {
|
|
||||||
font-size: var(--mff-urlbar-font-size) !important;
|
|
||||||
color: var(--mff-urlbar-color) !important;
|
|
||||||
font-family: var(--mff-urlbar-font-family) !important;
|
|
||||||
font-weight: var(--mff-urlbar-font-weight)!important;
|
|
||||||
text-align: center !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
#tracking-protection-icon-container, #identity-box {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
#back-button > .toolbarbutton-icon{
|
|
||||||
--backbutton-background: transparent !important;
|
|
||||||
border: none !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
#back-button {
|
|
||||||
list-style-image: url("left-arrow.svg") !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
#forward-button {
|
|
||||||
list-style-image: url("right-arrow.svg") !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
toolbar {
|
|
||||||
background-image: none !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
#urlbar-background {
|
|
||||||
opacity: .98 !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
#navigator-toolbox, toolbaritem {
|
|
||||||
border: none !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
#urlbar-background {
|
|
||||||
background-color: var(--mff-bg) !important;
|
|
||||||
border: none !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.toolbar-items {
|
|
||||||
background-color: var(--mff-bg) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
#sidebar-search-container {
|
|
||||||
background-color: var(--mff-sidebar-bg) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
box.panel-arrowbox {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
box.panel-arrowcontent {
|
|
||||||
border-radius: 8px !important;
|
|
||||||
border: none !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
tab.tabbrowser-tab {
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
|
|
||||||
tab.tabbrowser-tab:hover {
|
|
||||||
box-shadow: 0 1px 4px rgba(0,0,0,.05);
|
|
||||||
}
|
|
||||||
|
|
||||||
image#star-button {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
toolbar#nav-bar {
|
|
||||||
padding: var(--mff-nav-toolbar-padding) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
toolbar#nav-bar {
|
|
||||||
padding: 4px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
#urlbar {
|
|
||||||
max-width: 70% !important;
|
|
||||||
margin: 0 15% !important;
|
|
||||||
/* position: unset!important; */;
|
|
||||||
}
|
|
||||||
|
|
||||||
#urlbar-input:focus {
|
|
||||||
color: var(--mff-urlbar-focused-color) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.megabar[breakout-extend="true"]:not([open="true"]) > #urlbar-background {
|
|
||||||
box-shadow: none !important;
|
|
||||||
background-color: transparent !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
toolbarbutton {
|
|
||||||
box-shadow: none !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
___ ___ ___ ___ ___ _ ___
|
|
||||||
/ __|_ _| \| __| _ ) /_\ | _ \
|
|
||||||
\__ \| || |) | _|| _ \/ _ \| /
|
|
||||||
|___/___|___/|___|___/_/ \_\_|_\
|
|
||||||
*/
|
|
||||||
|
|
||||||
.close-icon, .urlbar-icon {
|
|
||||||
fill: var(--mff-icon-color) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sidebar-placesTree {
|
|
||||||
color: var(--mff-sidebar-color) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
#sidebar-switcher-target {
|
|
||||||
/* color: white !important; */
|
|
||||||
}
|
|
||||||
|
|
||||||
#sidebar-box {
|
|
||||||
--sidebar-background-color: var(--mff-sidebar-bg) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
splitter#sidebar-splitter {
|
|
||||||
opacity: 0 !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
splitter#sidebar-splitter {
|
|
||||||
border: none !important;
|
|
||||||
background-color: transparent !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
image#sidebar-icon {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
_ ___ ___ _____ _____ _ _ _ ___ _
|
|
||||||
/_\ | _ \ _ \/ _ \ \ / / _ \/_\ | \| | __| |
|
|
||||||
/ _ \| / / (_) \ \/\/ /| _/ _ \| .` | _|| |__
|
|
||||||
/_/ \_\_|_\_|_\\___/ \_/\_/ |_|/_/ \_\_|\_|___|____|
|
|
||||||
*/
|
|
||||||
|
|
||||||
.panel-arrowcontent {
|
|
||||||
padding: 0px !important;
|
|
||||||
margin: 0px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
toolbarseparator {
|
|
||||||
display: none;
|
|
||||||
}
|
|
@ -1,23 +0,0 @@
|
|||||||
@import url("userChrome.css");
|
|
||||||
|
|
||||||
/* Removes white loading page */
|
|
||||||
@-moz-document url(about:blank), url(about:newtab), url(about:home) {
|
|
||||||
html:not(#ublock0-epicker), html:not(#ublock0-epicker) body, #newtab-customize-overlay {
|
|
||||||
background: var(--mff-bg) !important;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Hide scrollbar */
|
|
||||||
|
|
||||||
:root{
|
|
||||||
scrollbar-width: none !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@-moz-document url(about:privatebrowsing) {
|
|
||||||
|
|
||||||
:root{
|
|
||||||
scrollbar-width: none !important;
|
|
||||||
}
|
|
||||||
}
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,250 +0,0 @@
|
|||||||
[base]
|
|
||||||
main_fg = 1db954
|
|
||||||
active_control_fg = 1db954
|
|
||||||
secondary_fg = F0F0F0
|
|
||||||
secondary_bg = 1db954
|
|
||||||
main_bg = 000
|
|
||||||
sidebar_and_player_bg = 000
|
|
||||||
scrollbar_fg_and_selected_row_bg = 313235
|
|
||||||
miscellaneous_bg = 313235
|
|
||||||
preserve_1 = FFF
|
|
||||||
|
|
||||||
[white]
|
|
||||||
main_fg = FFA789
|
|
||||||
active_control_fg = FFA789
|
|
||||||
secondary_fg = 363636
|
|
||||||
secondary_bg = FFA789
|
|
||||||
main_bg = FFF9F4
|
|
||||||
sidebar_and_player_bg = FFF9F4
|
|
||||||
cover_overlay_and_shadow = 202020
|
|
||||||
indicator_fg_and_button_bg = ffffff
|
|
||||||
pressing_fg = 1a73e8
|
|
||||||
slider_bg = b4b7b4
|
|
||||||
sidebar_indicator_and_hover_button_bg = dedede
|
|
||||||
scrollbar_fg_and_selected_row_bg = f1f1f1
|
|
||||||
pressing_button_fg = 5f5e68
|
|
||||||
pressing_button_bg = 202124
|
|
||||||
selected_button = 4285f4
|
|
||||||
miscellaneous_bg = FFA789
|
|
||||||
miscellaneous_hover_bg = FFA789
|
|
||||||
preserve_1 = FFF1E6
|
|
||||||
|
|
||||||
[dark]
|
|
||||||
main_fg = C2D935
|
|
||||||
active_control_fg = C2D935
|
|
||||||
secondary_fg = DEDEDE
|
|
||||||
secondary_bg = C2D935
|
|
||||||
main_bg = 0a0e14
|
|
||||||
sidebar_and_player_bg = 0A0E14
|
|
||||||
cover_overlay_and_shadow = 202020
|
|
||||||
indicator_fg_and_button_bg = 313235
|
|
||||||
pressing_fg = C2D935
|
|
||||||
slider_bg = b4b7b4
|
|
||||||
sidebar_indicator_and_hover_button_bg = C2D935
|
|
||||||
scrollbar_fg_and_selected_row_bg = 313235
|
|
||||||
pressing_button_fg = FFF
|
|
||||||
pressing_button_bg = FFF
|
|
||||||
selected_button = 4285f4
|
|
||||||
miscellaneous_bg = 1d1f21
|
|
||||||
miscellaneous_hover_bg = 383145
|
|
||||||
preserve_1 = 0a0e14
|
|
||||||
|
|
||||||
[dracula]
|
|
||||||
main_fg = e9e9f4
|
|
||||||
active_control_fg = e9e9f4
|
|
||||||
secondary_fg = DEDEDE
|
|
||||||
secondary_bg = 1D1E27
|
|
||||||
main_bg = 282936
|
|
||||||
sidebar_and_player_bg = 282936
|
|
||||||
cover_overlay_and_shadow = 000000
|
|
||||||
indicator_fg_and_button_bg = 4d4f68
|
|
||||||
pressing_fg = FF5C86
|
|
||||||
slider_bg = 3a3c4e
|
|
||||||
sidebar_indicator_and_hover_button_bg = e9e9f4
|
|
||||||
scrollbar_fg_and_selected_row_bg = 4d4f68
|
|
||||||
pressing_button_fg = e9e9f4
|
|
||||||
pressing_button_bg = 3a3c4e
|
|
||||||
selected_button = 00BF76
|
|
||||||
miscellaneous_bg = 3a3c4e
|
|
||||||
miscellaneous_hover_bg = 3a3c4e
|
|
||||||
preserve_1 = FFFFFF
|
|
||||||
|
|
||||||
[dracula2]
|
|
||||||
main_fg = ffb86c
|
|
||||||
main_bg = 44475a
|
|
||||||
secondary_fg = F0F0F0
|
|
||||||
secondary_bg = 6272a4
|
|
||||||
selected_button = 6272a4
|
|
||||||
pressing_fg = 6272a4
|
|
||||||
pressing_button_fg = F0F0F0
|
|
||||||
pressing_button_bg = bd93f9
|
|
||||||
sidebar_and_player_bg = 44475a
|
|
||||||
sidebar_indicator_and_hover_button_bg = bd93f9
|
|
||||||
cover_overlay_and_shadow = 6272a4
|
|
||||||
slider_bg = 966530
|
|
||||||
scrollbar_fg_and_selected_row_bg = ffb86c
|
|
||||||
active_control_fg = ffb86c
|
|
||||||
indicator_fg_and_button_bg = 6272a4
|
|
||||||
miscellaneous_bg = 6272a4
|
|
||||||
miscellaneous_hover_bg = DEDEDE
|
|
||||||
preserve_1 = EBDFFF
|
|
||||||
|
|
||||||
[gruvbox]
|
|
||||||
main_fg = 689d6a
|
|
||||||
active_control_fg = fbf2c7
|
|
||||||
secondary_fg = ebdbb2
|
|
||||||
secondary_bg = 689d6a
|
|
||||||
main_bg = 282828
|
|
||||||
sidebar_and_player_bg = 282828
|
|
||||||
cover_overlay_and_shadow = 1d2021
|
|
||||||
indicator_fg_and_button_bg = 928374
|
|
||||||
pressing_fg = cc241d
|
|
||||||
slider_bg = a89984
|
|
||||||
sidebar_indicator_and_hover_button_bg = 928374
|
|
||||||
scrollbar_fg_and_selected_row_bg = 383E40
|
|
||||||
pressing_button_fg = fbf2c7
|
|
||||||
pressing_button_bg = a89984
|
|
||||||
selected_button = 00bf76
|
|
||||||
miscellaneous_bg = a89984
|
|
||||||
miscellaneous_hover_bg = a89984
|
|
||||||
preserve_1 = 000000
|
|
||||||
|
|
||||||
[nord-dark]
|
|
||||||
;Nord Pallete
|
|
||||||
; Polar Night (bg) : #2E3440 #3B4252 #434C5E #4C566A
|
|
||||||
; Snow Storm (text): #D8DEE9 #E5E9F0 #ECEFF4
|
|
||||||
; Frost (accent) : #8FBCBB #88C0D0 #81A1C1 #5E81AC
|
|
||||||
; Aurora (speca) : #BF616A #D08770 #EBCB8B #A3BE8C #B48EAD
|
|
||||||
|
|
||||||
main_fg = 88C0D0
|
|
||||||
active_control_fg = 88C0D0
|
|
||||||
secondary_fg = D8DEE9
|
|
||||||
main_bg = 3B4252
|
|
||||||
secondary_bg = 88C0D0
|
|
||||||
sidebar_and_player_bg = 3B4252
|
|
||||||
cover_overlay_and_shadow = 2E3440
|
|
||||||
indicator_fg_and_button_bg = 81A1C1
|
|
||||||
pressing_fg = 8FBCBB
|
|
||||||
slider_bg = 8FBCBB
|
|
||||||
sidebar_indicator_and_hover_button_bg = 5E81AC
|
|
||||||
scrollbar_fg_and_selected_row_bg = 81A1C1
|
|
||||||
pressing_button_fg = D8DEE9
|
|
||||||
pressing_button_bg = 5E81AC
|
|
||||||
selected_button = 88C0D0
|
|
||||||
miscellaneous_bg = D08770
|
|
||||||
miscellaneous_hover_bg = BF616A
|
|
||||||
preserve_1 = 4C566A
|
|
||||||
|
|
||||||
[nord-light]
|
|
||||||
;Nord Pallete
|
|
||||||
; Snow Storm (bg) : #D8DEE9 #E5E9F0 #ECEFF4
|
|
||||||
; Polar Night (text): #2E3440 #3B4252 #434C5E #4C566A
|
|
||||||
; Frost (accent) : #8FBCBB #88C0D0 #81A1C1 #5E81AC
|
|
||||||
; Aurora (speca) : #BF616A #D08770 #EBCB8B #A3BE8C #B48EAD
|
|
||||||
|
|
||||||
main_fg = 5E81AC
|
|
||||||
active_control_fg = 5E81AC
|
|
||||||
secondary_fg = 3B4252
|
|
||||||
main_bg = D8DEE9
|
|
||||||
secondary_bg = 5E81AC
|
|
||||||
sidebar_and_player_bg = E5E9F0
|
|
||||||
cover_overlay_and_shadow = ECEFF4
|
|
||||||
indicator_fg_and_button_bg = 81A1C1
|
|
||||||
pressing_fg = 8FBCBB
|
|
||||||
slider_bg = ECEFF4
|
|
||||||
sidebar_indicator_and_hover_button_bg = 81A1C1
|
|
||||||
scrollbar_fg_and_selected_row_bg = 81A1C1
|
|
||||||
pressing_button_fg = 3B4252
|
|
||||||
pressing_button_bg = 81A1C1
|
|
||||||
selected_button = 5E81AC
|
|
||||||
miscellaneous_bg = D08770
|
|
||||||
miscellaneous_hover_bg = BF616A
|
|
||||||
preserve_1 = D8DEE9
|
|
||||||
|
|
||||||
[horizon]
|
|
||||||
; Horizon Pallete : #D4516f #F09383 #FAC29A #1D8991 #B877DB
|
|
||||||
; Miscellaneous : #F9CEC3 #6C6F93 #474A60 #232530 #1A1C23
|
|
||||||
main_fg = 1D8991
|
|
||||||
main_bg = 232530
|
|
||||||
secondary_fg = F9CEC3
|
|
||||||
secondary_bg = 474A60
|
|
||||||
selected_button = F9CEC3
|
|
||||||
pressing_fg = B877DB
|
|
||||||
pressing_button_fg = F09383
|
|
||||||
pressing_button_bg = B877DB
|
|
||||||
sidebar_and_player_bg = 232530
|
|
||||||
sidebar_indicator_and_hover_button_bg = 6C6F93
|
|
||||||
cover_overlay_and_shadow = FAC29A
|
|
||||||
slider_bg = 2E303E
|
|
||||||
scrollbar_fg_and_selected_row_bg = 1A1C23
|
|
||||||
active_control_fg = B877DB
|
|
||||||
indicator_fg_and_button_bg = D4516f
|
|
||||||
miscellaneous_bg = 6C6F93
|
|
||||||
miscellaneous_hover_bg = F9CEC3
|
|
||||||
preserve_1 = F9CEC3
|
|
||||||
|
|
||||||
[samourai]
|
|
||||||
; Inspired by gruvbox and bordeaux
|
|
||||||
; Paper
|
|
||||||
main_fg = ebdbb2
|
|
||||||
secondary_fg = ebdbb2
|
|
||||||
secondary_bg = ebdbb2
|
|
||||||
selected_button = ebdbb2
|
|
||||||
pressing_button_bg = ebdbb2
|
|
||||||
|
|
||||||
; Bordeaux
|
|
||||||
main_bg = 461217
|
|
||||||
sidebar_and_player_bg = 461217
|
|
||||||
preserve_1 = 461217
|
|
||||||
|
|
||||||
; Blood
|
|
||||||
cover_overlay_and_shadow = 48051c
|
|
||||||
slider_bg = 48051c
|
|
||||||
scrollbar_fg_and_selected_row_bg = 48051c
|
|
||||||
pressing_fg = 48051c
|
|
||||||
|
|
||||||
; Gray for errors mostly
|
|
||||||
miscellaneous_bg = 282828
|
|
||||||
|
|
||||||
; Gold
|
|
||||||
active_control_fg = e7a52d
|
|
||||||
indicator_fg_and_button_bg = e7a52d
|
|
||||||
sidebar_indicator_and_hover_button_bg = e7a52d
|
|
||||||
miscellaneous_hover_bg = e7a52d
|
|
||||||
pressing_button_fg = e7a52d
|
|
||||||
|
|
||||||
[purple]
|
|
||||||
main_fg = 8945AD
|
|
||||||
main_bg = 0A0E14
|
|
||||||
secondary_fg = F0F0F0
|
|
||||||
secondary_bg = 6F3C89
|
|
||||||
selected_button = 6F3C89
|
|
||||||
pressing_fg = 6F3C89
|
|
||||||
pressing_button_fg = F0F0F0
|
|
||||||
pressing_button_bg = 58306D
|
|
||||||
sidebar_and_player_bg = 0A0E14
|
|
||||||
sidebar_indicator_and_hover_button_bg = 58306D
|
|
||||||
cover_overlay_and_shadow = 6F3C89
|
|
||||||
slider_bg = 331C40
|
|
||||||
scrollbar_fg_and_selected_row_bg = 2E1838
|
|
||||||
active_control_fg = 8945AD
|
|
||||||
indicator_fg_and_button_bg = 6F3C89
|
|
||||||
miscellaneous_bg = 6F3C89
|
|
||||||
miscellaneous_hover_bg = DEDEDE
|
|
||||||
preserve_1 = EBDFFF
|
|
||||||
|
|
||||||
[beach-sunset]
|
|
||||||
main_fg = c98430
|
|
||||||
active_control_fg = c98430
|
|
||||||
secondary_fg = F0F0F0
|
|
||||||
secondary_bg = bd3e3e
|
|
||||||
main_bg = 262626
|
|
||||||
sidebar_and_player_bg = 262626
|
|
||||||
scrollbar_fg_and_selected_row_bg = 313235
|
|
||||||
sidebar_indicator_and_hover_button_bg = bd3e3e
|
|
||||||
miscellaneous_bg = 313235
|
|
||||||
pressing_fg = c98430
|
|
||||||
miscellaneous_bg = 262626
|
|
||||||
miscellaneous_hover_bg = bd3e3e
|
|
||||||
indicator_fg_and_button_bg = c98430
|
|
||||||
preserve_1 = FFF
|
|
@ -1,183 +0,0 @@
|
|||||||
// Hide popover message
|
|
||||||
document.getElementById("popover-container").style.height = 0;
|
|
||||||
|
|
||||||
// Get stored hidden sidebar list
|
|
||||||
let appHiddenList = [];
|
|
||||||
try {
|
|
||||||
const rawList = JSON.parse(localStorage.getItem("sidebar-app-hide-list"));
|
|
||||||
if (!Array.isArray(rawList)) throw 0;
|
|
||||||
appHiddenList.push(...rawList);
|
|
||||||
} catch {
|
|
||||||
localStorage.setItem("sidebar-app-hide-list", "[]")
|
|
||||||
}
|
|
||||||
|
|
||||||
new Spicetify.ContextMenu.Item(
|
|
||||||
"Hide",
|
|
||||||
([uri]) => {
|
|
||||||
appHiddenList.push(uri.replace("spotify:special:sidebarapp:", ""));
|
|
||||||
localStorage.setItem("sidebar-app-hide-list", JSON.stringify(appHiddenList));
|
|
||||||
window.location.reload();
|
|
||||||
},
|
|
||||||
([uri]) => uri.startsWith("spotify:special:sidebarapp:")
|
|
||||||
).register();
|
|
||||||
|
|
||||||
for (const app of appHiddenList) {
|
|
||||||
new Spicetify.ContextMenu.Item(
|
|
||||||
"Show " + app.replace("spotify:app:", ""),
|
|
||||||
() => {
|
|
||||||
appHiddenList = appHiddenList.filter(item => item !== app);
|
|
||||||
localStorage.setItem("sidebar-app-hide-list", JSON.stringify(appHiddenList));
|
|
||||||
window.location.reload();
|
|
||||||
},
|
|
||||||
([uri]) => uri.startsWith("spotify:special:sidebarapp:")
|
|
||||||
).register();
|
|
||||||
}
|
|
||||||
|
|
||||||
function waitForElement(els, func, timeout = 100) {
|
|
||||||
const queries = els.map(el => document.querySelector(el));
|
|
||||||
if (queries.every(a => a)) {
|
|
||||||
func(queries);
|
|
||||||
} else if (timeout > 0) {
|
|
||||||
setTimeout(waitForElement, 300, els, func, --timeout);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Add "Open User Profile" item in profile menu
|
|
||||||
new Spicetify.Menu.Item(window.__spotify.username, false, () => window.open(window.__spotify.userUri)).register();
|
|
||||||
|
|
||||||
waitForElement([".LeftSidebar", ".LeftSidebar__section--rootlist .SidebarList__list"], (queries) => {
|
|
||||||
/** Replace Playlist name with their pictures */
|
|
||||||
function loadPlaylistImage() {
|
|
||||||
const sidebarItem = queries[1].childNodes;
|
|
||||||
|
|
||||||
for (let i = 0; i < sidebarItem.length; i++) {
|
|
||||||
const item = sidebarItem[i];
|
|
||||||
let link = item.getElementsByTagName("a");
|
|
||||||
if (!link || !link[0]) continue;
|
|
||||||
link = link[0];
|
|
||||||
|
|
||||||
let href = link.href.replace("app:", "");
|
|
||||||
|
|
||||||
if (href.indexOf("playlist-folder") != -1) {
|
|
||||||
const button = item.getElementsByTagName("button")[0]
|
|
||||||
button.classList.add("Button", "Button--style-icon-background", "Button--size-28",);
|
|
||||||
item.setAttribute("data-tooltip", item.innerText);
|
|
||||||
link.firstChild.innerText = item.innerText.slice(0, 3);
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (href.indexOf("chart") != -1) {
|
|
||||||
href = href.replace("chart:", "user:spotifycharts:playlist:");
|
|
||||||
}
|
|
||||||
|
|
||||||
Spicetify.CosmosAPI.resolver.get({
|
|
||||||
url: `sp://core-playlist/v1/playlist/${href}/metadata`,
|
|
||||||
body: { policy: { picture: true } },
|
|
||||||
}, (err, res) => {
|
|
||||||
if (err) return;
|
|
||||||
const meta = res.getJSONBody().metadata;
|
|
||||||
item.firstChild.className = "playlist-picture"
|
|
||||||
item.firstChild.style.backgroundImage = `url(${meta.picture})`;
|
|
||||||
item.firstChild.setAttribute("data-tooltip", item.textContent);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
loadPlaylistImage();
|
|
||||||
|
|
||||||
new MutationObserver(loadPlaylistImage)
|
|
||||||
.observe(queries[1], {childList: true});
|
|
||||||
|
|
||||||
/** Replace Apps name with icons */
|
|
||||||
|
|
||||||
/** List of avaiable icons to use:
|
|
||||||
addfollow filter more skipforward15
|
|
||||||
addfollowers flag newradio sort
|
|
||||||
addsuggestedsong follow notifications sortdown
|
|
||||||
album fullscreen offline sortup
|
|
||||||
artist gears pause spotifylogo
|
|
||||||
attach headphones play star
|
|
||||||
block heart playlist stations
|
|
||||||
bluetooth helpcircle plus subtitles
|
|
||||||
browse home podcasts tag
|
|
||||||
camera inbox queue time
|
|
||||||
check instagram radio track
|
|
||||||
collection lightning refresh trending
|
|
||||||
copy localfile released user
|
|
||||||
devices locked repeat video
|
|
||||||
discover lyrics repeatonce volume
|
|
||||||
download menu search watch
|
|
||||||
downloaded messages share x
|
|
||||||
edit mic shuffle helpcircle
|
|
||||||
email minimise skip
|
|
||||||
events mix skipback15
|
|
||||||
*/
|
|
||||||
|
|
||||||
function replaceTextWithIcon(el, iconName) {
|
|
||||||
const href = el.parentNode.href;
|
|
||||||
if (appHiddenList.indexOf(href) !== -1) {
|
|
||||||
let parent = el;
|
|
||||||
while (parent.tagName !== "LI") {
|
|
||||||
parent = parent.parentNode;
|
|
||||||
}
|
|
||||||
parent.remove();
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (iconName) {
|
|
||||||
el.classList.add(`spoticon-${iconName}-24`);
|
|
||||||
}
|
|
||||||
|
|
||||||
el.parentNode.setAttribute("data-tooltip", el.innerText);
|
|
||||||
el.parentNode.setAttribute("data-contextmenu", "");
|
|
||||||
el.parentNode.setAttribute("data-uri", "spotify:special:sidebarapp:" + href);
|
|
||||||
el.innerText = "";
|
|
||||||
}
|
|
||||||
|
|
||||||
queries[0].querySelectorAll(".LeftSidebar__section:not(.LeftSidebar__section--rootlist) [href]")
|
|
||||||
.forEach(item => {
|
|
||||||
let icon = ((app) => {switch (app) {
|
|
||||||
case "genius": return "lyrics";
|
|
||||||
case "JQBX": return "addsuggestedsong";
|
|
||||||
case "bookmark": return "tag";
|
|
||||||
case "reddit": return "discover";
|
|
||||||
case "made-for-you": return "user";
|
|
||||||
case "recently-played": return "time";
|
|
||||||
case "collection-songs": return "collection";
|
|
||||||
case "collection:albums": return "album";
|
|
||||||
case "collection:artists": return "artist";
|
|
||||||
case "collection:podcasts": return "podcasts";
|
|
||||||
case "playlist:local-files": return "localfile";
|
|
||||||
case "stations": return "stations";
|
|
||||||
/**
|
|
||||||
* Uncomment 3 lines below if you're using old version of Spotify that
|
|
||||||
* does not have Home/Browse/Radio app icons by default.
|
|
||||||
*/
|
|
||||||
//case "home": return "home";
|
|
||||||
//case "browse": return "browse";
|
|
||||||
//case "radio": return "radio";
|
|
||||||
}})(item.href.replace("spotify:app:", ""));
|
|
||||||
|
|
||||||
replaceTextWithIcon(item.firstChild, icon);
|
|
||||||
});
|
|
||||||
|
|
||||||
waitForElement([`[href="spotify:app:recently-played"]`], ([query]) => {
|
|
||||||
replaceTextWithIcon(query.firstChild, "time");
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
waitForElement(["#search-input"], (queries) => {
|
|
||||||
queries[0].setAttribute("placeholder", "");
|
|
||||||
});
|
|
||||||
|
|
||||||
waitForElement(["#main-container"], (queries) => {
|
|
||||||
const shadow = document.createElement("div");
|
|
||||||
shadow.id = "dribbblish-back-shadow";
|
|
||||||
queries[0].prepend(shadow);
|
|
||||||
});
|
|
||||||
|
|
||||||
waitForElement([".LeftSidebar"], (queries) => {
|
|
||||||
const fade = document.createElement("div");
|
|
||||||
fade.id = "dribbblish-sidebar-fade-in";
|
|
||||||
queries[0].append(fade);
|
|
||||||
});
|
|
File diff suppressed because it is too large
Load Diff
1
espanso
1
espanso
@ -1 +0,0 @@
|
|||||||
Subproject commit cec2767a4c2eecb7dc216894c9dd7847a73ad669
|
|
1
tmux/tpm
1
tmux/tpm
@ -1 +0,0 @@
|
|||||||
Subproject commit 38576cf76ea0d9959dae8bccc77306e70b318f8e
|
|
Loading…
Reference in New Issue
Block a user