From 30c989b3f2feb2d43b099ef6cf11ea258596ec96 Mon Sep 17 00:00:00 2001 From: ngoomie Date: Thu, 7 Dec 2023 19:40:05 -0700 Subject: [PATCH] mainly css to hide discord things i find annoying --- discord/data/stable/custom.scss | 25 +++++++++++++++++++++++ discord/plugins/CollapsibleUI.config.json | 9 ++++---- 2 files changed, 30 insertions(+), 4 deletions(-) diff --git a/discord/data/stable/custom.scss b/discord/data/stable/custom.scss index 4711a95..5627d1c 100644 --- a/discord/data/stable/custom.scss +++ b/discord/data/stable/custom.scss @@ -1,3 +1,27 @@ +// --- hide nitro and other nonsense +// -- "Send a gift!" chat window button +button[aria-label="Send a gift"], +// -- literally any super reacts ever, hopefully +div.reactionInner__4135b[aria-label*="press to super react"], +// -- stuff encouraging buying avatar frames +.container_d6bff4, +// -- hide "select avatar decoration" in profile edit +div.sectionsContainer_a37883 > div.customizationSection__16fec:nth-child(4), +// -- hide "change profile effect" +div.sectionsContainer_a37883 > div.customizationSection__16fec:nth-child(5), +// -- hide "try out nitro!" +div.tryItOutSection__0f9fb { + display: none; + width: 0; + height: 0; +} + +// --- hide other shit i find annoying +// -- snowsgiving snow animation and etc on DMs button +.childWrapper__01b9c:before, .childWrapper__01b9c:after { + background-image: none !important; + animation: none !important; +} // --- SQUARE ICONS // -- border radius vars $small: 4px; @@ -8,6 +32,7 @@ $large: 6px; foreignObject[mask*="url(#"] { mask: none; //! SIDENOTE: while this removes the rounding, it also removes any cutout for the status icon. i'm going to be frank and say i think this looks like shit. i will look into crafting my own SVG instead at some point if i can, as an alternative to just entirely clearing it (but i'll still be using border rads for custom icon rounding) + //! NOTE 2: check the SVG masks for avatar frames! they might help } // -- now apply border rads diff --git a/discord/plugins/CollapsibleUI.config.json b/discord/plugins/CollapsibleUI.config.json index 173f733..e01c63a 100644 --- a/discord/plugins/CollapsibleUI.config.json +++ b/discord/plugins/CollapsibleUI.config.json @@ -15,15 +15,15 @@ "dynamicUncollapseCloseDistance": "30,30,30,30,30,30,30,30", "dynamicUncollapseDelay": "15", "autoCollapse": "true", - "autoCollapseThreshold": "500,600,400,200,950,300,550,0", + "autoCollapseThreshold": "500,600,400,200,1200,300,550,0", "conditionalAutoCollapse": "false", "autoCollapseConditionals": ",,,,,,,", "resizableChannelList": "true", "resizableMembersList": "true", "channelListWidth": "0", "buttonsOrder": "1,2,4,6,7,3,5,8", - "dynamicUncollapseEnabled": "true,true,true,true,false,false,true,false", - "disabledButtonsStayCollapsed": "false", + "dynamicUncollapseEnabled": "true,true,true,true,false,true,true,false", + "disabledButtonsStayCollapsed": "true", "keyBindsEnabled": "true", "keyStringList": "Alt+S,Alt+C,Alt+T,Alt+W,Alt+M,Alt+U,Alt+P,Alt+I", "settingsButtonsMaxWidth": "100", @@ -42,5 +42,6 @@ "msgBarButtonActive": "true", "userAreaButtonActive": "true", "profilePanelButtonActive": "false", - "membersListButtonActive": "true" + "membersListButtonActive": "true", + "callContainerButtonActive": "true" } \ No newline at end of file