diff --git a/modules/bar/widgets/Battery.qml b/modules/bar/widgets/Battery.qml index eb624c8..0f86667 100644 --- a/modules/bar/widgets/Battery.qml +++ b/modules/bar/widgets/Battery.qml @@ -7,7 +7,7 @@ import "../states/Battery" MouseArea { id: batteryButton - width: expanded ? Math.max(batteryPercentageText.width + Config.spacing_fun(height), bar.height) : Math.max(batteryText.width + Config.spacing_fun(height)*2, bar.height) + width: expanded ? Math.max(expandedRow.width + Config.spacing_fun(height)*3, bar.height) : Math.max(batteryText.width + Config.spacing_fun(height)*2, bar.height) height: bar.height hoverEnabled: true cursorShape: Qt.PointingHandCursor diff --git a/modules/wp/set-wallpaper.sh b/modules/wp/set-wallpaper.sh index 4bddd35..34cb54a 100755 --- a/modules/wp/set-wallpaper.sh +++ b/modules/wp/set-wallpaper.sh @@ -59,7 +59,9 @@ elif [ -x "/usr/bin/hyprpaper" ]; then fi if [ -x "/usr/bin/matugen" ]; then + echo "matugen exists, creating colors" matugen image $image --mode dark --source-color-index 0 + echo "matugen image $image --mode dark --source-color-index 0" else cp "$SCRIPT_DIR/../../assets/example_colors.qml" "$SCRIPT_DIR/../../config/Colors.qml" fi