diff --git a/.bash_aliases b/.bash_aliases index 25682db..eb91c9a 100644 --- a/.bash_aliases +++ b/.bash_aliases @@ -3,6 +3,7 @@ alias gemocstudio='PATH=/usr/lib/jvm/java-9-jdk/bin/:$PATH ~/gemoc/GemocStudio' alias sl='ls' alias ls='ls --color=auto' 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=-' function javaversion() { if [ "$#" -ne 1 ]; then diff --git a/.bash_profile b/.bash_profile index 4250bc8..b98bae1 100644 --- a/.bash_profile +++ b/.bash_profile @@ -5,5 +5,7 @@ export EDITOR=nvim export CUPS_SERVER=cups-sam.inria.fr:631 export GTK_THEME=NumixSolarizedDarkBlue +export GTK2_RC_FILES=/usr/share/themes/NumixSolarizedDarkBlue/gtk-2.0/gtkrc +export QT_QPA_PLATFORMTHEME=gtk2 [[ -f ~/.bashrc ]] && . ~/.bashrc diff --git a/.config/BetterDiscord/themes/Frosted Glass.theme.css b/.config/BetterDiscord/themes/Frosted Glass.theme.css new file mode 100644 index 0000000..6f475a1 --- /dev/null +++ b/.config/BetterDiscord/themes/Frosted Glass.theme.css @@ -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; + +} diff --git a/.config/BetterDiscord/themes/background.png b/.config/BetterDiscord/themes/background.png new file mode 100644 index 0000000..21db2ed Binary files /dev/null and b/.config/BetterDiscord/themes/background.png differ diff --git a/.config/spicetify/.gitignore b/.config/spicetify/.gitignore new file mode 100644 index 0000000..511c8ad --- /dev/null +++ b/.config/spicetify/.gitignore @@ -0,0 +1,2 @@ +Backup/** +Extracted/** diff --git a/.config/spicetify/Themes/SolarizedDarkGreen/color.ini b/.config/spicetify/Themes/SolarizedDarkGreen/color.ini new file mode 100644 index 0000000..3c76526 --- /dev/null +++ b/.config/spicetify/Themes/SolarizedDarkGreen/color.ini @@ -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 diff --git a/.config/spicetify/Themes/SolarizedDarkGreen/user.css b/.config/spicetify/Themes/SolarizedDarkGreen/user.css new file mode 100644 index 0000000..ce538eb --- /dev/null +++ b/.config/spicetify/Themes/SolarizedDarkGreen/user.css @@ -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); +} diff --git a/.config/spicetify/config.ini b/.config/spicetify/config.ini new file mode 100644 index 0000000..5acb591 --- /dev/null +++ b/.config/spicetify/config.ini @@ -0,0 +1,36 @@ +[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 + +[Preprocesses] +remove_rtl_rule = 1 +expose_apis = 1 +disable_sentry = 1 +disable_ui_logging = 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.10.546.ge08ef575 + diff --git a/.config/spicetify/user.css b/.config/spicetify/user.css new file mode 100644 index 0000000..a10b577 --- /dev/null +++ b/.config/spicetify/user.css @@ -0,0 +1,3 @@ +body { + --glue-font-family: Karla; +} diff --git a/.config/sway/config b/.config/sway/config index 1c88582..9563823 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -19,7 +19,8 @@ set $term kitty # Note: pass the final command to swaymsg so that the resulting window can be opened # on the original workspace that the command was run on. # set $menu dmenu_path | dmenu | xargs swaymsg exec -- -set $menu rofi -no-levenshtein-sort -color-enabled -show run | xargs swaymsg exec -- +set $menu rofi -no-levenshtein-sort -color-enabled -show run\ + -run-command "zsh -i -c '{cmd}'" | xargs swaymsg exec -- set $srclocker swaylock -c 222222 -u -i eDP-1:~/wallpapers/radiance.png\ -i DP-5:~/wallpapers/hornet.jpg -i DP-4:~/wallpapers/knight.jpg @@ -40,6 +41,9 @@ focus output eDP-1 # # You can get the names of your outputs by running: swaymsg -t get_outputs +# Mouse cursor +seat seat0 xcursor_theme capitaine-cursors 48 + ### Idle configuration # # Example configuration: @@ -89,10 +93,10 @@ input "1102:4619:DLL07A0:01_044E:120B" { bindsym $mod+Shift+q kill # Sound - bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5% - bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5% - bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle - bindsym XF86AudioMicMute exec pactl set-source-mute @DEFAULT_SOURCE@ toggle + bindsym XF86AudioRaiseVolume exec amixer -c 0 sset Master 5%+ + bindsym XF86AudioLowerVolume exec amixer -c 0 sset Master 5%- + bindsym XF86AudioMute exec 'amixer -c 0 sset Master toggle && amixer -c 0 sset Speaker on && amixer -c 0 sset Headphone on' + bindsym XF86AudioMicMute exec amixer -c 0 sset Capture toggle # Brightness bindsym XF86MonBrightnessUp exec xbacklight -inc 5 @@ -178,12 +182,12 @@ input "1102:4619:DLL07A0:01_044E:120B" { # You can "split" the current object of your focus with # $mod+b or $mod+v, for horizontal and vertical splits # respectively. - bindsym $mod+h splith + bindsym $mod+b splith bindsym $mod+v splitv # Switch the current container between different layout styles bindsym $mod+s layout stacking - bindsym $mod+w layout tabbed + bindsym $mod+z layout tabbed bindsym $mod+e layout toggle split # Make the current focus fullscreen @@ -196,7 +200,7 @@ input "1102:4619:DLL07A0:01_044E:120B" { bindsym $mod+space focus mode_toggle # Move focus to the parent container - bindsym $mod+a focus parent + bindsym $mod+q focus parent # # Scratchpad: # @@ -270,13 +274,22 @@ include /etc/sway/config.d/* # Assignments assign [class="discord"] workspace 3 assign [class="Spotify"] workspace 3 +for_window [class="Spotify"] opacity 0.8 #for_window [class="Chromium"] opacity 0.9 exec redshift -O 4500 -m wayland exec megasync exec nm-applet --indicator + +exec qjackctl +for_window [class="QjackCtl"] floating enable +for_window [title="Graphe — QjackCtl"] floating disable +exec ~/.local/start_jack.sh + exec ~/.config/sway/workspace-rename.sh +for_window [class="Tor Browser"] floating enable + workspace 1 output eDP-1 exec $term @@ -297,3 +310,5 @@ 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 diff --git a/.config/sway/status.toml b/.config/sway/status.toml index a0e7af6..c1dc1f3 100644 --- a/.config/sway/status.toml +++ b/.config/sway/status.toml @@ -25,6 +25,8 @@ marquee = true [[block]] block = "sound" +driver = "alsa" +#device = "hw:0" step_width = 3 [[block]] diff --git a/.local/start_jack.sh b/.local/start_jack.sh new file mode 100755 index 0000000..d36a806 --- /dev/null +++ b/.local/start_jack.sh @@ -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 diff --git a/.zshenv b/.zshenv new file mode 100644 index 0000000..aee3080 --- /dev/null +++ b/.zshenv @@ -0,0 +1,2 @@ +export JAVA_HOME=/usr/lib/jvm/$(archlinux-java get) +export GDK_BACKEND=x11 diff --git a/.zshrc b/.zshrc index 9d64b5d..9f7315f 100644 --- a/.zshrc +++ b/.zshrc @@ -26,10 +26,8 @@ plugins=( zsh-syntax-highlighting ) -export JAVA_HOME=/usr/lib/jvm/$(archlinux-java get) -export GDK_BACKEND=x11 - source $ZSH/oh-my-zsh.sh +bindkey '^R' history-incremental-pattern-search-backward if [ -f ~/.bash_aliases ]; then source ~/.bash_aliases