Skip to content

Instantly share code, notes, and snippets.

View altacountbabi's full-sized avatar

Whoman altacountbabi

  • 04:37 (UTC +02:00)
View GitHub Profile
@altacountbabi
altacountbabi / style.css
Last active June 12, 2025 15:50
Discord QuickCSS
:root {
--custom-app-top-bar-height: 0px;
}
button[aria-label="Send a gift"],
div[aria-label="Start Video Call"],
div[aria-label*="Show User Profile"],
a[href="https://support.discord.com"],
section[aria-label="Channel header"] > div > div > div[class*="divider"],
section[aria-label="Channel header"] > div > div > div[class*="nicknames"],
@altacountbabi
altacountbabi / shell.nix
Created April 22, 2025 08:51
LLVM nix shell
{
pkgs ? import <nixpkgs> { },
...
}:
let
llvm = pkgs.llvmPackages_18;
in
pkgs.mkShell {
buildInputs = [
@altacountbabi
altacountbabi / gtk-smooth-scrolling.patch
Created May 3, 2025 17:14
A patch for gtk4 to add basic interpolation between scrolls
diff --git a/gtk/gtkscrolledwindow.c b/gtk/gtkscrolledwindow.c
index f1b5b5112e0455d650fda8aed2c0ecf634ea94e7..252be9e2c217102e4e0e150b6bbd28b3ff9eb420 100644
--- a/gtk/gtkscrolledwindow.c
+++ b/gtk/gtkscrolledwindow.c
@@ -1207,23 +1207,12 @@ check_update_scrollbar_proximity (GtkScrolledWindow *sw,
}
static double
-get_wheel_detent_scroll_step (GtkScrolledWindow *sw,
- GtkOrientation orientation)
{
"name": "Dark Green",
"description": "Dark green theme",
"authors": [
{
"name": "Whoman"
}
],
"semanticColors": {
"ANDROID_RIPPLE": [