fixed small things
This commit is contained in:
+3
-11
@@ -93,16 +93,16 @@ transform_svg_white \
|
|||||||
# ----------------------------
|
# ----------------------------
|
||||||
echo
|
echo
|
||||||
info "Preparing global icons..."
|
info "Preparing global icons..."
|
||||||
mkdir -p "$SCRIPT_DIR/colors/icons"
|
mkdir -p "$SCRIPT_DIR/modules/jl/assets"
|
||||||
|
|
||||||
download \
|
download \
|
||||||
"https://raw.githubusercontent.com/Tekh-ops/Garuda-Linux-Icons/refs/heads/master/actions/scalable/window-close.svg" \
|
"https://raw.githubusercontent.com/Tekh-ops/Garuda-Linux-Icons/refs/heads/master/actions/scalable/window-close.svg" \
|
||||||
"$SCRIPT_DIR/colors/icons/wrong.svg" \
|
"$SCRIPT_DIR/modules/jl/assets/wrong.svg" \
|
||||||
"wrong.svg"
|
"wrong.svg"
|
||||||
|
|
||||||
download \
|
download \
|
||||||
"https://raw.githubusercontent.com/Tekh-ops/Garuda-Linux-Icons/refs/heads/master/actions/scalable/dialog-ok-apply.svg" \
|
"https://raw.githubusercontent.com/Tekh-ops/Garuda-Linux-Icons/refs/heads/master/actions/scalable/dialog-ok-apply.svg" \
|
||||||
"$SCRIPT_DIR/colors/icons/correct.svg" \
|
"$SCRIPT_DIR/modules/jl/assets/correct.svg" \
|
||||||
"correct.svg"
|
"correct.svg"
|
||||||
|
|
||||||
# ----------------------------
|
# ----------------------------
|
||||||
@@ -179,13 +179,5 @@ info "Creating Wallpaper Folder Config"
|
|||||||
cp "$SCRIPT_DIR/config/path/WallpaperPath.qml.template" "$SCRIPT_DIR/config/path/WallpaperPath.qml"
|
cp "$SCRIPT_DIR/config/path/WallpaperPath.qml.template" "$SCRIPT_DIR/config/path/WallpaperPath.qml"
|
||||||
sed -i "s|__CONFIG_DIR__|$WALLPAPER_DIR|g" "$SCRIPT_DIR/config/path/WallpaperPath.qml"
|
sed -i "s|__CONFIG_DIR__|$WALLPAPER_DIR|g" "$SCRIPT_DIR/config/path/WallpaperPath.qml"
|
||||||
|
|
||||||
# 5. Ensure it exists
|
|
||||||
mkdir -p "$WALLPAPER_DIR"
|
|
||||||
|
|
||||||
info "Copying example Wallpaper..."
|
|
||||||
|
|
||||||
# 6. Copy example wallpaper
|
|
||||||
cp $SCRIPT_DIR/colors/example_background.png "$WALLPAPER_DIR/japan_old_emperor_stream_with_bridge.png"
|
|
||||||
|
|
||||||
echo
|
echo
|
||||||
ok "All assets prepared successfully."
|
ok "All assets prepared successfully."
|
||||||
@@ -18,7 +18,7 @@ MouseArea {
|
|||||||
Rectangle {
|
Rectangle {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
color: batteryButton.containsMouse ? Colors.tertiary : Qt.alpha(Colors.tertiaryContainer, 0.25)
|
color: batteryButton.containsMouse ? Colors.tertiary : Qt.alpha(Colors.tertiaryContainer, 0.25)
|
||||||
radius: Config.radius
|
radius: Config.radius_fun(batteryButton.height)
|
||||||
border.width: Config.border_width
|
border.width: Config.border_width
|
||||||
border.color: batteryButton.containsMouse ? Colors.tertiaryContainer_fg
|
border.color: batteryButton.containsMouse ? Colors.tertiaryContainer_fg
|
||||||
: Colors.secondaryContainer_fg
|
: Colors.secondaryContainer_fg
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ MouseArea {
|
|||||||
Rectangle {
|
Rectangle {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
color: menuButton.containsMouse ? Colors.secondaryContainer_fg : Qt.alpha(Colors.secondary, 0.75)
|
color: menuButton.containsMouse ? Colors.secondaryContainer_fg : Qt.alpha(Colors.secondary, 0.75)
|
||||||
radius: Config.radius
|
radius: Config.radius_fun(menuButton.height)
|
||||||
border.width: 0
|
border.width: 0
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ MouseArea {
|
|||||||
Rectangle {
|
Rectangle {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
color: networkButton.containsMouse ? Colors.tertiary : Qt.alpha(Colors.tertiaryContainer, 0.25)
|
color: networkButton.containsMouse ? Colors.tertiary : Qt.alpha(Colors.tertiaryContainer, 0.25)
|
||||||
radius: Config.radius
|
radius: Config.radius_fun(networkButton.height)
|
||||||
border.width: Config.border_width
|
border.width: Config.border_width
|
||||||
border.color: networkButton.containsMouse ? Colors.tertiaryContainer_fg
|
border.color: networkButton.containsMouse ? Colors.tertiaryContainer_fg
|
||||||
: Colors.secondaryContainer_fg
|
: Colors.secondaryContainer_fg
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ MouseArea {
|
|||||||
Rectangle {
|
Rectangle {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
color: powerButton.containsMouse ? Colors.secondaryContainer_fg : Qt.alpha(Colors.secondary, 0.75)
|
color: powerButton.containsMouse ? Colors.secondaryContainer_fg : Qt.alpha(Colors.secondary, 0.75)
|
||||||
radius: Config.radius
|
radius: Config.radius_fun(powerButton.height)
|
||||||
border.width: 0
|
border.width: 0
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
|
|||||||
@@ -21,11 +21,13 @@ Row { // Workspace Row
|
|||||||
id: trayItem
|
id: trayItem
|
||||||
width: iconImage.width + Config.spacing_fun(bar.height)
|
width: iconImage.width + Config.spacing_fun(bar.height)
|
||||||
height: iconImage.height + Config.spacing_fun(bar.height)
|
height: iconImage.height + Config.spacing_fun(bar.height)
|
||||||
radius: Config.small_radius_fun(height)
|
radius: Config.radius_fun(trayRow.height)
|
||||||
color: trayArea.containsMouse ? Colors.tertiaryContainer
|
color: trayArea.containsMouse ? Colors.tertiaryContainer
|
||||||
: modelData.active ? Colors.primaryContainer
|
: modelData.active ? Colors.primaryContainer
|
||||||
: Colors.secondaryContainer
|
: Colors.secondaryContainer
|
||||||
border.width: Config.border_width
|
border.width: Config.border_width
|
||||||
|
border.color: trayArea.containsMouse ? Colors.tertiaryContainer_fg
|
||||||
|
: Colors.secondaryContainer_fg
|
||||||
|
|
||||||
Process {
|
Process {
|
||||||
id: steamRunner
|
id: steamRunner
|
||||||
|
|||||||
@@ -21,8 +21,8 @@ Row {
|
|||||||
width: {
|
width: {
|
||||||
var cw = wsNum.width
|
var cw = wsNum.width
|
||||||
if (wsIconsRow.children.length > 0)
|
if (wsIconsRow.children.length > 0)
|
||||||
cw += Config.spacing_fun(workspacesRow.height) + wsIconsRow.width
|
cw += Config.spacing_fun(bar.height) + wsIconsRow.width
|
||||||
Math.max(cw + Config.spacing_fun(workspacesRow.height), wsNum.height + Config.spacing_fun(workspacesRow.height))
|
Math.max(cw + Config.spacing_fun(bar.height)*2, wsNum.height + Config.spacing_fun(bar.height)*2)
|
||||||
}
|
}
|
||||||
height: wsNum.height + Config.spacing_fun(wsNum.height)
|
height: wsNum.height + Config.spacing_fun(wsNum.height)
|
||||||
radius: Config.radius_fun(height)
|
radius: Config.radius_fun(height)
|
||||||
|
|||||||
Reference in New Issue
Block a user