Commit graph

19 commits

Author SHA1 Message Date
Pig
b68809ab37
SystemInfo.hpp: Fix missing inclusion of std::span (#29)
As observed on Clang 22.6:
```

In file included from /root/hyprsysteminfo/src/utils/SystemInfo.cpp:1:
/root/hyprsysteminfo/src/utils/SystemInfo.hpp:23:24: error: no member named 'span' in namespace 'std'
   23 |     std::optional<std::span<const uint8_t>> deLogo();
      |                        ^~~~
/root/hyprsysteminfo/src/utils/SystemInfo.hpp:23:29: error: expected expression
   23 |     std::optional<std::span<const uint8_t>> deLogo();
      |                             ^
/root/hyprsysteminfo/src/utils/SystemInfo.hpp:23:43: error: expected unqualified-id
   23 |     std::optional<std::span<const uint8_t>> deLogo();
      |                                           ^
In file included from /root/hyprsysteminfo/src/utils/SystemInfo.cpp:13:
/root/hyprsysteminfo/src/utils/../icons/Icons.hpp:7:2: warning: #embed is a Clang extension [-Wc23-extensions]
    7 | #embed "../../resource/hyprlandlogo.svg"
      |  ^
/root/hyprsysteminfo/src/utils/SystemInfo.cpp:351:47: error: out-of-line definition of 'deLogo' does not match any declaration in namespace 'Info'
  351 | std::optional<std::span<const uint8_t>> Info::deLogo() {
      |                                               ^~~~~~
1 warning and 4 errors generated.
```
2026-05-25 10:21:35 +01:00
Vaxry
1959f049f5
core: rewrite entire app in hyprtoolkit (#25)
* core: rewrite entire app in hyprtoolkit

* Nix: update deps

* CMake: fix .desktop path, dedup deps

---------

Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
2025-12-30 14:20:58 +01:00
VuaTech
fe81610278
cmake: Added fing_pkg for WaylandClientPrivate (#21) 2025-10-04 00:32:24 +02:00
Yuxuan Sun
3feb86f866
core: fix en_US language enforcement in cmds (#20) 2025-06-05 21:36:10 +01:00
5351581605 core: move to hyprland-qt-support instead of KDE's qqc2 2025-01-08 23:04:03 +01:00
8b271e2ba3 qml: force system theme for label colors
ref #11
2024-10-17 18:06:53 +01:00
0fa58f189b
core: fix reported display resolutions when fractionally scaled (#10)
Qt appears to have no way to retrieve the pixel size sent by wayland,
as it overrides it with the logical size and will not return the
physical one.
2024-10-17 12:15:07 +01:00
2104e356be core: enforce en_US language in cmds
ref #9
2024-10-16 19:48:42 +01:00
9c5f02ff68 core: use screen size not geom 2024-10-16 15:49:31 +01:00
00beba904f
core: use qt libraries and follow qml module conventions (#8)
* core: use qt libraries and follow qml module conventions

Uses a qml module instead of a context property.
Replaces usages of std and hyprutils with qtbase where applicable.
Removes dependencies: hyprutils, wl-copy, whoami, uname.
Rolls c++ version back to 20, as 23 isn't currently required for anything.

* core: use hyprutils and std again
2024-10-15 11:38:31 +01:00
52a32d3afe
core: use QApplication and respect user theme choice (#6)
Fixes qqc2-desktop-style usage
2024-10-14 00:26:29 +01:00
49f20fbcc5 core: trim kernel info 2024-10-13 22:51:06 +01:00
e901bb17ce core: use c++ instead of uptime 2024-10-13 21:46:28 +01:00
df54301136 core: try product_id before board_id 2024-10-13 21:25:15 +01:00
6a8260e134 core: add more data fields 2024-10-13 21:15:43 +01:00
154fadf876 core: parse commit if no tag 2024-10-13 18:29:36 +01:00
53d0696a46 core: don't assume missing hl when no tag is set 2024-10-13 18:19:17 +01:00
a2028419fc core: fixup elision on gpu data 2024-10-13 16:54:23 +01:00
a264ee9d76 core: initial commit 2024-10-13 16:48:22 +01:00