chore: various stuffs
This commit is contained in:
parent
01fdc09393
commit
9aa6046cdd
4 changed files with 18 additions and 3 deletions
|
@ -46,7 +46,7 @@ Singleton {
|
|||
case "296":
|
||||
return day ? "weather-showers-scattered" : "weather-showers-scattered-night";
|
||||
default:
|
||||
console.log("Unknown weather code: ", weatherCode);
|
||||
console.log("Unknown weather code:", weatherCode);
|
||||
return "weather-none-available";
|
||||
}
|
||||
}
|
||||
|
|
|
@ -7,12 +7,11 @@ import QtQuick
|
|||
import Quickshell.Services.Mpris
|
||||
import Quickshell
|
||||
import "../../base"
|
||||
import "../../provider"
|
||||
|
||||
BRectangle {
|
||||
id: mprisSmall
|
||||
Layout.fillWidth: true
|
||||
Layout.preferredHeight: 200
|
||||
height: 200
|
||||
|
||||
radius: 15
|
||||
clip: true
|
||||
|
|
|
@ -34,6 +34,20 @@ MouseArea {
|
|||
|
||||
signal close
|
||||
|
||||
TextEdit {
|
||||
id: textEdit
|
||||
visible: false
|
||||
}
|
||||
|
||||
Shortcut {
|
||||
sequences: [StandardKey.Copy]
|
||||
onActivated: {
|
||||
textEdit.text = toast.body;
|
||||
textEdit.selectAll();
|
||||
textEdit.copy();
|
||||
}
|
||||
}
|
||||
|
||||
BRectangle {
|
||||
id: box
|
||||
width: parent.width
|
||||
|
|
|
@ -23,6 +23,8 @@ PanelWindow {
|
|||
width: popups.width
|
||||
}
|
||||
|
||||
focusable: true
|
||||
|
||||
color: "transparent"
|
||||
width: 500
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue