Commit graph

57 commits

Author SHA1 Message Date
Junxuan Liao
b2e5a80e2f
hyprpm: Link against tomlplusplus when using cmake (#4145)
This reduces the compilation time and is consistent with the meson version.
2023-12-13 14:15:03 +00:00
4190b96718 hyprpm: add duplicate header error and log more verbose in install fails 2023-12-13 02:33:07 +00:00
Jan Beich
50648e6bae
hyprpm: cast std::clamp args to be of the same type (#4116)
hyprpm/src/progress/CProgressBar.cpp:50:27: error: no matching function for call to 'clamp'
    const auto BARWIDTH = std::clamp(w.ws_col - m_szCurrentMessage.length() - 2, 0UL, 50UL);
                          ^~~~~~~~~~
/usr/include/c++/v1/__algorithm/clamp.h:38:1: note: candidate template ignored: deduced conflicting types for parameter '_Tp' ('size_type' (aka 'unsigned int') vs. 'unsigned long')
clamp(const _Tp& __v, const _Tp& __lo, const _Tp& __hi)
^
/usr/include/c++/v1/__algorithm/clamp.h:27:1: note: candidate function template not viable: requires 4 arguments, but 3 were provided
clamp(const _Tp& __v, const _Tp& __lo, const _Tp& __hi, _Compare __comp)
^
2023-12-11 16:29:04 +00:00
d02ba422da hyprpm: guard empty command
fixes #4114
2023-12-10 19:30:26 +00:00
b3dc58e104 hyprpm: clone plugins recursively 2023-12-10 16:18:30 +00:00
d9175a0181 hyprpm: fix with system headers
fixes #4082
2023-12-07 17:22:02 +00:00
Vaxry
d360550546
hyprpm: Add hyprpm, a Hyprland Plugin Manager (#4072) 2023-12-07 10:41:09 +00:00