unofficial-watchfaces

(★ 68)

Database of community-made watchfaces for AsteroidOS.

파일 탐색기

  • .gitignore
  • loader.qml
  • README.md
  • watchface

# CDN으로 사용하기

jsDelivr

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

명령어 용어집

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

🔍

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 reset

설명 보기 ▼

Undo commits or unstage changes by resetting the current Git HEAD to the specified state.
If a path is passed, it works as "unstage"; if a commit hash or branch is passed, it works as "uncommit".

git reset

Unstage everything:

git reset {{path/to/file1 path/to/file2 ...}}

Unstage specific file(s):

git reset {{[-p|--patch]}} {{path/to/file}}

Interactively unstage portions of a file:

🔍

dialog

설명 보기 ▼

터미널에 대화상자를 표시.
관련 항목: `gum`, `whiptail`.
더 많은 정보: <https://manned.org/dialog>.

dialog --msgbox "{{Message}}" {{height}} {{width}}

메시지 표시:

dialog --inputbox "{{Enter text:}}" {{8}} {{40}} 2>{{output.txt}}

사용자에게 텍스트 입력 요청:

dialog --yesno "{{Continue?}}" {{7}} {{40}}

사용자에게 예/아니오 확인 요청:

🔍

whiptail

설명 보기 ▼

셸 스크립트에서 텍스트 기반의 대화 상자를 표시합니다.
관련 항목: `dialog`, `gum`.
더 많은 정보: <https://manned.org/whiptail>.

whiptail --title "{{title}}" --msgbox "{{message}}" {{height_in_chars}} {{width_in_chars}}

간단한 메시지 표시:

whiptail --title "{{title}}" --yesno "{{message}}" {{height_in_chars}} {{width_in_chars}}

불리언 선택을 표시하고 종료 코드를 통해 결과 반환:

whiptail --title "{{title}}" --yes-button "{{text}}" --no-button "{{text}}" --yesno "{{message}}" {{height_in_chars}} {{width_in_chars}}

예/아니오 버튼의 텍스트 사용자 지정:

🔍

zenity

설명 보기 ▼

명령줄/셸 스크립트에서 대화 상자를 표시.
사용자 입력 값을 반환하거나 오류 시 1을 반환.
더 많은 정보: <https://manned.org/zenity>.

zenity --question

기본 질문 대화 상자 표시:

zenity --info --text "{{message}}"

"Hello!"라는 텍스트를 표시하는 정보 대화 상자 표시:

zenity --forms --add-entry "{{name_label}}" --add-password "{{password_label}}" --separator ";"

이름/비밀번호 입력 폼을 표시하고 데이터를 ";"로 구분하여 출력:

// repository documentation