chamoda

Joined 13 years ago

Karma
502
Submissions
86
Member since
Nov 7
hello (at) chamoda.com.
View on Hacker News

Recent submissions

Comment · 4 months ago
Comment · 1 year ago
For anyone interested, here’s how I achieve the same in i3wm: it works with the Print key and lets you select the area using only CLI tools.

bindsym --release Print exec "scrot -s '%Y:%m:%d:%H:%M:%S.png' -e 'xclip -selection clipboard -t image/png -i $f && mv $f ~/Pictures'"

Comment · 1 year ago
Well, you can even block event loop in `async def` if you are not careful. When you are using `async def` you need to do all your IO (disk, network) operations asynchronously or your are blocking the event loop.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton