Skip to content

Instantly share code, notes, and snippets.

View sanoojes's full-sized avatar

Sanooj Es sanoojes

View GitHub Profile
@sanoojes
sanoojes / BOM.csv
Last active December 29, 2025 20:55
RGB Cloud Setup
We can make this file beautiful and searchable if this error is corrected: It looks like row 10 should actually have 8 columns, instead of 7 in line 9.
Item,Description,Notes,Quantity,Unit Price,Total Price,Link,Link 2
Fiber Fill 5kg ,Washable Fiber Fill to act as Clouds,It might be cheaper in Offline stores,1,"₹1,948.00","₹1,948.00",https://amzn.in/d/gjnAlTd,https://amzn.in/d/8eZsvYN
VHB Tape,Tape for sticking the RGB Strip,,2,₹244.00,₹488.00,https://amzn.in/d/3nYR098,
VHB Tape,Tape for sticking to the ,,2,₹190.00,₹380.00,https://amzn.in/d/hXkeGOK,
Foam Sheet (pack of 5),Cuz i dont want to damage my ceiling,It might be cheaper in Offline stores,4,₹949.00,"₹3,796.00",https://amzn.in/d/99BR6ga,
Extension Board,220V Extension Board,,1,₹399.00,₹399.00,https://amzn.in/d/3HO8cgm,
Zip Ties,,"Cuz, Cable Management is Important!!!",1,₹255.00,₹255.00,https://amzn.in/d/ay1Efmf,
3 Pin Plug,3 Pin Plug for AC IN,I will probably buy it myself from local shops,2,₹78.00,₹156.00,https://amzn.in/d/fqETxWS,
AC Wire,,,1,₹684.00,₹684.00,https://amzn.in/d/eL3r7pl,
5m RGB Lights,WS2812B Pixel Strip,Idk bout WSPixels if it works its cheap.,4,₹900.00,"₹3,600.00",https://wspixel.com/
@sanoojes
sanoojes / create-page-spicetify.md
Last active August 22, 2025 18:10
Register custom React pages in the Spotify client with Spicetify API.

createPage Helper

The createPage function allows you to register a custom React page in the Spotify client (via Spicetify). It handles:

  • Mounting/unmounting your React component into Spotify’s DOM.
  • Navigating to your page using Spotify’s internal History.
  • Returning navigation helpers (goToPage, goBack) so you can trigger page transitions programmatically.
@sanoojes
sanoojes / TransperentWindowControl.tsx
Created September 24, 2024 09:18
Window control fix
import React from 'react';
import { setWindowControlsHeight } from '@/utils/windowControlUtils';
import {
calculateBrowserZoom,
calculateInverseBrowserZoom,
calculateScaledPx,
} from '@/utils/zoomUtils';
import { useLucidStore } from '@/store/useLucidStore';
const TransparentWindowControl = React.memo(() => {
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');
:root {
/* Border */
--border-thickness: 1px;
--border-radius-sm: 0.5rem;
--border-radius-md: 0.5rem;
--border-radius-lg: 0.5rem;
--default-border: var(--border-thickness) solid var(--spice-border);
# See https://wiki.hyprland.org/Configuring/Monitors/
monitor=,preferred,auto,auto
# See https://wiki.hyprland.org/Configuring/Workspaces/
workspace=eDP-1,1,1,1,1,1,1,1,1
# See https://wiki.hyprland.org/Configuring/Input/
input {
kb_layout=us
kb_variant=