Skip to content

Instantly share code, notes, and snippets.

View DerEchteJoghurt's full-sized avatar

DerEchteJoghurt

View GitHub Profile
@DerEchteJoghurt
DerEchteJoghurt / open-float.py
Last active January 6, 2026 23:59 — forked from rafrombrc/open-float.py
Variation of YaLTeR's `open-float.py` script that supports specifying float window height and width
#!/usr/bin/python3
"""
Like open-float, but dynamically. Floats a window when it matches the rules.
Some windows don't have the right title and app-id when they open, and only set
them afterward. This script is like open-float for those windows.
Usage: fill in the RULES array below, then run the script.
"""
from dataclasses import dataclass, field
import json