Date: 2026-01-16
Status: ✅ COMPLETED
A comprehensive solution for controlling brightness on multiple monitors in Hyprland, with per-monitor Waybar widgets and keyboard shortcuts.
- 🖥️ Per-Monitor Control: Each Waybar instance shows and controls its own monitor's brightness
- ⌨️ Keyboard Shortcuts: Control focused monitor brightness with Right Ctrl + Arrow keys
- 🖱️ Waybar Widget: Scroll to adjust, click to set 100% or 0%
- 🔄 Smart Detection: Automatically handles different monitor types:
This document describes the algorithm used to detect button presses and releases on the Stream Deck+ device.
The Stream Deck+ sends 14-byte packets for button events. The first byte (data[0]) determines the event type:
1: Button or encoder event2: Touchscreen event3: Dial event
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| POCKETBASE_URL= | |
| POCKETBASE_ADMIN_EMAIL= | |
| POCKETBASE_ADMIN_PASSWORD= |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| import asyncio | |
| import random | |
| from dotenv import load_dotenv | |
| from loguru import logger | |
| from pipecat.services.openrouter.llm import OpenRouterLLMService | |
| from pipecat.processors.aggregators.openai_llm_context import OpenAILLMContext | |
| # Sample questions to ask | |
| QUESTIONS = [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { openStreamDeck, listStreamDecks, StreamDeck } from '@elgato-stream-deck/node'; | |
| import sharp from 'sharp'; | |
| import HID from 'node-hid'; | |
| import usb, { LibUSBException } from 'usb'; | |
| async function main() { | |
| try { | |
| console.log('Looking for Stream Deck Plus devices...'); | |
| // Find the Stream Deck Plus device |
- Tone: Friendly yet authoritative—appeal to non-technical users while signaling deep expertise.
- Visuals: Clean, modern design with subtle nods to AI (e.g., abstract code waves) and professionalism (e.g., polished app screenshots).
- Call-to-Action (CTA): “Get a Free Project Assessment” or “Polish My App Now” on every page.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { Database } from 'limbo-wasm'; | |
| // Initialize Limbo database in memory | |
| const db = new Database(':memory:'); | |
| // Function to initialize the database with error handling | |
| function initializeDatabase() { | |
| try { | |
| db.exec(` | |
| CREATE TABLE IF NOT EXISTS users (id INTEGER PRIMARY KEY AUTOINCREMENT, name TEXT); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { Database } from 'bun:sqlite'; | |
| import PocketBase from 'pocketbase'; | |
| const BATCH_SIZE = 50; | |
| const SLEEP_TIME = 1000; | |
| const pb = new PocketBase('https://tx-addresses.pockethost.io'); | |
| const sleep = (ms: number) => new Promise(resolve => setTimeout(resolve, ms)); | |
| async function migrateData() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ARG BUN_VERSION=latest | |
| FROM oven/bun:${BUN_VERSION} AS builder | |
| WORKDIR /app | |
| ENV NODE_ENV=production | |
| # Copy package files first | |
| COPY --link bun.lock package.json ./ | |
| # Add conditional installation of svelte-adapter-bun and update config |
NewerOlder