Add a "keep screen awake" toggle to prevent the display/computer from sleeping
- 主要言語
- 言語のデータがありません
- スター
- 2.1k
- フォーク
- 153
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
### Feature summary
A "keep awake" toggle/button that prevents the screen and machine from sleeping while it's on.
### What problem are you trying to solve?
When I want the screen to stay on (e.g. while watching a long agent run or keeping a session visible), there is no built-in way to stop the display/computer from sleeping. My current workaround is to open a 1-hour black YouTube video fullscreen just to keep the screen awake, which is clunky and wasteful.
### Proposed solution
Add a simple toggle in the app (e.g. in the header or a tray/menu item) that keeps the screen and system awake while enabled, and releases the lock when turned off or the app closes. On macOS this is the equivalent of holding a `caffeinate` assertion (prevent display + idle sleep).
### Workflow impact
Removes the need for hacky workarounds (black YouTube video), and lets me keep a session or long-running agent visible without the screen turning off.
### Installation context
GitHub Copilot desktop app on macOS (personal machine).
### Additional context
A small always-visible state would help (so I can tell at a glance whether keep-awake is currently on).
コントリビューションガイド
調査の方向性
まず、デスクトップアプリの macOS 統合と、header または tray/menu に提案されているエントリーポイントを確認します。issue にはファイルパスやテストパスがありません。keep-awake の動作を macOS の caffeinate assertion と比較し、次に、有効化、無効化、アプリの終了によってそれが解放されること、および状態が表示されることを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- macos
- 領域
- desktop, operating-systems
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100