Skip to content

Commit

Permalink
Update some details
Browse files Browse the repository at this point in the history
  • Loading branch information
vicr123 committed Jun 9, 2023
1 parent d81819f commit aa715b4
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .contemporary.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"desktop-id": "com.vicr123.theheartbeat",
"theme-colors": ["#00c800", "#006400"]
"theme-colors": ["#006400", "#00c800"]
}
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@ IF(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
link_directories(/usr/local/lib)
ENDIF()

find_package(QT REQUIRED NAMES Qt6)

add_subdirectory(heartbeat)
22 changes: 9 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,50 +2,46 @@

---
<p align="center">
<a href="https://travis-ci.org/vicr123/theheartbeat" target="_blank"><img src="https://img.shields.io/travis/vicr123/theheartbeat/master?label=Linux&style=for-the-badge" alt="Travis CI Build Status" /></a>
<img src="https://img.shields.io/github/license/vicr123/theheartbeat?style=for-the-badge" />
</p>

theHeartbeat is a system monitor, designed to integrate well with theShell.
theHeartbeat is a system monitor, designed to integrate well with theDesk.

---

# Dependencies
- Qt 5
- Qt 6
- Qt Core
- Qt GUI
- Qt Widgets
- Qt SVG
- [the-libs](https://github.com/vicr123/the-libs)
- [libcontemporary](https://github.com/vicr123/libcontemporary)

# Get
If you're using a supported operating system, we may have binaries available:

| System | Package |
|-------------------|---------------------------------------------------------------------------------------------------------|
| Arch Linux | ~~`theheartbeat` on the AUR~~ Coming soon! |
| Other Linux | [AppImage on GitHub Releases](https://github.com/vicr123/theHeartbeat/releases) |

For more information, visit the [website](https://vicr123.com/theslate/download.html).
| Arch Linux | `theheartbeat` on the AUR Coming soon! |

## Build
Run the following commands in your terminal.
```
qmake
make
cmake -B build -S .
cmake --build build
```

## Install
On Linux, run the following command in your terminal (with superuser permissions)
```
make install
cmake --install build
```

# Contributing
Thanks for your interest in theHeartbeat! Check out the [CONTRIBUTING.md](CONTRIBUTING.md) file to get started and see how you can help!

---

> © Victor Tran, 2019. This project is licensed under the GNU General Public License, version 3, or at your option, any later version.
> © Victor Tran, 2023. This project is licensed under the GNU General Public License, version 3, or at your option, any later version.
>
> Check the [LICENSE](LICENSE) file for more information.
> Check the [LICENSE](LICENSE) file for more information.
4 changes: 2 additions & 2 deletions heartbeat/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.21.0)

project(theheartbeat VERSION 1.0.0 LANGUAGES CXX)

find_package(Qt6 REQUIRED COMPONENTS Widgets DBus Sql Concurrent)
find_package(Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS Widgets DBus Sql Concurrent)
find_package(libcontemporary REQUIRED)

set(SOURCES
Expand Down Expand Up @@ -69,7 +69,7 @@ cntp_target_desktop_file(theheartbeat
cntp_defaults_file(theheartbeat
DEFAULTS_FILE theheartbeat.conf)

target_link_libraries(theheartbeat Qt6::Widgets Qt6::DBus Qt6::Concurrent libcontemporary)
target_link_libraries(theheartbeat Qt::Widgets Qt::DBus Qt::Concurrent libcontemporary)

install(TARGETS theheartbeat
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
Expand Down
3 changes: 1 addition & 2 deletions heartbeat/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,8 @@ int main(int argc, char* argv[]) {

a.setOrganizationName("theSuite");
a.setOrganizationDomain("vicr123.com");
a.setApplicationVersion("1.1");
a.setApplicationVersion("2.0");
a.setGenericName(QApplication::translate("main", "System Monitor"));
a.setAboutDialogSplashGraphic(a.aboutDialogSplashGraphicFromSvg(":/icons/aboutsplash.svg"));
a.setApplicationLicense(tApplication::Gpl3OrLater);
a.setCopyrightHolder("Victor Tran");
a.setCopyrightYear("2023");
Expand Down
Empty file added heartbeat/theheartbeat.conf
Empty file.

0 comments on commit aa715b4

Please sign in to comment.