fixed battery and added debug prints to set-wallpaper
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user