History wipe because Zed is very annoying...

This commit is contained in:
2026-08-24 11:37:33 +12:00
commit 5c3d47081e
17 changed files with 702 additions and 0 deletions
@@ -0,0 +1,26 @@
import os
from typing import override
from ..abstracts import AbstractDisplay
from ..structs import MonitorInfo, Modeline
class Display(AbstractDisplay):
def get_modes(self) -> list[MonitorInfo]:
pass
def set_mode(self, modeline: Modeline, requested_connector: str) -> None:
pass
def read_saved_mode(self, location: str | Path) -> Modeline:
pass
def save_current_mode(self, location: str | Path) -> None:
pass
@staticmethod
def detect():
desktop = os.environ.get("XDG_CURRENT_DESKTOP", "").lower()
known = {"sway", "cage", "labwc", "wayfire", "hyprland"}
return bool(set(desktop) & known) or "WAYLAND_DISPLAY" in os.environ