Skip to content

Instantly share code, notes, and snippets.

if type "xrandr"; then
for m in $(xrandr --query | grep " connected" | cut -d" " -f1); do
MONITOR=$m polybar --reload toph &
done
else
polybar --reload toph &
fi
[colors]
base = #1e1e2e
mantle = #181825
crust = #11111b
text = #cdd6f4
subtext0 = #a6adc8
subtext1 = #bac2de
surface0 = #313244
surface1 = #45475a
surface2 = #585b70
[colors]
base = #1e1e2e
mantle = #181825
crust = #11111b
text = #cdd6f4
subtext0 = #a6adc8
subtext1 = #bac2de
surface0 = #313244
surface1 = #45475a
surface2 = #585b70
# Picom Configuration File
# Backend: Try "glx", "xrender", or "vulkan"
backend = "glx";
# VSync: Usually improves smoothness
vsync = true;
# GLX Backend Specifics (May improve performance on some systems)
glx-use-copysubbuffer-mesa = true;
# This file has been auto-generated by i3-config-wizard(1).
# It will not be overwritten, so edit it as you like.
#
# Should you change your keyboard layout some time, delete
# this file and re-run i3-config-wizard(1).
#
# i3 config file (v4)
#
# Please see https://i3wm.org/docs/userguide.html for a complete reference!
@gojekarthik
gojekarthik / Schema.prisma
Created April 9, 2025 07:55
this is a complete schema for fms
generator client {
provider = "prisma-client-js"
}
datasource db {
provider = "postgresql"
url = env("DATABASE_URL")
directUrl = env("DIRECT_URL")
}
import { Button } from '@/components/ui/button';
import {
FilterCondition,
FilterField,
FilterGroup,
FilterOperator,
} from '@/types/dynamicFilter';
import React, { useState, useEffect } from 'react';
import {
Select,