fixed battery and added debug prints to set-wallpaper
This commit is contained in:
@@ -7,7 +7,7 @@ import "../states/Battery"
|
|||||||
|
|
||||||
MouseArea {
|
MouseArea {
|
||||||
id: batteryButton
|
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
|
height: bar.height
|
||||||
hoverEnabled: true
|
hoverEnabled: true
|
||||||
cursorShape: Qt.PointingHandCursor
|
cursorShape: Qt.PointingHandCursor
|
||||||
|
|||||||
@@ -59,7 +59,9 @@ elif [ -x "/usr/bin/hyprpaper" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -x "/usr/bin/matugen" ]; then
|
if [ -x "/usr/bin/matugen" ]; then
|
||||||
|
echo "matugen exists, creating colors"
|
||||||
matugen image $image --mode dark --source-color-index 0
|
matugen image $image --mode dark --source-color-index 0
|
||||||
|
echo "matugen image $image --mode dark --source-color-index 0"
|
||||||
else
|
else
|
||||||
cp "$SCRIPT_DIR/../../assets/example_colors.qml" "$SCRIPT_DIR/../../config/Colors.qml"
|
cp "$SCRIPT_DIR/../../assets/example_colors.qml" "$SCRIPT_DIR/../../config/Colors.qml"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user