diff --git a/CMakeLists.txt b/CMakeLists.txt index f54d6a6..1455860 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,7 +5,7 @@ string(STRIP ${VER_RAW} VERSION) project( hyprpicker - DESCRIPTION "A blazing fast wayland wallpaper utility" + DESCRIPTION "A wlroots-compatible Wayland color picker that does not suck" VERSION ${VERSION}) set(CMAKE_MESSAGE_LOG_LEVEL "STATUS") diff --git a/src/hyprpicker.cpp b/src/hyprpicker.cpp index 650204a..8cc6a47 100644 --- a/src/hyprpicker.cpp +++ b/src/hyprpicker.cpp @@ -721,7 +721,7 @@ void CHyprpicker::initMouse() { l_or_v = std::round(v * 100); } - h = std::round(h); + h = std::round(h < 0 ? h + 360 : h); s = std::round(s * 100); if (m_bFancyOutput)