Compare commits
50 Commits
arachnidsG
...
432302b864
| Author | SHA1 | Date | |
|---|---|---|---|
| 432302b864 | |||
| de3bb40df2 | |||
| 000830caed | |||
| 3aa1861c6a | |||
| b51146e89a | |||
| 2ff1e26bfc | |||
| edec89fa13 | |||
| 90cd90fb35 | |||
| dcd06c2e53 | |||
| 20342cbbf3 | |||
| d601f4a703 | |||
| 1cdff89015 | |||
| 18060e3f2f | |||
| 3fca923992 | |||
| 0011b447a4 | |||
| 6295565fe0 | |||
| a258f26998 | |||
| 89ba502d3a | |||
| 8d62ce6b97 | |||
| 905e4c353b | |||
| fbca524a1d | |||
| 065d79b7f6 | |||
| 12a5591b36 | |||
| 8d8405b546 | |||
| b89efc6902 | |||
| aa084074cf | |||
| d99fd8f391 | |||
| af5601eb09 | |||
| 95956a5605 | |||
| d464dfb7ba | |||
| 0f0217e291 | |||
| ad369f8dd6 | |||
| 418a40fcfa | |||
| ed0c04380f | |||
| dbdfd1d029 | |||
| 676f660247 | |||
| 73a530cbe3 | |||
| a6b3c2a6ab | |||
| dbc1e357a5 | |||
| fe6b2fb149 | |||
| eae68984ce | |||
| c53ddf4160 | |||
| 3347042cde | |||
| c4124fa7b9 | |||
| 651ef40449 | |||
| 33443bf9cb | |||
| 1379bf56ab | |||
| 21f74a1108 | |||
| 369392c3b0 | |||
| 468f2e1c0a |
@@ -1,9 +1,23 @@
|
|||||||
alias update='yay -Pw && yay -Sc && yay --editmenu -Syu --sudoloop --devel && yay -c \
|
alias update='yay -Pw && yay -Sc && yay -Syu --sudoloop && yay -c && sudo pacdiff'
|
||||||
&& sudo pacdiff \
|
alias gemocstudio='PATH=/usr/lib/jvm/java-9-jdk/bin/:$PATH ~/gemoc/GemocStudio'
|
||||||
; pkill -SIGUSR1 i3status-rs \
|
|
||||||
; read -s -k "?Update finished! Press any key to exit..."'
|
|
||||||
alias sl='ls'
|
alias sl='ls'
|
||||||
alias ls='ls --color=auto'
|
alias ls='ls --color=auto'
|
||||||
alias cat='ccat -G Keyword="*glay*" -G Decimal="glay" -G Plaintext="glay" --bg=dark'
|
alias cat='ccat -G Keyword="*glay*" -G Decimal="glay" -G Plaintext="glay" --bg=dark'
|
||||||
alias youtube='URL=https://www.youtube.com/watch\?v\=Mvvsa5HAJiI\&list\=RDMM\&start_radio\=1 && PLAYLIST="" && for i in {1..30} ; do URL="https://www.youtube.com"`curl -s -b ~/.config/youtube-dl/youtube.txt $URL | grep "next-playlist-list-item" | sed '\''s/.*href=\"//'\'' | sed '\''s/\".*//'\'' | sed '\''s/\&/\&/g'\''` ; PLAYLIST="$PLAYLIST\n`echo $URL | sed '\''s/\&list.*//'\''`" ; done ; echo "$PLAYLIST" | mpv --playlist=-'
|
alias youtube='URL=https://www.youtube.com/watch\?v\=Mvvsa5HAJiI\&list\=RDMM\&start_radio\=1 && PLAYLIST="" && for i in {1..30} ; do URL="https://www.youtube.com"`curl -s -b ~/.config/youtube-dl/youtube.txt $URL | grep "next-playlist-list-item" | sed '\''s/.*href=\"//'\'' | sed '\''s/\".*//'\'' | sed '\''s/\&/\&/g'\''` ; PLAYLIST="$PLAYLIST\n`echo $URL | sed '\''s/\&list.*//'\''`" ; done ; echo "$PLAYLIST" | mpv --playlist=-'
|
||||||
|
|
||||||
|
function javaversion() {
|
||||||
|
if [ "$#" -ne 1 ]; then
|
||||||
|
echo "Expected parameter <java_version>"
|
||||||
|
else
|
||||||
|
if [ "$1" -eq 8 ]; then
|
||||||
|
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk
|
||||||
|
elif [ "$1" -eq 9 ]; then
|
||||||
|
export JAVA_HOME=/usr/lib/jvm/java-9-jdk
|
||||||
|
elif [ "$1" -eq 10 ]; then
|
||||||
|
export JAVA_HOME=/usr/lib/jvm/java-10-openjdk
|
||||||
|
elif [ "$1" -eq 11 ]; then
|
||||||
|
export JAVA_HOME=/usr/lib/jvm/java-11-openjdk
|
||||||
|
fi
|
||||||
|
export PATH=$JAVA_HOME/bin:$PATH
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
|
|
||||||
export EDITOR=nvim
|
export EDITOR=nvim
|
||||||
export CUPS_SERVER=cups-sam.inria.fr:631
|
export CUPS_SERVER=cups-sam.inria.fr:631
|
||||||
export GTK_THEME=SolArc-Dark
|
export GTK_THEME=NumixSolarizedDarkBlue
|
||||||
export GTK2_RC_FILES=/usr/share/themes/SolArc-Dark/gtk-2.0/gtkrc
|
export GTK2_RC_FILES=/usr/share/themes/NumixSolarizedDarkBlue/gtk-2.0/gtkrc
|
||||||
export QT_QPA_PLATFORMTHEME=gtk2
|
export QT_QPA_PLATFORMTHEME=gtk2
|
||||||
|
|
||||||
[[ -f ~/.bashrc ]] && . ~/.bashrc
|
[[ -f ~/.bashrc ]] && . ~/.bashrc
|
||||||
|
|||||||
2
.config/BetterDiscord/.gitignore
vendored
Normal file
2
.config/BetterDiscord/.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
emote_data.json
|
||||||
|
logs.log
|
||||||
51
.config/BetterDiscord/bdstorage.json
Normal file
51
.config/BetterDiscord/bdstorage.json
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
{
|
||||||
|
"settings": {
|
||||||
|
"stable": {
|
||||||
|
"settings": {
|
||||||
|
"bda-gs-1": true,
|
||||||
|
"bda-gs-2": false,
|
||||||
|
"bda-gs-3": false,
|
||||||
|
"bda-gs-4": false,
|
||||||
|
"bda-gs-5": false,
|
||||||
|
"bda-gs-6": false,
|
||||||
|
"bda-gs-7": false,
|
||||||
|
"bda-gs-8": true,
|
||||||
|
"bda-es-0": false,
|
||||||
|
"bda-es-1": false,
|
||||||
|
"bda-es-2": false,
|
||||||
|
"bda-es-4": false,
|
||||||
|
"bda-es-6": false,
|
||||||
|
"bda-es-7": false,
|
||||||
|
"bda-gs-b": false,
|
||||||
|
"bda-es-8": false,
|
||||||
|
"bda-dc-0": false,
|
||||||
|
"bda-css-0": true,
|
||||||
|
"bda-css-1": false,
|
||||||
|
"bda-es-9": false,
|
||||||
|
"fork-dm-1": false,
|
||||||
|
"fork-ps-1": true,
|
||||||
|
"fork-ps-2": true,
|
||||||
|
"fork-ps-3": true,
|
||||||
|
"fork-ps-4": true,
|
||||||
|
"fork-ps-5": true,
|
||||||
|
"fork-es-2": false,
|
||||||
|
"fork-es-3": false,
|
||||||
|
"fork-wp-1": true,
|
||||||
|
"fork-wp-2": false,
|
||||||
|
"fork-beta": true,
|
||||||
|
"reactDevTools": false,
|
||||||
|
"transparency": true
|
||||||
|
},
|
||||||
|
"plugins": {},
|
||||||
|
"themes": {
|
||||||
|
"Frosted Glass": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"canary": {},
|
||||||
|
"ptb": {}
|
||||||
|
},
|
||||||
|
"version": "0.3.5",
|
||||||
|
"emoteCacheDays": 7,
|
||||||
|
"emoteCacheDate": "2020-10-24T10:21:17.385Z",
|
||||||
|
"bdcustomcss": "I2FwcC1tb3VudCAuY2hhdC0zYlJ4eHUgLm1lc3NhZ2VzV3JhcHBlci0zbFpEZlkgW2NsYXNzKj10aW1lc3RhbXBdLAojYXBwLW1vdW50IC5jaGF0LTNiUnh4dSAubWVzc2FnZXNXcmFwcGVyLTNsWkRmWSAubWVzc2FnZUNvbnRlbnQtMnFXV3hDLAojYXBwLW1vdW50IC5zaWRlYmFyLTJLOHBGaCAuY29udGFpbmVyLVBOa2ltYyAuY29udGFpbmVyRGVmYXVsdC0xWm5BRHEgLndyYXBwZXItMXVjalRkOm5vdCgubW9kZU11dGVkLTNvc3k3aik6bm90KC5tb2RlVW5yZWFkLTF6cEZkQSk6bm90KC5tb2RlU2VsZWN0ZWQtMXpBcEpfKSAuY29udGVudC0zYXRfQVUgLm5hbWUtM19Ec21nLAojYXBwLW1vdW50IC5zaWRlYmFyLTJLOHBGaCAuY29udGFpbmVyLVBOa2ltYyAuY29udGFpbmVyRGVmYXVsdC0xWm5BRHEgLndyYXBwZXItMXVjalRkOm5vdCgubW9kZU11dGVkLTNvc3k3aik6bm90KC5tb2RlVW5yZWFkLTF6cEZkQSk6bm90KC5tb2RlU2VsZWN0ZWQtMXpBcEpfKSAuY29udGVudC0zYXRfQVUgc3ZnLAojYXBwLW1vdW50IC5zaWRlYmFyLTJLOHBGaCAuY2hhbm5lbC0yUUQ5X08gewogICAgY29sb3I6ICM5M2ExYTEgIWltcG9ydGFudDsKfQoKI2FwcC1tb3VudCA6OnNlbGVjdGlvbiwKI2FwcC1tb3VudCAuY2hhdC0zYlJ4eHUgLm1lbnRpb24sCiNhcHAtbW91bnQgLm1lbWJlcnMtMTk5OHBCIC5tZW1iZXItMy1ZWFVlLnNlbGVjdGVkLWFYaFFSNiAucm9sZUNvbG9yLXJ6MnZNMCwKI2FwcC1tb3VudCAubWVtYmVycy0xOTk4cEIgLm1lbWJlci0zLVlYVWUgLmJvdFRhZy0yV1BKNzQsCiNhcHAtbW91bnQgLnNpZGViYXItMks4cEZoIC5jb250YWluZXItUE5raW1jIC5jb250YWluZXJEZWZhdWx0LTFabkFEcS5zZWxlY3RlZC0zN2pfaVUgLmNvbnRlbnQtM2F0X0FVIC5uYW1lLTNfRHNtZywKI2FwcC1tb3VudCAuc2lkZWJhci0ySzhwRmggLmNvbnRhaW5lci1QTmtpbWMgLmNvbnRhaW5lckRlZmF1bHQtMVpuQURxLnNlbGVjdGVkLTM3al9pVSAuY29udGVudC0zYXRfQVUgc3ZnLAojYXBwLW1vdW50IC50b29sdGlwQmxhY2stUFBHNDd6LCAjYXBwLW1vdW50IC50b29sdGlwQnJhbmQtZzAzTno4LCAjYXBwLW1vdW50IC50b29sdGlwUmVkLTgtOU5lUCwKI2FwcC1tb3VudCAuYnViYmxlLTN3ZTJkaSwgI2FwcC1tb3VudCAuc2lkZWJhci0ySzhwRmggLmNvbnRhaW5lci1QTmtpbWMgLmNvbnRhaW5lckRlZmF1bHQtMVpuQURxIC53cmFwcGVyLTF1Y2pUZDpub3QoLm1vZGVNdXRlZC0zb3N5N2opLm1vZGVVbnJlYWQtMXpwRmRBIC5jb250ZW50LTNhdF9BVSAubmFtZS0zX0RzbWcsCiNhcHAtbW91bnQgLnNpZGViYXItMks4cEZoIC5jb250YWluZXItUE5raW1jIC5jb250YWluZXJEZWZhdWx0LTFabkFEcSAud3JhcHBlci0xdWNqVGQ6bm90KC5tb2RlTXV0ZWQtM29zeTdqKS5tb2RlVW5yZWFkLTF6cEZkQSAuY29udGVudC0zYXRfQVUgc3ZnIHsKICAgIGNvbG9yOiAjMDAyYjM2ICFpbXBvcnRhbnQ7CiAgICB0ZXh0LXNoYWRvdzogbm9uZSAhaW1wb3J0YW50Owp9CgojYXBwLW1vdW50IC5zaWRlYmFyLTJLOHBGaCAuY29udGFpbmVyLVBOa2ltYyAuY29udGFpbmVyRGVmYXVsdC0xWm5BRHEgLndyYXBwZXItMXVjalRkOm5vdCgubW9kZU11dGVkLTNvc3k3aikubW9kZVVucmVhZC0xenBGZEEgLmNvbnRlbnQtM2F0X0FVIHsKICAgIGJhY2tncm91bmQ6ICMyNjhiZDIgIWltcG9ydGFudDsKfQoKI2FwcC1tb3VudCAuc2lkZWJhci0ySzhwRmggLmNoYW5uZWwtMlFEOV9PLnNlbGVjdGVkLWFYaFFSNiB7CiAgICBiYWNrZ3JvdW5kOiBsaW5lYXItZ3JhZGllbnQodmFyKC0tQkctZ3JhZGllbnQtZGlyZWN0aW9uKSwgcmdiYSh2YXIoLS1CRy1ncmFkaWVudC1vbmUpLCAxKSAyMCUsIHJnYmEodmFyKC0tQkctZ3JhZGllbnQtdHdvKSwgMSkpOwogICAgY29sb3I6ICMwMDJiMzYgIWltcG9ydGFudDsKICAgIHRleHQtc2hhZG93OiBub25lICFpbXBvcnRhbnQ7Cgp9"
|
||||||
|
}
|
||||||
45
.config/BetterDiscord/themes/Frosted Glass.theme.css
Normal file
45
.config/BetterDiscord/themes/Frosted Glass.theme.css
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
/**
|
||||||
|
* @name Frosted Glass
|
||||||
|
* @author Gibbu#1211
|
||||||
|
* @version 2.0.0
|
||||||
|
* @description Edited with https://gibbu.me/editor/frostedglass | Base theme: Frosted Glass by Gibbu#1211
|
||||||
|
* @invite ZHthyCw
|
||||||
|
* @donate https://paypal.me/IanRGibson
|
||||||
|
* @authorId 174868361040232448
|
||||||
|
* @source https://github.com/Gibbu/BetterDiscord-Themes/tree/master/FrostedGlass
|
||||||
|
* @website https://gibbu.me/editor/frostedglass
|
||||||
|
*/
|
||||||
|
@import url('https://fonts.googleapis.com/css?family=DejaVu+Sans+Mono:300,400,500,600,700,800,900&display=swap');
|
||||||
|
@import url('https://gibbu.github.io/BetterDiscord-Themes/FrostedGlass/base.css');
|
||||||
|
@import url('https://discord-custom-covers.github.io/usrbg/snippets/userPopouts.css');
|
||||||
|
@import url('https://discord-custom-covers.github.io/usrbg/snippets/modals.css');
|
||||||
|
@import url('https://monstrousdev.github.io/themes/addons/user-tags.css');
|
||||||
|
@import url('https://gibbu.github.io/BetterDiscord-Themes/addons/windows-titlebar.css');
|
||||||
|
|
||||||
|
|
||||||
|
:root {
|
||||||
|
|
||||||
|
--background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAADGHpUWHRSYXcgcHJvZmlsZSB0eXBlIGV4aWYAAHja7ZZbkhshDEX/WUWWgCSEYDk8q7KDLD8XGnvsSTKZqXylyk01DwGS4Ehtu/Hj+3Tf8LAX74JaijlGjyfkkLmgk/z1lF2TD7t+lK3xk9zdJxgiQSvXMMUjH5Az1vORt6OnQK4PivI4E/V5ohxFnI6Bm0fHkNBlwPejqBxFwsdyuMb1WI452eMRzr51fDrtft2qghhHjWQBdWBvFjP6iX0w3Ftfjs7Gee3Teul5P3a3pbh55iEkftfp8lKut+BV1CwZ6zCLfsCooB/2/XoHZHABnudzt8Pfb/Ppbm7tHx73mWOdcHgOg1vvhIH7ZeJdGMRx5PKOXry3W+7eT5D+Hvdm+uCRhbthfvIIE/Hp0OntnbOnOcd1uhIijhzPoW4nIbdRzl5XEOxtEcXwKvq2S0ZJyICGGOu++YrSKBMD8aRAnQpNR2N3GjX4GHiwoWVuLFuWwCJzkwU9rEKTTbJ0hABLQ6jICoQ53fGFtt287TVKsNwJS5mgjLDlr8V9ZtFHZc6VS0Tu5AxdgHmlIdxY5FaNZSBC81yq7gu+leeAPGAFCHVfc8IBi6+Xiqr0FluyQQvWKdorucn6tX8pCrCtcIYECHwkUYrkjdmIcJEJgAr5xBK4ggCpcoeTHEQi2CAJYNphj9Fey8qXHF9JkFCJYmCTpQBWCIr4sZAQQ0VFg6pGNU2atUSJwSHDYrS4PrfFxIKpRTNLlq0kSSFpislSSjmVzFnwNdaMdMwp51wKbBZoLtEVrC+QVK5SQ9Uaq9VUcy0N4dNC0xabtdRyK527dORxj9166rmXQQOhNMJQN+KwkUYeZSLWpswwdcZpM808y53aofpL+QI1OtR4k1rr7E4NUrOrdTteoGQxAzEOBOK2CCCgeTHziULgRW4x85mRFcpwUhebTr5Q5OAkDGKddGf3Ru5L3FwMH3Ljz5JzC90/ktvc3NAHbr+h1tcvcdvErixcd+oF2TdpFE6Fa/WTm1vdVNYv6r+1L0UvRS9FL0UvRS9FL0X/tyL8fcjuJ86avGDS/Nk0AAABhGlDQ1BJQ0MgcHJvZmlsZQAAeJx9kT1Iw0AcxV9Ti1IqCnYQUcjQOlkQFXHUKhShQqgVWnUwufQLmjQkKS6OgmvBwY/FqoOLs64OroIg+AHi5Oik6CIl/i8ttIjx4Lgf7+497t4BQr3MNKtrHNB020wl4mImuyp2vyKAEfQjiqDMLGNOkpLwHF/38PH1LsazvM/9OXrVnMUAn0g8ywzTJt4gnt60Dc77xGFWlFXic+Ixky5I/Mh1pclvnAsuCzwzbKZT88RhYrHQwUoHs6KpEU8RR1RNp3wh02SV8xZnrVxlrXvyF4Zy+soy12kOI4FFLEGCCAVVlFCGjRitOikWUrQf9/APuX6JXAq5SmDkWEAFGmTXD/4Hv7u18pMTzaRQHAi8OM5HFOjeBRo1x/k+dpzGCeB/Bq70tr9SB2Y+Sa+1tcgR0LcNXFy3NWUPuNwBBp8M2ZRdyU9TyOeB9zP6piwwcAsE15q9tfZx+gCkqavkDXBwCIwWKHvd4909nb39e6bV3w9c3HKeW1/O7QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAAuIwAALiMBeKU/dgAAAAd0SU1FB+QFHRAqDr9nsVkAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAGElEQVQY02Nk0DbrYSACMDEQCUYVUkchAIoXAQHyaCuwAAAAAElFTkSuQmCC');
|
||||||
|
--background-image-blur: 0px;
|
||||||
|
--popout-modal-image: var(--background-image);
|
||||||
|
--popout-modal-blur: 0px;
|
||||||
|
--home-button-image: url('https://gibbu.github.io/BetterDiscord-Themes/FrostedGlass/assets/discord.svg');
|
||||||
|
--serverlist-brightness: 0;
|
||||||
|
--left-brightness: 0;
|
||||||
|
--middle-brightness: 0;
|
||||||
|
--right-brightness: 0;
|
||||||
|
--popout-modal-brightness: 0.5;
|
||||||
|
--gradient-primary: 133,153,0;
|
||||||
|
--gradient-secondary: 133,153,0;
|
||||||
|
--gradient-direction: 320deg;
|
||||||
|
--tint-colour: 255,51,159;
|
||||||
|
--tint-brightness: 0;
|
||||||
|
--window-padding: 0px;
|
||||||
|
--window-roundness: 0px;
|
||||||
|
--scrollbar-colour: rgba(255,255,255,0.05);
|
||||||
|
--link-colour: #00b0f4;
|
||||||
|
--show-gift-gif-buttons: none;
|
||||||
|
--font: 'DejaVu Sans Mono';
|
||||||
|
--update-notice-1: none;
|
||||||
|
|
||||||
|
}
|
||||||
BIN
.config/BetterDiscord/themes/background.png
Normal file
BIN
.config/BetterDiscord/themes/background.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.3 KiB |
@@ -1,2 +1,3 @@
|
|||||||
--enable-features=VaapiVideoDecoder,VaapiVideoEncoder,WebUIDarkMode
|
--enable-features=VaapiVideoDecoder,VaapiVideoEncoder,WebUIDarkMode
|
||||||
|
--ozone-platform=wayland
|
||||||
--force-dark-mode
|
--force-dark-mode
|
||||||
|
|||||||
@@ -1,2 +1,3 @@
|
|||||||
--enable-features=UseOzonePlatform
|
--enable-features=VaapiVideoDecoder
|
||||||
--ozone-platform=wayland
|
--ozone-platform=wayland
|
||||||
|
--in-process-gpu
|
||||||
|
|||||||
@@ -1,2 +0,0 @@
|
|||||||
--enable-features=UseOzonePlatform
|
|
||||||
--ozone-platform=wayland
|
|
||||||
@@ -1 +1,2 @@
|
|||||||
XDG_CURRENT_DESKTOP=sway
|
export XDG_CURRENT_DESKTOP=sway
|
||||||
|
export XDG_SESSION_TYPE=wayland
|
||||||
|
|||||||
2
.config/kitty/bell.sh
Executable file
2
.config/kitty/bell.sh
Executable file
@@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
find ~/.config/kitty/bells -type f | shuf -n 1 | mpv --audio-display=no --playlist=-
|
||||||
BIN
.config/kitty/bells/loli.mp3
Normal file
BIN
.config/kitty/bells/loli.mp3
Normal file
Binary file not shown.
@@ -184,11 +184,6 @@ font_family DejaVuSansMono
|
|||||||
|
|
||||||
#: map cmd+shift+v paste_from_buffer a1
|
#: map cmd+shift+v paste_from_buffer a1
|
||||||
|
|
||||||
map ctrl+shift+up send_text application \033[0A
|
|
||||||
map ctrl+shift+right send_text application \033[0C
|
|
||||||
map ctrl+shift+down send_text application \033[0B
|
|
||||||
map ctrl+shift+left send_text application \033[0D
|
|
||||||
|
|
||||||
#: Note that copying to the clipboard is a security risk, as all
|
#: Note that copying to the clipboard is a security risk, as all
|
||||||
#: programs, including websites open in your browser can read the
|
#: programs, including websites open in your browser can read the
|
||||||
#: contents of the system clipboard.
|
#: contents of the system clipboard.
|
||||||
@@ -266,7 +261,7 @@ map ctrl+shift+left send_text application \033[0D
|
|||||||
|
|
||||||
#: Terminal bell {{{
|
#: Terminal bell {{{
|
||||||
|
|
||||||
enable_audio_bell no
|
# enable_audio_bell yes
|
||||||
|
|
||||||
#: Enable/disable the audio bell. Useful in environments that require
|
#: Enable/disable the audio bell. Useful in environments that require
|
||||||
#: silence.
|
#: silence.
|
||||||
@@ -287,7 +282,8 @@ enable_audio_bell no
|
|||||||
#: windows in the tab and the window is not the currently focused
|
#: windows in the tab and the window is not the currently focused
|
||||||
#: window
|
#: window
|
||||||
|
|
||||||
# command_on_bell none
|
# command_on_bell mpv --audio-display=no ~/loli.mp3
|
||||||
|
# command_on_bell ~/.config/kitty/bell.sh
|
||||||
|
|
||||||
#: Program to run when a bell occurs.
|
#: Program to run when a bell occurs.
|
||||||
|
|
||||||
@@ -495,7 +491,6 @@ color15 #fdf6e3
|
|||||||
|
|
||||||
#: The foreground and background colors
|
#: The foreground and background colors
|
||||||
|
|
||||||
#background_opacity 0.8
|
|
||||||
background_opacity 1.0
|
background_opacity 1.0
|
||||||
|
|
||||||
#: The opacity of the background. A number between 0 and 1, where 1 is
|
#: The opacity of the background. A number between 0 and 1, where 1 is
|
||||||
@@ -1040,6 +1035,8 @@ shell /bin/zsh
|
|||||||
# map kitty_mod+a>1 set_background_opacity 1
|
# map kitty_mod+a>1 set_background_opacity 1
|
||||||
# map kitty_mod+a>d set_background_opacity default
|
# map kitty_mod+a>d set_background_opacity default
|
||||||
# map kitty_mod+delete clear_terminal reset active
|
# map kitty_mod+delete clear_terminal reset active
|
||||||
|
map kitty_mod+a>o set_background_opacity 1.0
|
||||||
|
map kitty_mod+a>t set_background_opacity 0.8
|
||||||
|
|
||||||
#: You can create shortcuts to clear/reset the terminal. For example::
|
#: You can create shortcuts to clear/reset the terminal. For example::
|
||||||
|
|
||||||
|
|||||||
@@ -2,17 +2,13 @@ ctrl+r cycle-values video-rotate 0 90 180 270
|
|||||||
ctrl+b cycle deband
|
ctrl+b cycle deband
|
||||||
b cycle-values scale "bilinear" "spline64"; cycle-values dscale "bilinear" "mitchell"; cycle-values cscale "bilinear" "sinc"
|
b cycle-values scale "bilinear" "spline64"; cycle-values dscale "bilinear" "mitchell"; cycle-values cscale "bilinear" "sinc"
|
||||||
ctrl+s sub-reload
|
ctrl+s sub-reload
|
||||||
ctrl+S cycle shuffle
|
|
||||||
S screenshot-to-file /tmp/mpv-screenshot.png ; run sh -c "cat /tmp/mpv-screenshot.png | wl-copy -t image/png"
|
S screenshot-to-file /tmp/mpv-screenshot.png ; run sh -c "cat /tmp/mpv-screenshot.png | wl-copy -t image/png"
|
||||||
|
|
||||||
x add sub-delay -0.04
|
x add sub-delay -0.04
|
||||||
X add sub-delay +0.04
|
X add sub-delay +0.04
|
||||||
|
|
||||||
- add video-zoom -.25
|
# increase subtitle font size
|
||||||
+ add video-zoom .25
|
ALT+k add sub-scale +0.1
|
||||||
kp8 add video-pan-y .05
|
|
||||||
kp6 add video-pan-x -.05
|
|
||||||
kp2 add video-pan-y -.05
|
|
||||||
kp4 add video-pan-x .05
|
|
||||||
|
|
||||||
kp5 set video-pan-x 0; set video-pan-y 0; set video-zoom 0
|
# decrease subtitle font size
|
||||||
|
ALT+j add sub-scale -0.1
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
profile=gpu-hq
|
profile=gpu-hq
|
||||||
#gpu-api=vulkan
|
#gpu-api=vulkan
|
||||||
|
#gpu-context=waylandvk
|
||||||
gpu-context=wayland
|
gpu-context=wayland
|
||||||
hwdec=none
|
hwdec=none
|
||||||
fullscreen=yes
|
|
||||||
|
|
||||||
#ao=jack
|
#ao=jack
|
||||||
#audio-channels=stereo
|
#audio-channels=stereo
|
||||||
@@ -34,3 +34,9 @@ ytdl-format=bestvideo[height<=?1080]+bestaudio/best
|
|||||||
#ytdl-raw-options="rm-cache-dir=:yes-playlist="
|
#ytdl-raw-options="rm-cache-dir=:yes-playlist="
|
||||||
|
|
||||||
osd-fractions=yes
|
osd-fractions=yes
|
||||||
|
|
||||||
|
[downmix]
|
||||||
|
profile-desc="downmixing profile"
|
||||||
|
profile-cond=p["audio-params/channel-count"] > 2
|
||||||
|
ad-lavc-downmix=no
|
||||||
|
af=lavfi="pan=stereo|FL=0.5*FC+0.707*FL+0.707*BL+0.5*LFE|FR=0.5*FC+0.707*FR+0.707*BR+0.5*LFE"
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
network=yes
|
|
||||||
35
.config/mpv/scripts/japan7.lua
Normal file
35
.config/mpv/scripts/japan7.lua
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
local settings = {
|
||||||
|
username = "japan7",
|
||||||
|
password = "nihongo",
|
||||||
|
projo_host = "https://lalafin.rhiobet.sh/api/public/file/folder/2d327726f84b208b97cac531dce0872abd0d2eb13728a7cc0c256e1c33d745a0"
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
local opts = require 'mp.options'
|
||||||
|
opts.read_options(settings, "japan7")
|
||||||
|
|
||||||
|
|
||||||
|
local function is_projo(path)
|
||||||
|
return path:match("^https://projection")
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
|
function on_load()
|
||||||
|
local path = mp.get_property("path")
|
||||||
|
local match = path:gsub("^https://fubuki.aidoru.agency", "https://"..settings.username..":"..settings.password.."@fubuki.aidoru.agency")
|
||||||
|
match = match:gsub("^https://korone.aidoru.agency", "https://"..settings.username..":"..settings.password.."@korone.aidoru.agency")
|
||||||
|
match = match:gsub("^https://yuyuko.butaishoujo.moe", "https://"..settings.username..":"..settings.password.."@yuyuko.butaishoujo.moe")
|
||||||
|
match = match:gsub("^https://projo.yuru.moe", "https://"..settings.username..":"..settings.password.."@projo.yuru.moe")
|
||||||
|
match = match:gsub("^https://projection", settings.projo_host)
|
||||||
|
if match ~= path then
|
||||||
|
if is_projo(path) then
|
||||||
|
local stream = match:gsub("^(.+)/.-$", "%1/stream")
|
||||||
|
mp.set_property("ordered-chapters-files", stream)
|
||||||
|
end
|
||||||
|
mp.set_property("stream-open-filename", match)
|
||||||
|
local ass = match:gsub("...$", "ass")
|
||||||
|
mp.commandv("sub-add", ass)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
mp.register_event('start-file', on_load)
|
||||||
@@ -1,34 +0,0 @@
|
|||||||
local utils = require("mp.utils")
|
|
||||||
|
|
||||||
local function get_kdata(kid)
|
|
||||||
local resp = mp.command_native({
|
|
||||||
name = "subprocess",
|
|
||||||
args = { "curl", "-s", "https://kara.moe/api/karas/" .. kid },
|
|
||||||
capture_stdout = true,
|
|
||||||
})
|
|
||||||
|
|
||||||
return utils.parse_json(resp.stdout)
|
|
||||||
end
|
|
||||||
|
|
||||||
local function get_title(kdata)
|
|
||||||
return kdata.titles[kdata.titles_default_language]
|
|
||||||
end
|
|
||||||
|
|
||||||
local function on_load()
|
|
||||||
local path = mp.get_property("path")
|
|
||||||
local kid = path:match("^https://kara.moe/kara/.-([0-9a-z-]+)$")
|
|
||||||
if kid == nil then
|
|
||||||
kid = path:match("^https://live.karaokes.moe/%?video=([0-9a-z-]+)$")
|
|
||||||
end
|
|
||||||
if kid ~= nil then
|
|
||||||
local kdata = get_kdata(kid)
|
|
||||||
local mediafile = "https://kara.moe/downloads/medias/" .. kdata.mediafile
|
|
||||||
local subfile = "https://kara.moe/downloads/lyrics/" .. kdata.subfile
|
|
||||||
mp.set_property("stream-open-filename", mediafile)
|
|
||||||
mp.set_property("replaygain-fallback", kdata.gain)
|
|
||||||
mp.set_property("title", get_title(kdata))
|
|
||||||
mp.commandv("sub-add", subfile)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
mp.register_event("start-file", on_load)
|
|
||||||
@@ -109,7 +109,4 @@
|
|||||||
|
|
||||||
(use! :glacambre/firenvim
|
(use! :glacambre/firenvim
|
||||||
:run (fn [] ((. vim.fn :firenvim#install) 0))
|
:run (fn [] ((. vim.fn :firenvim#install) 0))
|
||||||
:module :settings.firenvim)
|
:module :settings.firenvim))
|
||||||
|
|
||||||
(use! :iamcco/markdown-preview.nvim
|
|
||||||
:run (fn [] ((. vim.fn :mkdp#util#install)))))
|
|
||||||
|
|||||||
@@ -5,8 +5,5 @@
|
|||||||
:content "text"
|
:content "text"
|
||||||
:priority 0
|
:priority 0
|
||||||
:selector "textarea"
|
:selector "textarea"
|
||||||
:takeover "never"}
|
:takeover "always"}
|
||||||
:https://www.deepl.com/ {:selector "textarea[aria-labelledby=translation-source-heading]"
|
:https://zimbra.inria.fr/ {:selector "body[id=tinymce]"}}})
|
||||||
:takeover "always"}
|
|
||||||
:https://zimbra.inria.fr/ {:selector "body[id=tinymce]"
|
|
||||||
:takeover "always"}}})
|
|
||||||
|
|||||||
@@ -340,7 +340,7 @@ map i display_file
|
|||||||
map ? help
|
map ? help
|
||||||
map W display_log
|
map W display_log
|
||||||
map w taskview_open
|
map w taskview_open
|
||||||
map S shell zsh
|
map S shell $SHELL
|
||||||
|
|
||||||
map : console
|
map : console
|
||||||
map ; console
|
map ; console
|
||||||
|
|||||||
@@ -1,7 +1,3 @@
|
|||||||
configuration {
|
|
||||||
modi: "run,mugen:~/.config/rofi/modi/mugen";
|
|
||||||
}
|
|
||||||
|
|
||||||
* {
|
* {
|
||||||
active-background: #20ABE0;
|
active-background: #20ABE0;
|
||||||
active-foreground: @foreground;
|
active-foreground: @foreground;
|
||||||
@@ -163,6 +159,3 @@ textbox-prompt-colon {
|
|||||||
text-color: @normal-foreground;
|
text-color: @normal-foreground;
|
||||||
}
|
}
|
||||||
|
|
||||||
element-text {
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -1,27 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
mugen_host=${MUGEN_HOST:-https://kara.moe}
|
|
||||||
kara_api="${MUGEN_KARA_API:-$mugen_host/api/karas}"
|
|
||||||
karamedia="${MUGEN_KARAOKEMEDIA:-$mugen_host/downloads}"
|
|
||||||
|
|
||||||
# karaoke medias and lyrics directories
|
|
||||||
medias="$karamedia/medias"
|
|
||||||
lyrics="$karamedia/lyrics"
|
|
||||||
|
|
||||||
kid=$ROFI_INFO
|
|
||||||
|
|
||||||
if [ -z "$@" ]; then
|
|
||||||
/usr/bin/printf "\0prompt\x1fkaraoke search\n"
|
|
||||||
exit 0
|
|
||||||
else
|
|
||||||
if [ -z "$kid" ]; then
|
|
||||||
/usr/bin/printf "\0prompt\x1fmugen\n"
|
|
||||||
query="$(echo "$@" | tr " " "+")"
|
|
||||||
curl "https://kara.moe/api/karas/search?collections=dbcf2c22-524d-4708-99bb-601703633927,c7db86a0-ff64-4044-9be4-66dd1ef1d1c1,2fa2fe3f-bb56-45ee-aa38-eae60e76f224,efe171c0-e8a1-4d03-98c0-60ecf741ad52&filter=$query&size=100" | jq -r '.content | .[] | "\(.mediafile)\u0000info\u001f\(.kid)"'
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
# choose karaoke
|
|
||||||
[ -z "$kid" ] && exit
|
|
||||||
|
|
||||||
mpv "https://kara.moe/kara/$kid" > /dev/null 2>&1 &
|
|
||||||
exec 1>&-
|
|
||||||
2
.config/spicetify/.gitignore
vendored
Normal file
2
.config/spicetify/.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
Backup/**
|
||||||
|
Extracted/**
|
||||||
37
.config/spicetify/Themes/SolarizedDarkGreen/color.ini
Normal file
37
.config/spicetify/Themes/SolarizedDarkGreen/color.ini
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
# Solarized Dark official palette
|
||||||
|
# Base03 #002b36
|
||||||
|
# Base02 #073642
|
||||||
|
# Base01 #586e75
|
||||||
|
# Base00 #657b83
|
||||||
|
# Base0 #839496
|
||||||
|
# Base1 #93a1a1
|
||||||
|
# Base2 #eee8d5
|
||||||
|
# Base3 #fdf6e3
|
||||||
|
# Yellow #b58900
|
||||||
|
# Orange #cb4b16
|
||||||
|
# Red #dc322f
|
||||||
|
# Magenta #d33682
|
||||||
|
# Violet #6c71c4
|
||||||
|
# Blue #268bd2
|
||||||
|
# Cyan #2aa198
|
||||||
|
# Green #859900
|
||||||
|
|
||||||
|
[Base]
|
||||||
|
main_fg = 859900
|
||||||
|
secondary_fg = 93a1a1
|
||||||
|
main_bg = 002b36
|
||||||
|
sidebar_and_player_bg = 002b36
|
||||||
|
cover_overlay_and_shadow = 000000
|
||||||
|
indicator_fg_and_button_bg = 859900
|
||||||
|
pressing_fg = 002b36
|
||||||
|
slider_bg = 073642
|
||||||
|
sidebar_indicator = 859900
|
||||||
|
hover_button_bg = 859900
|
||||||
|
scrollbar_fg_and_selected_row_bg = 073642
|
||||||
|
sidebar_indicator_and_hover_button_bg = 859900
|
||||||
|
pressing_button_fg = 002b36
|
||||||
|
pressing_button_bg = 859900
|
||||||
|
selected_button = 859900
|
||||||
|
miscellaneous_bg = 859900
|
||||||
|
miscellaneous_hover_bg = 859900
|
||||||
|
preserve_1 = FFFFFF
|
||||||
657
.config/spicetify/Themes/SolarizedDarkGreen/user.css
Normal file
657
.config/spicetify/Themes/SolarizedDarkGreen/user.css
Normal file
@@ -0,0 +1,657 @@
|
|||||||
|
:root {
|
||||||
|
--bar-height: 60px;
|
||||||
|
--modspotify_sidebar_indicator: #839496;
|
||||||
|
--modspotify_hover_button_bg: #b58900;
|
||||||
|
}
|
||||||
|
|
||||||
|
* {
|
||||||
|
font-family: "DejaVu Sans Mono", "Helvetica Neue", "Arial", sans-serif !important;
|
||||||
|
font-weight: 400;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*Round corner cover image*/
|
||||||
|
.card-image,
|
||||||
|
.card-placeholder-wrapper,
|
||||||
|
.card-image-content-wrapper,
|
||||||
|
.Card:not(.Card--artist) .Card__image,
|
||||||
|
.Card:not(.Card--artist) .Card__image-wrapper {
|
||||||
|
border-radius: 0px !important;
|
||||||
|
overflow: hidden !important
|
||||||
|
}
|
||||||
|
|
||||||
|
/*Hide some annoying elements like profile name and pic, upgrade button and device connect bar at bottom, new playlist button*/
|
||||||
|
.upgrade-button,
|
||||||
|
.view-player .remote-playback-bar,
|
||||||
|
.NewPlaylistButton {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*Exclude these elements from draggable property because it stops them from clickable*/
|
||||||
|
.profile-items-container,
|
||||||
|
.profile {
|
||||||
|
-webkit-app-region: no-drag !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*Thinner scrollbar*/
|
||||||
|
::-webkit-scrollbar {
|
||||||
|
height: 6px !important;
|
||||||
|
width: 6px !important;
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*Round corner scrollbar*/
|
||||||
|
::-webkit-scrollbar-thumb {
|
||||||
|
border-radius: 0px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*Hide top and bottom buttons of scrollbar */
|
||||||
|
/*who uses those, lol*/
|
||||||
|
::-webkit-scrollbar-button {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*Hide cover image overlay*/
|
||||||
|
.card-overlay {
|
||||||
|
visibility: hidden !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*Lift up cover when hovering on it*/
|
||||||
|
.card-image-content-wrapper,
|
||||||
|
.Card:not(.Card--artist) .Card__image-wrapper {
|
||||||
|
transition-property: transform, box-shadow !important;
|
||||||
|
transition-duration: 1s !important;
|
||||||
|
transition-timing-function: cubic-bezier(.3,0,0,1) !important;
|
||||||
|
box-shadow: 0 5px 20px rgba(0,0,0,0.1);
|
||||||
|
}
|
||||||
|
|
||||||
|
.card-image-hit-area:not(.no-hover):hover .card-image-content-wrapper,
|
||||||
|
.Card:not(.Card--artist) .Card__image-hit-area-counter-scale:hover .Card__image-wrapper {
|
||||||
|
transform: translateY(-10px);
|
||||||
|
box-shadow: 0 15px 30px rgba(0,0,0,0.3);
|
||||||
|
}
|
||||||
|
|
||||||
|
.card-image-hit-area .card-button-add,
|
||||||
|
.card-image-hit-area .card-button-play,
|
||||||
|
.card-image-hit-area .card-button-more,
|
||||||
|
.Card__image-hit-area .card-button-add,
|
||||||
|
.Card__image-hit-area .card-button-play,
|
||||||
|
.Card__image-hit-area .card-button-more,
|
||||||
|
.Card__image-hit-area .Card__play-button,
|
||||||
|
.Card__image-hit-area .Card__add-button,
|
||||||
|
.Card__image-hit-area .Card__more-button,
|
||||||
|
.Card__image-hit-area .Card__overlay {
|
||||||
|
transition-property: all !important;
|
||||||
|
transition-duration: 1s !important;
|
||||||
|
transition-timing-function: cubic-bezier(.3,0,0,1) !important;
|
||||||
|
opacity: 0 !important;
|
||||||
|
}
|
||||||
|
.card-image-hit-area:not(.no-hover):hover .card-button-add,
|
||||||
|
.card-image-hit-area:not(.no-hover):hover .card-button-play,
|
||||||
|
.card-image-hit-area:not(.no-hover):hover .card-button-more,
|
||||||
|
.Card__image-hit-area:not(.no-hover):hover .card-button-add,
|
||||||
|
.Card__image-hit-area:not(.no-hover):hover .card-button-play,
|
||||||
|
.Card__image-hit-area:not(.no-hover):hover .card-button-more {
|
||||||
|
opacity: 1 !important;
|
||||||
|
transform: translateY(-10px);
|
||||||
|
}
|
||||||
|
|
||||||
|
.Card__image-hit-area:hover .Card__play-button,
|
||||||
|
.Card__image-hit-area:hover .Card__add-button,
|
||||||
|
.Card__image-hit-area:hover .Card__more-button,
|
||||||
|
.Card__image-hit-area:hover .Card__overlay {
|
||||||
|
opacity: 1 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.glue-page-header__content .glue-page-header__image-inner {
|
||||||
|
border-radius: 0px;
|
||||||
|
box-shadow: unset !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.glue-page-header__full-description-overlay {
|
||||||
|
box-shadow: unset !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card-placeholder-wrapper {
|
||||||
|
background: transparent !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*Spice up search input background*/
|
||||||
|
.SearchInput {
|
||||||
|
color: var(--modspotify_main_fg);
|
||||||
|
}
|
||||||
|
.SearchInput__input {
|
||||||
|
color: var(--modspotify_secondary_fg);
|
||||||
|
background-color: rgba(var(--modspotify_rgb_scrollbar_fg_and_selected_row_bg), 0.5) !important;
|
||||||
|
border-radius: 0px !important;
|
||||||
|
padding-left: 34px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar:hover .sidebar-navbar.sidebar-scroll-element {
|
||||||
|
opacity: 1!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.view-player .player-controls-container,
|
||||||
|
.view-player .player-controls-container .controls {
|
||||||
|
overflow: visible !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.view-player .player-controls-container .controls .button-play{
|
||||||
|
height:50px !important;
|
||||||
|
border-radius:50px !important;
|
||||||
|
background: transparent !important;
|
||||||
|
box-shadow:0 0 0 0 !important;
|
||||||
|
width:50px !important;
|
||||||
|
overflow: visible !important;
|
||||||
|
box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
|
||||||
|
transition:none 0.3s cubic-bezier(.3,0,.7,1);
|
||||||
|
}
|
||||||
|
|
||||||
|
.view-player .player-controls-container .controls .button-play:before{
|
||||||
|
font-size:18px !important;
|
||||||
|
padding-left: 16px !important;
|
||||||
|
padding-top: 9px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.view-player .player-controls-container .controls .button-play:after {
|
||||||
|
box-shadow: unset !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.view-player .player-controls-container {
|
||||||
|
position: absolute !important;
|
||||||
|
width: 100% !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.view-player .player-controls-container .controls {
|
||||||
|
width: 100% !important;
|
||||||
|
height: 100% !important;
|
||||||
|
align-items: center !important;
|
||||||
|
margin-top : 0px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
Hide the song duration and elapsed text. I dont know where to put those so I just hide them
|
||||||
|
*/
|
||||||
|
.view-player .player-controls-container .progress-container .elapsed,
|
||||||
|
.view-player .player-controls-container .progress-container .remaining {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Add round corner for Gerne and Mood cards */
|
||||||
|
.gc-image-container,
|
||||||
|
.gc-image {
|
||||||
|
border-radius: 0px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
Collage of 3 album covers is usually seen in Browse and Chart.
|
||||||
|
*/
|
||||||
|
.card-puff__image-wrapper,
|
||||||
|
.card-puff__info-container,
|
||||||
|
.card-puff__card-image {
|
||||||
|
border-radius: 0px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card-puff__image-wrapper {
|
||||||
|
overflow: visible;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card-puff__card-image {
|
||||||
|
box-shadow: 5px 0 30px rgba(0,0,0,0.7);
|
||||||
|
overflow: visible;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card-puff__title-container {
|
||||||
|
background-color: transparent !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card-puff.pressed .card-puff__image-wrapper,
|
||||||
|
.card-puff.pressed .card-puff__info-container {
|
||||||
|
opacity: 0.7 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card-puff__title {
|
||||||
|
padding: 5px 10px 5px 10px !important;
|
||||||
|
background-color: var(--modspotify_main_bg) !important;
|
||||||
|
border-radius: 0px;
|
||||||
|
border: 2px solid var(--modspotify_main_fg);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
We use round corner on cover so they look weird in original
|
||||||
|
form, so I move last cover to the right 20px and first one to the left 20px
|
||||||
|
*/
|
||||||
|
.card-puff__card-image:nth-child(1) {
|
||||||
|
right: 20px;
|
||||||
|
box-shadow: 0 0 0 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card-puff__card-image:nth-child(3) {
|
||||||
|
left: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.grid-overlay-label {
|
||||||
|
top: 140px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**/
|
||||||
|
.glue-page-header__background-color {
|
||||||
|
background-image: none !important;
|
||||||
|
background: var(--modspotify_main_bg);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* .glue-page-header__sticky {
|
||||||
|
padding-top: 60px !important;
|
||||||
|
} */
|
||||||
|
|
||||||
|
/*
|
||||||
|
Remove those title, cringy description and
|
||||||
|
meaningless followers number
|
||||||
|
*/
|
||||||
|
|
||||||
|
.carousel .card-info-subtitle-description,
|
||||||
|
.carousel .card-info-subtitle-metadata,
|
||||||
|
.carousel .card:not(.card-type-station).card-info-title,
|
||||||
|
.carousel .card.card-type-playlist.image-loaded .card-info-subtitle-description,
|
||||||
|
.carousel .card.card-type-playlist.image-loaded .card-info-subtitle-metadata {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
In top of Browse usually has bunch of Playlist or Album cards,
|
||||||
|
and they has .carousel as a wrapper and it hides anything that
|
||||||
|
overflows from its zone, aka our shadow and lifting animation.
|
||||||
|
*/
|
||||||
|
.carousel {
|
||||||
|
overflow: visible !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
Button with text Play
|
||||||
|
*/
|
||||||
|
.button.button-green,
|
||||||
|
.GlueButton.GlueButton--style-green {
|
||||||
|
color: var(--modspotify_main_bg) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
Change text color in playlist
|
||||||
|
*/
|
||||||
|
.tl-explicit .label,
|
||||||
|
.tl-premium .label,
|
||||||
|
.tl-cell:not(.tl-number),
|
||||||
|
.tl-cell a:link,
|
||||||
|
.tl-highlight {
|
||||||
|
color: var(--modspotify_secondary_fg);
|
||||||
|
}
|
||||||
|
|
||||||
|
.card-type-album .card-info-title,
|
||||||
|
.card-type-track .card-info-title,
|
||||||
|
.card-type-collection-album .card-info-title,
|
||||||
|
.card-type-episode .card-info-title {
|
||||||
|
font-size: 15px;
|
||||||
|
font-weight: 600 !important;
|
||||||
|
text-align: center !important;
|
||||||
|
width: 100% !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card-type-album .card-info-subtitle-links,
|
||||||
|
.card-type-track .card-info-subtitle-links,
|
||||||
|
.card-type-collection-album .card-info-subtitle-links,
|
||||||
|
.card-type-episode .card-info-subtitle-links {
|
||||||
|
text-align: center !important;
|
||||||
|
width: 100% !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tracklist-station-container::after {
|
||||||
|
background: transparent !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.GlueHeader__background-overlay {
|
||||||
|
background: var(--modspotify_main_bg) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Move navigation buttons and search field to the right and down */
|
||||||
|
.browser-navigation-top-bar {
|
||||||
|
margin-left: 40px !important;
|
||||||
|
margin-top: 15px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.SearchInput__input,
|
||||||
|
.SearchInput__searchIcon,
|
||||||
|
.SearchInput__clearButton {
|
||||||
|
margin-top: 15px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.content-top-bar__profile-menu-button {
|
||||||
|
margin-top: 15px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.body-container--windows:not(.with-buddy-list):not(.messagebar) .content-top-bar__profile {
|
||||||
|
margin-right: 110px !important;
|
||||||
|
margin-top: -5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Spice up Fullscreen mode */
|
||||||
|
#view-player .album-art .album-art__image {
|
||||||
|
border-radius: 0px !important;
|
||||||
|
box-shadow: 0 10px 70px rgba(var(--modspotify_rgb_cover_overlay_and_shadow),.5) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
#view-player .album-art .album-art__image .card-image-content-wrapper,
|
||||||
|
#view-player .album-art .album-art__image .card-image-content-wrapper .card-image {
|
||||||
|
border-radius: 0px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Daily mixes */
|
||||||
|
.carousel .card-info-wrapper.card-info-with-description.card-info-with-metadata {
|
||||||
|
height: 50px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Remove section divider */
|
||||||
|
.section-divider {
|
||||||
|
border-bottom: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Adjust Position of border active tab in Nav bar at top
|
||||||
|
and add little glowing effect
|
||||||
|
*/
|
||||||
|
.nav.navbar-nav {
|
||||||
|
overflow: hidden !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav.navbar-nav a {
|
||||||
|
overflow: visible !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav.navbar-nav a::after {
|
||||||
|
bottom: 0px !important;
|
||||||
|
width: 100% !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav.navbar-nav .active a::after{
|
||||||
|
box-shadow: 0 0px 20px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav.navbar-nav a:focus:not(.button):active::after{
|
||||||
|
background-color: var(--modspotify_pressing_fg) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Notification bar */
|
||||||
|
#content-wrapper #view-message-bar {
|
||||||
|
position: absolute !important;
|
||||||
|
width: calc(100% - 160px) !important;
|
||||||
|
margin-left: 80px !important;
|
||||||
|
border-radius: 0 0 0px 0px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Small cover Big cover mechanism */
|
||||||
|
.now-playing.cover-size-transition.active.image-expanded .cover-image {
|
||||||
|
width: 10px !important;
|
||||||
|
height: 10px !important;
|
||||||
|
}
|
||||||
|
.now-playing.cover-size-transition.active.image-expanded .caption {
|
||||||
|
padding-left: 0px !important;
|
||||||
|
}
|
||||||
|
#view-now-playing a.image {
|
||||||
|
overflow: visible !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
#view-now-playing.expanded {
|
||||||
|
width: 200px;
|
||||||
|
height: 200px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#now-playing-image-large .cover-image {
|
||||||
|
height: 200px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Profile arrow in top left */
|
||||||
|
.content-top-bar__profile-menu-button .dropdown {
|
||||||
|
position: fixed !important;
|
||||||
|
top: 10px !important;
|
||||||
|
-webkit-app-region: no-drag !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
body.body-container--windows .content-top-bar__profile-menu-button .dropdown {
|
||||||
|
right: 190px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
body:not(.body-container--windows) .content-top-bar__profile-menu-button .dropdown {
|
||||||
|
right: 20px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Small tooltip */
|
||||||
|
#tooltip {
|
||||||
|
box-shadow: 0 0 10px rgba(0,0,0,0.2) !important;
|
||||||
|
border-radius: 0px !important;
|
||||||
|
border: 2px solid var(--modspotify_main_fg);
|
||||||
|
padding: 10px 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tooltip-arrow-top, .tooltip-arrow-bottom {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lyrics-lines-container,
|
||||||
|
.message-container {
|
||||||
|
color: #FFFFFF !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Home page */
|
||||||
|
.GlueCarousel__grid-wrapper::-webkit-scrollbar-thumb {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.GlueCard__info-wrapper,
|
||||||
|
.Card__info-wrapper {
|
||||||
|
margin-bottom: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card-horizontal-interior-wrapper .card-info-title {
|
||||||
|
text-align: start !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tl-row.selected:hover .tl-cell {
|
||||||
|
background: var(--modspotify_scrollbar_fg_and_selected_row_bg) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.GlueTableRow--is-selected {
|
||||||
|
background-color: var(--modspotify_scrollbar_fg_and_selected_row_bg) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tracklist-podcast .tl-progress .row-progress__bar {
|
||||||
|
background-color: var(--modspotify_main_fg);
|
||||||
|
}
|
||||||
|
|
||||||
|
.Header__background-color{
|
||||||
|
background-color: var(--modspotify_main_bg) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.Button--style-green,
|
||||||
|
.button.button-green, .button.button-white {
|
||||||
|
border-radius: 25px;
|
||||||
|
color: var(--modspotify_main_bg) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.glue-page-header:not(.glue-page-header--album):not(.glue-page-header--playlist):not(.glue-page-header--artist):not(.glue-page-header--dailymix):not(.glue-page-header--user):not(.glue-page-header--show)
|
||||||
|
.glue-page-header__content-inner .glue-page-header__title-text,
|
||||||
|
.HomeHeader .Header__content-inner .Header__title-text-inner,
|
||||||
|
.MadeForYouHeader .Header__content-inner .Header__title-text-inner,
|
||||||
|
.RecentlyPlayedPage__header .Header__content-inner .Header__title-text-inner {
|
||||||
|
background-color: var(--modspotify_main_bg);
|
||||||
|
padding: 5px 20px;
|
||||||
|
border: 5px solid var(--modspotify_main_fg) !important;
|
||||||
|
border-radius: 0px;
|
||||||
|
box-shadow: 0 4px 12px 0 rgba(var(--modspotify_rgb_cover_overlay_and_shadow),.2);
|
||||||
|
text-transform: uppercase;
|
||||||
|
}
|
||||||
|
|
||||||
|
.glue-page-header.glue-page-header--album .glue-page-header__content-inner .glue-page-header__title,
|
||||||
|
.glue-page-header.glue-page-header--artist .glue-page-header__content-inner .glue-page-header__title,
|
||||||
|
.glue-page-header.glue-page-header--dailymix .glue-page-header__content-inner .glue-page-header__title,
|
||||||
|
.glue-page-header.glue-page-header--playlist .glue-page-header__content-inner .glue-page-header__title {
|
||||||
|
margin-top: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
span.glue-page-header__title-text {
|
||||||
|
color: var(--modspotify_main_fg);
|
||||||
|
}
|
||||||
|
|
||||||
|
.glue-page-header .glue-page-header__content-inner .glue-page-header__button {
|
||||||
|
margin-top: 40px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.glue-page-header__content-inner,
|
||||||
|
.glue-page-header__data,
|
||||||
|
.glue-page-header__title,
|
||||||
|
.Header__content-inner,
|
||||||
|
.Header__data,
|
||||||
|
.Header__title,
|
||||||
|
.Header__title-text,
|
||||||
|
.Header__title-text-inner {
|
||||||
|
overflow: visible !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*Force player bar to has fixed height*/
|
||||||
|
.view-player {
|
||||||
|
height: var(--bar-height) !important;
|
||||||
|
border-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.view-player .now-playing {
|
||||||
|
overflow: unset;
|
||||||
|
}
|
||||||
|
|
||||||
|
.view-player .now-playing .cover-image-link,
|
||||||
|
.view-player .now-playing .cover-image-link figure {
|
||||||
|
width: var(--bar-height);
|
||||||
|
height: var(--bar-height);
|
||||||
|
}
|
||||||
|
|
||||||
|
#now-playing-image-small .cover-image {
|
||||||
|
position: fixed !important;
|
||||||
|
width: var(--bar-height);
|
||||||
|
height: var(--bar-height);
|
||||||
|
left: 0;
|
||||||
|
bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.view-player .now-playing .cover-image-link-wrapper {
|
||||||
|
flex: 0 1 calc(var(--bar-height) + 10px);
|
||||||
|
}
|
||||||
|
|
||||||
|
.text-container {
|
||||||
|
z-index: 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
.view-player .now-playing-container .button-add {
|
||||||
|
color: var(--modspotify_main_fg) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.progress-container .progress-bar,
|
||||||
|
.progress-container .inner {
|
||||||
|
top: 0 !important;
|
||||||
|
margin-top: 0 !important;
|
||||||
|
height: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.progress-container .progress-bar-wrapper {
|
||||||
|
top: 0 !important;
|
||||||
|
height: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.progress-container {
|
||||||
|
position: fixed !important;
|
||||||
|
width: 100% !important;
|
||||||
|
bottom: var(--bar-height) !important;
|
||||||
|
margin : 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.progress-container .inner {
|
||||||
|
border-radius: 0 0px 0px 0 !important;
|
||||||
|
background-color: var(--modspotify_main_fg) !important;
|
||||||
|
box-shadow: 0 0px 0px 0 var(--modspotify_main_fg);
|
||||||
|
}
|
||||||
|
|
||||||
|
.glue-page-header__p2s-details,
|
||||||
|
.glue-page-header__p2s-followers {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.context-menu {
|
||||||
|
border: 2px solid var(--modspotify_main_fg);
|
||||||
|
box-shadow: 0 4px 12px 0 rgba(var(--modspotify_rgb_cover_overlay_and_shadow),.2);
|
||||||
|
border-radius: 0px !important;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
#menu-wrapper ::-webkit-scrollbar {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#menu-wrapper {
|
||||||
|
border-right: 3px solid black;
|
||||||
|
border-image: linear-gradient(0deg, transparent , var(--modspotify_scrollbar_fg_and_selected_row_bg) 40%, var(--modspotify_scrollbar_fg_and_selected_row_bg) 60%, transparent 90%) 2 90%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.main-view-wrapper {
|
||||||
|
overflow: unset;
|
||||||
|
}
|
||||||
|
|
||||||
|
.Button--style-icon-stroke:after,
|
||||||
|
.Button--style-icon-stroke:hover:after,
|
||||||
|
.Button--style-icon-stroke,
|
||||||
|
.glue-page-header__button .button-icon-with-stroke,
|
||||||
|
.glue-page-header__button .button-icon-with-stroke::after {
|
||||||
|
box-shadow: unset;
|
||||||
|
}
|
||||||
|
|
||||||
|
.glue-page-header.glue-page-header--artist .glue-page-header__label {
|
||||||
|
padding-top: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.glue-page-header.glue-page-header--artist.has-custom-image .glue-page-header__label {
|
||||||
|
padding-top: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.glue-page-header__content .glue-page-header__label {
|
||||||
|
margin-left: -2px;
|
||||||
|
z-index: 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
.glue-page-header__label span,
|
||||||
|
.Header__label span {
|
||||||
|
background-color: var(--modspotify_main_fg);
|
||||||
|
color: var(--modspotify_main_bg);
|
||||||
|
padding: 2px 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.glue-page-header__label .header-verified-check {
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
body.remotebar .view-player .player-bar-wrapper {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.SidebarListItem--is-active:after,
|
||||||
|
.RootlistItem--is-active:after,
|
||||||
|
/* For Linux */ #view-navigation-bar .item.active:after {
|
||||||
|
background-color: transparent;
|
||||||
|
background-image: linear-gradient(90deg, var(--modspotify_sidebar_indicator) , transparent);
|
||||||
|
opacity: 0.2;
|
||||||
|
bottom: unset;
|
||||||
|
top: 5%;
|
||||||
|
height: 90%;
|
||||||
|
width: 100%
|
||||||
|
}
|
||||||
|
|
||||||
|
.Header__image-inner {
|
||||||
|
box-shadow: unset;
|
||||||
|
}
|
||||||
|
|
||||||
|
.button.button-green.contextmenu-active, .button.button-green:not(:disabled):hover {
|
||||||
|
background-color: var(--modspotify_hover_button_bg);
|
||||||
|
}
|
||||||
31
.config/spicetify/config-xpui.ini
Normal file
31
.config/spicetify/config-xpui.ini
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
[AdditionalOptions]
|
||||||
|
extensions =
|
||||||
|
custom_apps =
|
||||||
|
sidebar_config = 1
|
||||||
|
home_config = 1
|
||||||
|
|
||||||
|
[Patch]
|
||||||
|
|
||||||
|
[Setting]
|
||||||
|
prefs_path = /home/rhiobet/.config/spotify/prefs
|
||||||
|
overwrite_assets = 0
|
||||||
|
check_spicetify_upgrade = 0
|
||||||
|
spotify_path = /opt/spotify
|
||||||
|
current_theme = SpicetifyDefault
|
||||||
|
color_scheme =
|
||||||
|
inject_css = 1
|
||||||
|
replace_colors = 1
|
||||||
|
spotify_launch_flags =
|
||||||
|
|
||||||
|
[Preprocesses]
|
||||||
|
disable_sentry = 1
|
||||||
|
disable_ui_logging = 1
|
||||||
|
remove_rtl_rule = 1
|
||||||
|
expose_apis = 1
|
||||||
|
disable_upgrade_check = 1
|
||||||
|
|
||||||
|
; DO NOT CHANGE!
|
||||||
|
[Backup]
|
||||||
|
version =
|
||||||
|
with =
|
||||||
|
|
||||||
39
.config/spicetify/config.ini
Normal file
39
.config/spicetify/config.ini
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
[Setting]
|
||||||
|
spotify_path = /opt/spotify
|
||||||
|
prefs_path = /home/rhiobet/.config/spotify/prefs
|
||||||
|
current_theme = SolarizedDarkGreen
|
||||||
|
color_scheme =
|
||||||
|
inject_css = 1
|
||||||
|
replace_colors = 1
|
||||||
|
overwrite_assets = 0
|
||||||
|
spotify_launch_flags =
|
||||||
|
check_spicetify_upgrade = 0
|
||||||
|
|
||||||
|
[Preprocesses]
|
||||||
|
remove_rtl_rule = 1
|
||||||
|
expose_apis = 1
|
||||||
|
disable_sentry = 1
|
||||||
|
disable_ui_logging = 1
|
||||||
|
disable_upgrade_check = 1
|
||||||
|
|
||||||
|
[AdditionalOptions]
|
||||||
|
home = 0
|
||||||
|
lyric_always_show = 0
|
||||||
|
lyric_force_no_sync = 0
|
||||||
|
tastebuds = 0
|
||||||
|
fastUser_switching = 0
|
||||||
|
made_for_you_hub = 0
|
||||||
|
new_feedback_ui = 0
|
||||||
|
radio = 0
|
||||||
|
song_page = 0
|
||||||
|
extensions =
|
||||||
|
minimal_ui = 0
|
||||||
|
experimental_features = 0
|
||||||
|
search_in_sidebar = 0
|
||||||
|
visualization_high_framerate = 0
|
||||||
|
custom_apps =
|
||||||
|
|
||||||
|
; DO NOT CHANGE!
|
||||||
|
[Backup]
|
||||||
|
version = 1.1.56.595.g2d2da0de
|
||||||
|
|
||||||
3
.config/spicetify/user.css
Normal file
3
.config/spicetify/user.css
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
body {
|
||||||
|
--glue-font-family: Karla;
|
||||||
|
}
|
||||||
@@ -21,24 +21,21 @@ set $term kitty
|
|||||||
# set $menu dmenu_path | dmenu | xargs swaymsg exec --
|
# set $menu dmenu_path | dmenu | xargs swaymsg exec --
|
||||||
set $menu rofi -no-levenshtein-sort -color-enabled -show run\
|
set $menu rofi -no-levenshtein-sort -color-enabled -show run\
|
||||||
-run-command "zsh -i -c '{cmd}'" | xargs swaymsg exec --
|
-run-command "zsh -i -c '{cmd}'" | xargs swaymsg exec --
|
||||||
set $srclocker swaylock -c 222222 -i eDP-1:~/wallpapers/radiance.png\
|
set $srclocker swaylock -c 222222 -u -i eDP-1:~/wallpapers/radiance.png\
|
||||||
-i DP-5:~/wallpapers/hornet.jpg -i DP-4:~/wallpapers/knight.jpg\
|
-i DP-5:~/wallpapers/hornet.jpg -i DP-4:~/wallpapers/knight.jpg
|
||||||
-i DP-7:~/wallpapers/hornet.jpg -i DP-6:~/wallpapers/knight.jpg\
|
|
||||||
-i DP-9:~/wallpapers/hornet.jpg -i DP-8:~/wallpapers/knight.jpg\
|
|
||||||
-i HDMI-A-1:~/wallpapers/radiance.png
|
|
||||||
|
|
||||||
### Output configuration
|
### Output configuration
|
||||||
#
|
#
|
||||||
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
|
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
|
||||||
# output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
|
# output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
|
||||||
output eDP-1 pos 0 1480 res 1920 1080
|
output * pos 1920 0 res 1920 1080
|
||||||
output HDMI-A-1 pos 1920 1480 res 1920 1080
|
#output eDP-1 pos 0 300 res 3840 2160 scale 1
|
||||||
output "Samsung Electric Company SyncMaster H1AK500000" res 3840 2160
|
output eDP-1 pos 0 300 res 3840 2160
|
||||||
output "Dell Inc. DELL U2410 F525M0A1082L" pos 1920 680 res 1920 1200
|
output "Goldstar Company Ltd M2080D 0x00000101" pos 1920 0 res 1920 1080
|
||||||
#output "Dell Inc. DELL U2717D JXRPT83GAHKS" pos 3840 0 mode --custom 2560x1440@39Hz transform 90
|
#output "Dell Inc. DELL U2717D JXRPT83GAHKS" pos 3840 0 res 2560 1440
|
||||||
output "Dell Inc. DELL U2717D JXRPT83GAHKS" pos 1920 1480 mode 2560 1440
|
output "Dell Inc. DELL U2717D JXRPT83GAHKS" pos 1920 0 res 2560 1440
|
||||||
output "Hewlett Packard HP LA2405x CN43480QK5" pos 3840 320 mode 1920 1200 transform 270
|
#output "Dell Inc. DELL U2717D JXRPT83GAHKS" pos 1920 0 res 1920 1080
|
||||||
output "Dell Inc. DELL U2410 F525M98C17AL" pos 0 680 mode 1920 1200
|
output HDMI-A-3 pos 1920 0 res 1920 1080
|
||||||
output * bg ~/wallpapers/filianore-u.jpg fill
|
output * bg ~/wallpapers/filianore-u.jpg fill
|
||||||
focus output eDP-1
|
focus output eDP-1
|
||||||
#
|
#
|
||||||
@@ -49,14 +46,7 @@ focus output eDP-1
|
|||||||
# You can get the names of your outputs by running: swaymsg -t get_outputs
|
# You can get the names of your outputs by running: swaymsg -t get_outputs
|
||||||
|
|
||||||
# Mouse cursor
|
# Mouse cursor
|
||||||
set $my_cursor capitaine-cursors
|
seat seat0 xcursor_theme capitaine-cursors 32
|
||||||
set $my_cursor_size 32
|
|
||||||
|
|
||||||
seat seat0 xcursor_theme $my_cursor $my_cursor_size
|
|
||||||
exec_always {
|
|
||||||
gsettings set org.gnome.desktop.interface cursor-theme $my_cursor
|
|
||||||
gsettings set org.gnome.desktop.interface cursor-size $my_cursor_size
|
|
||||||
}
|
|
||||||
|
|
||||||
### Idle configuration
|
### Idle configuration
|
||||||
#
|
#
|
||||||
@@ -91,14 +81,11 @@ input "*" {
|
|||||||
xkb_variant latin9
|
xkb_variant latin9
|
||||||
}
|
}
|
||||||
|
|
||||||
input "1102:4619:DLL07A0:01_044E:120B" {
|
input "1739:0:Synaptics_TM3276-031" {
|
||||||
tap enabled
|
tap enabled
|
||||||
natural_scroll enabled
|
natural_scroll enabled
|
||||||
}
|
}
|
||||||
|
|
||||||
input "9653:84:Samsung_electronics_inc._Samsung_HID_Multi-Touch"\
|
|
||||||
map_to_output "Samsung Electric Company SyncMaster H1AK500000"
|
|
||||||
|
|
||||||
### Key bindings
|
### Key bindings
|
||||||
#
|
#
|
||||||
# Basics:
|
# Basics:
|
||||||
@@ -110,14 +97,14 @@ input "9653:84:Samsung_electronics_inc._Samsung_HID_Multi-Touch"\
|
|||||||
bindsym $mod+Shift+q kill
|
bindsym $mod+Shift+q kill
|
||||||
|
|
||||||
# Sound
|
# Sound
|
||||||
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5%
|
bindsym XF86AudioRaiseVolume exec amixer -c 0 sset Master 5%+
|
||||||
bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5%
|
bindsym XF86AudioLowerVolume exec amixer -c 0 sset Master 5%-
|
||||||
bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle
|
bindsym XF86AudioMute exec 'amixer -c 0 sset Master toggle && amixer -c 0 sset Speaker on && amixer -c 0 sset Headphone on'
|
||||||
bindsym XF86AudioMicMute exec pactl set-source-mute @DEFAULT_SOURCE@ toggle
|
bindsym XF86AudioMicMute exec amixer -c 0 sset Capture toggle
|
||||||
|
|
||||||
# Brightness
|
# Brightness
|
||||||
bindsym XF86MonBrightnessUp exec xbacklight -inc 5
|
bindsym XF86MonBrightnessUp exec brightnessctl s +5%
|
||||||
bindsym XF86MonBrightnessDown exec xbacklight -dec 5
|
bindsym XF86MonBrightnessDown exec brightnessctl s 5%-
|
||||||
|
|
||||||
# Start your launcher
|
# Start your launcher
|
||||||
bindsym $mod+r exec $menu
|
bindsym $mod+r exec $menu
|
||||||
@@ -138,9 +125,11 @@ input "9653:84:Samsung_electronics_inc._Samsung_HID_Multi-Touch"\
|
|||||||
'swaymsg exit'
|
'swaymsg exit'
|
||||||
|
|
||||||
# Screenshot
|
# Screenshot
|
||||||
bindsym Print exec grim -g "$(slurp -d)" - | wl-copy -t image/png
|
bindsym Print exec slurp -d | grim -g - - | wl-copy -t image/png
|
||||||
bindsym Ctrl+Print exec swaymsg -t get_tree | jq -r 'recurse(.nodes[], .floating_nodes[]) | select(.focused and .pid).rect | "\(.x),\(.y) \(.width)x\(.height)"' | grim -g - - | wl-copy -t image/png
|
bindsym Ctrl+Print exec swaymsg -t get_tree | jq -r 'recurse(.nodes[], .floating_nodes[]) | select(.focused and .pid).rect | "\(.x),\(.y) \(.width)x\(.height)"' | grim -g - - | wl-copy -t image/png
|
||||||
bindsym Shift+Print exec grim -o $(swaymsg -t get_outputs | jq -r '.[] | select(.focused) | .name') - | wl-copy -t image/png
|
bindsym Shift+Print exec grim -o $(swaymsg -t get_outputs | jq -r '.[] | select(.focused) | .name') - | wl-copy -t image/png
|
||||||
|
#bindsym Shift+Print exec grim -o $(swaymsg -t get_outputs | jq -r '.[] | select(.focused) | .name') - > /home/rhiobet/screenshots/$(date +%s).png
|
||||||
|
|
||||||
#
|
#
|
||||||
# Moving around:
|
# Moving around:
|
||||||
#
|
#
|
||||||
@@ -210,9 +199,6 @@ input "9653:84:Samsung_electronics_inc._Samsung_HID_Multi-Touch"\
|
|||||||
# Make the current focus fullscreen
|
# Make the current focus fullscreen
|
||||||
bindsym $mod+f fullscreen
|
bindsym $mod+f fullscreen
|
||||||
|
|
||||||
# Maximize current focus
|
|
||||||
bindsym $mod+m exec swaymsg floating true && swaymsg resize set $(swaymsg -t get_workspaces | jq -r '.[] | select(.focused) | .rect | "\(.width)px \(.height)px"')
|
|
||||||
|
|
||||||
# Toggle the current focus between tiling and floating mode
|
# Toggle the current focus between tiling and floating mode
|
||||||
bindsym $mod+Shift+space floating toggle
|
bindsym $mod+Shift+space floating toggle
|
||||||
|
|
||||||
@@ -267,7 +253,7 @@ bindsym Ctrl+Alt+l exec $srclocker
|
|||||||
bar {
|
bar {
|
||||||
position top
|
position top
|
||||||
pango_markup enabled
|
pango_markup enabled
|
||||||
font pango:DejaVu Sans Mono, devicons, FontAwesome 10
|
font pango:DejaVu Sans Mono, FontAwesome 10
|
||||||
|
|
||||||
# When the status_command prints a new line to stdout, swaybar updates.
|
# When the status_command prints a new line to stdout, swaybar updates.
|
||||||
# The default just shows the current date and time.
|
# The default just shows the current date and time.
|
||||||
@@ -275,7 +261,6 @@ bar {
|
|||||||
# status_command i3status-rs ~/.config/sway/status.toml
|
# status_command i3status-rs ~/.config/sway/status.toml
|
||||||
swaybar_command waybar
|
swaybar_command waybar
|
||||||
status_padding 0
|
status_padding 0
|
||||||
height 22
|
|
||||||
|
|
||||||
colors {
|
colors {
|
||||||
statusline #ffffff
|
statusline #ffffff
|
||||||
@@ -286,11 +271,6 @@ bar {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bindswitch --locked --reload lid:on output eDP-1 disable
|
|
||||||
bindswitch --locked --reload lid:off output eDP-1 enable
|
|
||||||
|
|
||||||
bindsym Ctrl+m exec mpv "$(wl-paste -t text)"
|
|
||||||
|
|
||||||
hide_edge_borders both
|
hide_edge_borders both
|
||||||
default_border none
|
default_border none
|
||||||
gaps inner 6
|
gaps inner 6
|
||||||
@@ -305,8 +285,13 @@ include /etc/sway/config.d/*
|
|||||||
# Assignments
|
# Assignments
|
||||||
assign [class="discord"] workspace 3
|
assign [class="discord"] workspace 3
|
||||||
assign [class="Spotify"] workspace 3
|
assign [class="Spotify"] workspace 3
|
||||||
|
for_window [class="Spotify"] opacity 0.8
|
||||||
|
for_window [app_id="boop-gtk"] floating enable
|
||||||
|
|
||||||
exec redshift -O 4500 -m wayland
|
#exec redshift -O 4500 -m wayland
|
||||||
|
exec wlanthy -i pass
|
||||||
|
|
||||||
|
# exec ~/.local/start-jack.sh
|
||||||
|
|
||||||
exec ~/.config/sway/workspace_rename.py > ~/.cache/workspace_rename.log 2> ~/.cache/workspace_rename_error.log
|
exec ~/.config/sway/workspace_rename.py > ~/.cache/workspace_rename.log 2> ~/.cache/workspace_rename_error.log
|
||||||
|
|
||||||
@@ -327,23 +312,10 @@ exec $term
|
|||||||
workspace 2 output eDP-1
|
workspace 2 output eDP-1
|
||||||
|
|
||||||
workspace 3 output eDP-1
|
workspace 3 output eDP-1
|
||||||
|
exec discord
|
||||||
workspace 4 output "Dell Inc. DELL U2410 F525M0A1082L"
|
exec spotify
|
||||||
|
|
||||||
workspace 5 output "Dell Inc. DELL U2410 F525M0A1082L"
|
|
||||||
|
|
||||||
workspace 6 output "Dell Inc. DELL U2410 F525M0A1082L"
|
|
||||||
|
|
||||||
workspace 7 output "Dell Inc. DELL U2717D JXRPT83GAHKS"
|
|
||||||
|
|
||||||
workspace 8 output "Dell Inc. DELL U2717D JXRPT83GAHKS"
|
|
||||||
|
|
||||||
workspace 9 output "Dell Inc. DELL U2717D JXRPT83GAHKS"
|
|
||||||
|
|
||||||
exec xrdb -load ~/.Xresources
|
exec xrdb -load ~/.Xresources
|
||||||
|
|
||||||
exec autotiling
|
# Application keybinds
|
||||||
|
bindsym Ctrl+m exec mpv $(wl-paste -t text)
|
||||||
exec keepassxc
|
|
||||||
|
|
||||||
exec "systemctl --user import-environment; systemctl --user start sway-session.target"
|
|
||||||
|
|||||||
@@ -1,5 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
if ! pgrep -x $1; then
|
|
||||||
${@:1}
|
|
||||||
fi
|
|
||||||
@@ -10,7 +10,7 @@ good_bg = "#859900ff"
|
|||||||
warning_bg = "#b58900ff"
|
warning_bg = "#b58900ff"
|
||||||
critical_bg = "#dc322fff"
|
critical_bg = "#dc322fff"
|
||||||
alternating_tint_bg = "#00000000"
|
alternating_tint_bg = "#00000000"
|
||||||
separator = "<span font='14'>\ue0b2</span>"
|
separator = "<span font='15'>\ue0b2</span>"
|
||||||
#separator = ""
|
#separator = ""
|
||||||
|
|
||||||
#[[block]]
|
#[[block]]
|
||||||
|
|||||||
35
.config/sway/workspace-rename.sh
Executable file
35
.config/sway/workspace-rename.sh
Executable file
@@ -0,0 +1,35 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
swaymsg -t subscribe -m '[ "window" ]' | while read -r event ; do
|
||||||
|
if [ "$(jq -r '.change' <<< $event)" = 'focus' ] ; then
|
||||||
|
current_workspace="$(swaymsg -t get_workspaces | jq -r '.[] | select(.focused)')"
|
||||||
|
workspace_num="$(jq -r '.num' <<< $current_workspace)"
|
||||||
|
workspace_name="$(jq -r '.name' <<< $current_workspace)"
|
||||||
|
|
||||||
|
app_name="$(jq -r '.container.app_id' <<< $event)"
|
||||||
|
if [ $app_name = 'null' ] ; then
|
||||||
|
app_name="$(jq -r '.container.window_properties.instance' <<< $event)"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ "$app_name" = "kitty" ] ; then
|
||||||
|
app_name=""
|
||||||
|
elif [[ "$app_name" == *"chrom"* ]] || [[ "$app_name" == *"Chrom"* ]]; then
|
||||||
|
case "$(jq -r '.container.name' <<< $event)" in
|
||||||
|
*YouTube*)
|
||||||
|
app_name=""
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
app_name=""
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
elif [ "$app_name" = "discord" ] ; then
|
||||||
|
app_name=""
|
||||||
|
elif [ "$app_name" = "spotify" ] ; then
|
||||||
|
app_name=""
|
||||||
|
elif [ "$app_name" = "GEMOC Studio" ] ; then
|
||||||
|
app_name=""
|
||||||
|
fi
|
||||||
|
|
||||||
|
swaymsg rename workspace "$workspace_name" to "$workspace_num:$app_name"
|
||||||
|
fi
|
||||||
|
done
|
||||||
@@ -21,10 +21,7 @@ async def main():
|
|||||||
for d in w.descendants():
|
for d in w.descendants():
|
||||||
app_name = d.app_id
|
app_name = d.app_id
|
||||||
if not app_name:
|
if not app_name:
|
||||||
if d.name and 'Vivaldi' in d.name:
|
app_name = d.window_instance
|
||||||
new_name += '<span font=\'10\' rise=\'-500\' letter_spacing=\'2048\'></span>'
|
|
||||||
else:
|
|
||||||
app_name = d.window_instance
|
|
||||||
|
|
||||||
if app_name:
|
if app_name:
|
||||||
if not first_descendant:
|
if not first_descendant:
|
||||||
|
|||||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,3 +1,2 @@
|
|||||||
.config/nvim/plugged
|
.config/nvim/plugged
|
||||||
.config/nvim/.netrwhist
|
.config/nvim/.netrwhist
|
||||||
.config/mpv/scripts/japan7.lua
|
|
||||||
|
|||||||
14
.local/start_jack.sh
Executable file
14
.local/start_jack.sh
Executable file
@@ -0,0 +1,14 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
pkill jackd
|
||||||
|
jack_control start
|
||||||
|
sleep 1
|
||||||
|
alsa_in -d hw:PCH,0 -j alsa_in &
|
||||||
|
alsa_out -d hw:PCH,0 -j alsa_out &
|
||||||
|
sleep 1
|
||||||
|
jack_connect system:monitor_1 alsa_out:playback_1
|
||||||
|
jack_connect system:monitor_2 alsa_out:playback_2
|
||||||
|
jack_connect system:capture_1 system:playback_1
|
||||||
|
jack_connect system:capture_2 system:playback_2
|
||||||
|
jack_connect alsa_in:capture_1 "PulseAudio JACK Source":front-left
|
||||||
|
jack_connect alsa_in:capture_2 "PulseAudio JACK Source":front-right
|
||||||
7
.zshenv
7
.zshenv
@@ -1,2 +1,7 @@
|
|||||||
export JAVA_HOME=/usr/lib/jvm/$(archlinux-java get)
|
export JAVA_HOME=/usr/lib/jvm/$(archlinux-java get)
|
||||||
export JAVAFX_HOME=/lib/jvm/java-16-openjdk
|
#export GDK_BACKEND=x11
|
||||||
|
export EDITOR=nvim
|
||||||
|
|
||||||
|
export XDG_CURRENT_DESKTOP=sway
|
||||||
|
export XDG_SESSION_TYPE=wayland
|
||||||
|
#export VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/intel_icd.x86_64.json:/usr/share/vulkan/icd.d/radeon_icd.x86_64.json
|
||||||
|
|||||||
29
.zshrc
29
.zshrc
@@ -13,6 +13,7 @@ compinit
|
|||||||
|
|
||||||
export ZSH=/usr/share/oh-my-zsh
|
export ZSH=/usr/share/oh-my-zsh
|
||||||
export ZSH_CUSTOM=/usr/share/zsh
|
export ZSH_CUSTOM=/usr/share/zsh
|
||||||
|
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=10"
|
||||||
ZSH_THEME="af-magic"
|
ZSH_THEME="af-magic"
|
||||||
|
|
||||||
plugins=(
|
plugins=(
|
||||||
@@ -28,35 +29,11 @@ plugins=(
|
|||||||
)
|
)
|
||||||
|
|
||||||
source $ZSH/oh-my-zsh.sh
|
source $ZSH/oh-my-zsh.sh
|
||||||
|
#bindkey '^R' history-incremental-pattern-search-backward
|
||||||
|
|
||||||
if [ -f ~/.bash_aliases ]; then
|
if [ -f ~/.bash_aliases ]; then
|
||||||
source ~/.bash_aliases
|
source ~/.bash_aliases
|
||||||
fi
|
fi
|
||||||
eval $(thefuck --alias)
|
eval $(thefuck --alias)
|
||||||
|
|
||||||
ranger() {
|
alias discord="export GDK_BACKEND=wayland && discord-canary"
|
||||||
if [ -z "$RANGER_LEVEL" ]; then
|
|
||||||
/usr/bin/ranger "$@"
|
|
||||||
else
|
|
||||||
exit
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
alias start_gnome='XDG_SESSION_TYPE=wayland exec dbus-run-session gnome-session'
|
|
||||||
|
|
||||||
# >>> mamba initialize >>>
|
|
||||||
# !! Contents within this block are managed by 'mamba init' !!
|
|
||||||
export MAMBA_EXE="/usr/bin/micromamba";
|
|
||||||
export MAMBA_ROOT_PREFIX="/home/rhiobet/micromamba";
|
|
||||||
__mamba_setup="$('/usr/bin/micromamba' shell hook --shell zsh --prefix '/home/rhiobet/micromamba' 2> /dev/null)"
|
|
||||||
if [ $? -eq 0 ]; then
|
|
||||||
eval "$__mamba_setup"
|
|
||||||
else
|
|
||||||
if [ -f "/home/rhiobet/micromamba/etc/profile.d/micromamba.sh" ]; then
|
|
||||||
. "/home/rhiobet/micromamba/etc/profile.d/micromamba.sh"
|
|
||||||
else
|
|
||||||
export PATH="/home/rhiobet/micromamba/bin:$PATH" # extra space after export prevents interference from conda init
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
unset __mamba_setup
|
|
||||||
# <<< mamba initialize <<<
|
|
||||||
|
|||||||
Reference in New Issue
Block a user