omasnap

(★ 167)

Native Wayland screenshot and annotation editor for Omarchy and Hyprland

omasnap 최신버젼 다운로드

# CDN으로 사용하기

jsDelivr

jsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.

명령어 용어집

이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.

🔍

cmake

설명 보기 ▼

네이티브 빌드 시스템을 위한 빌드 설정 파일을 생성하는, 크로스 플랫폼 빌드 자동화 도구.
더 많은 정보: <https://cmake.org/cmake/help/latest/manual/cmake.1.html>.

cmake {{path/to/project_directory}}

프로젝트 디렉터리의 `CMakeLists.txt`를 사용해 현재 디렉터리에 빌드 설정을 생성:

cmake --build {{path/to/build_directory}}

지정한 디렉터리의 빌드 설정을 사용해 빌드 산출물을 생성:

cmake --install {{path/to/build_directory}} --strip

빌드 산출물을 `/usr/local/`에 설치하고 디버그 심볼을 제거:

🔍

git clone

설명 보기 ▼

Clone an existing repository.

git clone {{remote_repository_location}} {{path/to/directory}}

Clone an existing repository into a new directory (the default directory is the repository name):

git clone --recursive {{remote_repository_location}}

Clone an existing repository and its submodules:

git clone {{[-n|--no-checkout]}} {{remote_repository_location}}

Clone only the `.git` directory of an existing repository:

🔍

git filter-repo

설명 보기 ▼

A versatile tool for rewriting Git history.
See also: `bfg`.

git filter-repo --replace-text <(echo '{{find}}==>{{replacement}}')

Replace a sensitive string in all files:

git filter-repo --path {{path/to/folder}}

Extract a single folder, keeping history:

git filter-repo --path {{path/to/folder}} --invert-paths

Remove a single folder, keeping history:

🔍

tesseract

설명 보기 ▼

OCR (Optical Character Recognition) 엔진.
더 많은 정보: <https://github.com/tesseract-ocr/tesseract/blob/main/doc/tesseract.1.asc>.

tesseract {{path/to/image.png}} {{path/to/output_file}}

이미지에서 텍스트를 인식하여 `output.txt`에 저장 (`.txt` 확장자는 자동으로 추가됨):

tesseract -l deu {{path/to/image.png}} {{path/to/output_file}}

ISO 639-2 코드로 사용자 정의 언어 지정 (기본값은 영어, 예: deu = Deutsch = 독일어):

tesseract --list-langs

사용 가능한 언어의 ISO 639-2 코드 나열:

🔍

grim

설명 보기 ▼

Wayland 컴포지터에서 이미지를 캡처(스크린샷)합니다.
더 많은 정보: <https://manned.org/grim>.

grim

모든 출력의 스크린샷 캡처:

grim -o {{DP-1}} {{path/to/output.png}}

특정 출력의 스크린샷 캡처:

grim -g "$(slurp)" {{path/to/output.png}}

특정 영역의 스크린샷 캡처:

🔍

hyprctl

설명 보기 ▼

Hyprland Wayland 컴포지터의 일부를 제어.
더 많은 정보: <https://wiki.hypr.land/Configuring/Using-hyprctl/>.

hyprctl reload

Hyprland 구성 파일 다시 로드:

hyprctl activewindow

활성 창 이름 반환:

hyprctl devices

연결된 입력 장치 모두 나열:

🔍

pacman -S

설명 보기 ▼

This command is an alias of `pacman --sync`.

tldr pacman sync

View documentation for the original command:

🔍

wl-copy

설명 보기 ▼

Wayland 클립보드에 복사 및 지우기.
관련 항목: `wl-paste`, `xclip`.
더 많은 정보: <https://github.com/bugaevc/wl-clipboard>.

wl-copy "{{text}}"

텍스트를 클립보드에 복사:

{{ls}} | wl-copy

명령어 (`ls`) 출력을 파이프로 클립보드에 복사:

wl-copy --paste-once "{{text}}"

한 번만 붙여넣기 후 클립보드를 지우기:

🔍

wl-paste

설명 보기 ▼

Wayland 클립보드의 내용을 붙여넣기.
관련 항목: `wl-copy`, `xclip`.
더 많은 정보: <https://github.com/bugaevc/wl-clipboard>.

wl-paste

클립보드의 내용을 붙여넣기:

wl-paste --primary

클립보드의 내용을 [f]파일에 쓰기:

wl-paste > {{path/to/file}}

클립보드의 내용을 명령어에 파이프:

// repository documentation