generated from wm-packages/pika-hyprland-settings
Update changelog for v1.0.0-101pika8; refine ActiveWindow icon retrieval and remove unused SimpleImage widget for improved performance
All checks were successful
PikaOS Package Build & Release (amd64-v3) / build (push) Successful in 36s
All checks were successful
PikaOS Package Build & Release (amd64-v3) / build (push) Successful in 36s
This commit is contained in:
parent
f1f4fb1f2c
commit
d140e68443
2
.github/release-nest-v3
vendored
2
.github/release-nest-v3
vendored
@ -1 +1 @@
|
|||||||
2
|
1
|
@ -1,10 +1,15 @@
|
|||||||
|
pikabar (1.0.0-101pika8) pika; urgency=medium
|
||||||
|
|
||||||
|
* Another round of icon fixes
|
||||||
|
|
||||||
|
-- ferrreo <harderthanfire@gmail.com> Sat, 01 Oct 2022 14:50:00 +0300
|
||||||
|
|
||||||
pikabar (1.0.0-101pika7) pika; urgency=medium
|
pikabar (1.0.0-101pika7) pika; urgency=medium
|
||||||
|
|
||||||
* Font fixes and icon fixes
|
* Font fixes and icon fixes
|
||||||
|
|
||||||
-- ferrreo <harderthanfire@gmail.com> Sat, 01 Oct 2022 14:50:00 +0300
|
-- ferrreo <harderthanfire@gmail.com> Sat, 01 Oct 2022 14:50:00 +0300
|
||||||
|
|
||||||
|
|
||||||
pikabar (1.0.0-101pika2) pika; urgency=medium
|
pikabar (1.0.0-101pika2) pika; urgency=medium
|
||||||
|
|
||||||
* Pika 4 Inital Release
|
* Pika 4 Inital Release
|
||||||
|
@ -9,18 +9,15 @@ Row {
|
|||||||
spacing: 10
|
spacing: 10
|
||||||
|
|
||||||
function getIcon() {
|
function getIcon() {
|
||||||
var icon = Quickshell.iconPath(ToplevelManager.activeToplevel.appId.toLowerCase());
|
var icon = Quickshell.iconPath(ToplevelManager.activeToplevel.appId.toLowerCase(), true);
|
||||||
if (!icon) {
|
if (!icon) {
|
||||||
icon = Quickshell.iconPath(ToplevelManager.activeToplevel.appId);
|
icon = Quickshell.iconPath(ToplevelManager.activeToplevel.appId, true);
|
||||||
}
|
}
|
||||||
if (!icon) {
|
if (!icon) {
|
||||||
icon = Quickshell.iconPath(ToplevelManager.activeToplevel.title);
|
icon = Quickshell.iconPath(ToplevelManager.activeToplevel.title, true);
|
||||||
}
|
}
|
||||||
if (!icon) {
|
if (!icon) {
|
||||||
icon = Quickshell.iconPath(ToplevelManager.activeToplevel.title.toLowerCase());
|
icon = Quickshell.iconPath(ToplevelManager.activeToplevel.title.toLowerCase(), "application-x-executable");
|
||||||
}
|
|
||||||
if (!icon) {
|
|
||||||
icon = Quickshell.iconPath("application-x-executable");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return icon;
|
return icon;
|
||||||
|
@ -1,22 +0,0 @@
|
|||||||
import QtQuick
|
|
||||||
|
|
||||||
Item {
|
|
||||||
id: root
|
|
||||||
|
|
||||||
property alias source: image.source
|
|
||||||
property alias asynchronous: image.asynchronous
|
|
||||||
property alias status: image.status
|
|
||||||
property alias cache: image.cache
|
|
||||||
property alias image: image
|
|
||||||
|
|
||||||
property real size: Math.min(width, height)
|
|
||||||
|
|
||||||
Image {
|
|
||||||
id: image
|
|
||||||
anchors.fill: parent
|
|
||||||
fillMode: Image.PreserveAspectFit
|
|
||||||
|
|
||||||
sourceSize.width: root.size
|
|
||||||
sourceSize.height: root.size
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user