tray control
1.0.0
이것은 시스템 트레이의 항목을 보여주고 활성화하는 간단한 CLI 도구입니다.
이 패키지에는 tray-show 와 tray-activate 두 가지 명령이 있습니다.
$ tray-show -h
Show items in the system tray
Usage:
tray-show [OPTION...]
-h, --help Print help and exit
-v, --verbose Show full info about each item
$ tray-activate -h
Activate items from the system tray
Usage:
tray-activate [OPTION...]
-h, --help Print help and exit
-i, --id arg Find items by id
-t, --title arg Find items by title
-x arg X coord (default: 0)
-y arg Y coord (default: 0)
tray-show 시스템 트레이의 모든 항목을 인쇄합니다. 예를 들어:
$ tray-show -v
Category: ApplicationStatus
Title: TelegramDesktop
Id: TelegramDesktop
Status: Active
IconName:
Category: ApplicationStatus
Title: Fleep
Id: Fleep
Status: Active
IconName:
tray-activate 지정된 ID 또는 제목과 일치하는 모든 항목을 활성화합니다. ID 또는 제목을 지정해야하지만 둘 다가 아닙니다. -x 및 -y args는 통화를 활성화하기 위해 전달 된 좌표입니다. 시스템 트레이 항목은 하위 메뉴 또는 기타 물건을 표시하기 위해이를 고려해야합니다 (그러나 종종 응용 프로그램에 의해 무시됩니다).
SystemTrayItems에 대한 자세한 내용은 다음을 참조하십시오.
이 도구는 systemd-libs , sdbus-cpp 및 fmt 에 따라 다릅니다. 서브 모듈 종속성 : cxxopts 및 magic_enum 은 일반적 으로이 repo에 서브 모듈로 포함되어 있기 때문에 일반적으로 걱정하지 않아야합니다.
레포를 확인하고 makepkg를 사용하십시오.
git checkout https://github.com/andrewerf/tray-control.git
cd tray-control
makepkg -si가까운 시일 내에이 도구를 AUR에 추가하길 바랍니다.
Repo를 체크 아웃하고 CMAKE + MAKE로 빌드하십시오.
git checkout https://github.com/andrewerf/tray-control.git
cd tray-control
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make -j8
cmake --install . (기본적으로) : /usr/local/bin/tray-show 및 /usr/local/bin/tray-activate 두 파일을 설치합니다. CMAKE_INSTALL_PREFIX 사용하여 설치 폴더를 변경하십시오.