Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: twolven/DiscordLockBot
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.1
Choose a base ref
...
head repository: twolven/DiscordLockBot
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1.2
Choose a head ref
  • 4 commits
  • 3 files changed
  • 1 contributor

Commits on Apr 20, 2025

  1. Update README.md

    twolven authored Apr 20, 2025
    Configuration menu
    Copy the full SHA
    17aae72 View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2026

  1. Feat: Add Display Recovery for OLED monitor wake issues

    - Capture window positions on session lock using Win32 API (EnumWindows, GetWindowPlacement)
    - Restore window positions on session unlock using SetWindowPlacement
    - Integrate with DesktopOK for desktop icon restoration
    - Auto-detect DesktopOK executable and most recent .dok layout file
    - Add configurable delay (MONITOR_DELAY_MS) for monitor handshake
    - Add DESKTOPOK_PATH config for folder-based detection
    - Update README with Display Recovery documentation
    - Update to .NET 9.0
    twolven committed Jan 4, 2026
    Configuration menu
    Copy the full SHA
    7b647ed View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2026

  1. Feat: Skip snapped windows during Display Recovery

    - Add snap position detection (half-screen and quadrant snaps)
    - Detect window snap state on capture using screen bounds comparison
    - Skip restoring snapped windows (Windows handles these correctly)
    - Continue restoring maximized and regular floating windows
    - Improved logging to show snap state breakdown
    twolven committed Jan 5, 2026
    Configuration menu
    Copy the full SHA
    88f9a17 View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2026

  1. Feat: Add Win+L debounce to prevent fingerprint reader spam

    - Add low-level keyboard hook to intercept Win+L keypresses
    - Block repeated Win+L within configurable cooldown period (default 2s)
    - Report blocked attempts to Discord after spam stops
    - New config option: LOCK_COOLDOWN_MS (set to 0 to disable)
    twolven committed Jan 26, 2026
    Configuration menu
    Copy the full SHA
    f591d4f View commit details
    Browse the repository at this point in the history
Loading