# Show GN: Nightcurtain.cs: 자야 할 시간에 잠을 자기 위한 노력 (?)

> Clean Markdown view of GeekNews topic #22386. Use the original source for factual precision when an external source URL is present.

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=22386](https://news.hada.io/topic?id=22386)
- GeekNews Markdown: [https://news.hada.io/topic/22386.md](https://news.hada.io/topic/22386.md)
- Type: show
- Author: [rkttu](https://news.hada.io/@rkttu)
- Published: 2025-08-07T16:58:33+09:00
- Updated: 2025-08-07T16:58:33+09:00
- Original source: [gist.github.com/rkttu](https://gist.github.com/rkttu/757ce0c3600c59d1503423b656c32a58)
- Points: 3
- Comments: 5

## Topic Body

.NET 10의 File-based App과 Native AOT 기능을 이용해서 작지만 알찬 유틸리티를 하나 만들어봤습니다. 수면 시간 부족을 예방하면서도, 조악하게 화면을 가리는 방식 대신 확실하게 자야 할 시간을 알리기 위해 화면을 그레이스케일로 바꿔버리는 (?) 도구로 요즈음 제 수면 시간을 지키려 노력 중입니다. 🤣

## Comments



### Comment 42539

- Author: roxie
- Created: 2025-08-15T23:38:01+09:00
- Points: 1

혹시 시연 스크린샷을 첨부해주실 수 있으실까요?

### Comment 42556

- Author: rkttu
- Created: 2025-08-16T13:13:52+09:00
- Points: 1
- Parent comment: 42539
- Depth: 1

https://imgur.com/a/NSPaUab  
  
스크린샷으로는 필터 효과가 보여지진 않아서 실제 화면을 올립니다. 이런식으로 밤 10시부터 다음날 오전6시까지 화면이 바뀌는 식입니다. ㅎㅎ

### Comment 42557

- Author: roxie
- Created: 2025-08-16T14:25:12+09:00
- Points: 1
- Parent comment: 42556
- Depth: 2

아하~ 감사합니다!

### Comment 42255

- Author: m00nlygreat
- Created: 2025-08-08T01:30:35+09:00
- Points: 2

으헉 ㅋㅋ 궁금한데 어떻게 쓰는 건가요>?

### Comment 42264

- Author: rkttu
- Created: 2025-08-08T09:08:52+09:00
- Points: 1
- Parent comment: 42255
- Depth: 1

dotnet publish nightcurtain.cs -o bin 명령으로 EXE 파일을 만들어서 작업 스케줄러에 거셔도 되고, dotnet.exe (C:\Program Files\dotnet\dotnet.exe)에 인자로 run nightcurtain.cs 파일을 지정해서 스케줄러에 거셔도 됩니다 ㅎㅎ
