Changes to size in tray and workspaces
This commit is contained in:
@@ -11,11 +11,16 @@ Row { // Workspace Row
|
|||||||
|
|
||||||
Repeater {
|
Repeater {
|
||||||
model: SystemTray.items
|
model: SystemTray.items
|
||||||
|
Column{
|
||||||
|
Rectangle{
|
||||||
|
width: iconImage.width + 8
|
||||||
|
height: (bar.height-trayItem.height)/2
|
||||||
|
color: "transparent"
|
||||||
|
}
|
||||||
Rectangle { //trayItem
|
Rectangle { //trayItem
|
||||||
id: trayItem
|
id: trayItem
|
||||||
width: bar.height
|
width: iconImage.width + 8
|
||||||
height: bar.height
|
height: iconImage.height + 8
|
||||||
radius: 4
|
radius: 4
|
||||||
color: "transparent"
|
color: "transparent"
|
||||||
border.width: 2
|
border.width: 2
|
||||||
@@ -81,12 +86,13 @@ Row { // Workspace Row
|
|||||||
|
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
|
|
||||||
width: bar.height*0.75
|
width: bar.height*0.5
|
||||||
height: bar.height*0.75
|
height: bar.height*0.5
|
||||||
|
|
||||||
asynchronous: true
|
asynchronous: true
|
||||||
cache: true
|
cache: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -14,7 +14,7 @@ Row { // Workspace Row
|
|||||||
|
|
||||||
Rectangle { //workspace
|
Rectangle { //workspace
|
||||||
visible: modelData.monitor === thisMonitor
|
visible: modelData.monitor === thisMonitor
|
||||||
width: workspaceNum.width + 26
|
width: (workspaceNum.width + 16) < (workspaceNum.height + 8) ? workspaceNum.height + 8 : workspaceNum.width + 16
|
||||||
height: workspaceNum.height + 8
|
height: workspaceNum.height + 8
|
||||||
radius: 4
|
radius: 4
|
||||||
color: workspaceButton.containsMouse ? Colors.tertiaryContainer
|
color: workspaceButton.containsMouse ? Colors.tertiaryContainer
|
||||||
|
|||||||
@@ -62,8 +62,11 @@ echo "$image" > $current_wallpaper
|
|||||||
|
|
||||||
blurred_wp="$static_wallpaper_dir/blurred.jpg"
|
blurred_wp="$static_wallpaper_dir/blurred.jpg"
|
||||||
|
|
||||||
magick $image -blur $blur $blurred_wp
|
if [ -x "/usr/bin/sddm" ]; then
|
||||||
|
magick $image -blur $blur $blurred_wp
|
||||||
|
else
|
||||||
|
cp $image $blurred_wp
|
||||||
|
fi
|
||||||
if [ -x "/usr/bin/sddm" ] && [ -d "/usr/share/backgrounds" ]; then
|
if [ -x "/usr/bin/sddm" ] && [ -d "/usr/share/backgrounds" ]; then
|
||||||
sddm_background="/usr/share/backgrounds/background.jpg"
|
sddm_background="/usr/share/backgrounds/background.jpg"
|
||||||
cp "$image" "$sddm_background"
|
cp "$image" "$sddm_background"
|
||||||
|
|||||||
Reference in New Issue
Block a user