Merge pull request #34 from Ly-sec/revert-33-main

Revert "Quick fixs"
This commit is contained in:
Lysec 2025-07-20 12:06:58 +02:00 committed by GitHub
commit b4dc191d4e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 6 additions and 7 deletions

View file

@ -7,7 +7,7 @@ import qs.Settings
PanelWithOverlay {
id: ioSelector
signal panelClosed()
signal closed()
property int tabIndex: 0
property Item anchorItem: null

View file

@ -6,10 +6,9 @@ import qs.Components
Item {
id: batteryWidget
property var battery: UPower.displayDevice
property bool isReady: battery && battery.ready && battery.isLaptopBattery && battery.isPresent
property real percent: isReady ? (battery.percentage * 100) : 0
property real percent: isReady ? battery.percentage : 0
property bool charging: isReady ? battery.state === UPowerDeviceState.Charging : false
property bool show: isReady && percent > 0
@ -25,7 +24,7 @@ Item {
return "battery_alert";
}
visible: isReady && battery.isLaptopBattery
visible: show
width: 22
height: 36
@ -79,4 +78,4 @@ Item {
targetItem: batteryWidget
delay: 200
}
}
}

View file

@ -23,7 +23,7 @@ Singleton {
Process {
id: zigstatProcess
running: true
command: [Quickshell.shellDir + "/Programs/zigstat", updateInterval]
command: [Quickshell.shellRoot + "/Programs/zigstat", updateInterval]
stdout: SplitParser {
onRead: function (line) {
try {

View file

@ -116,7 +116,7 @@ Singleton {
Process {
id: generateThemeProcess
command: ["wallust", "run", currentWallpaper, "-u", "-k", "-d", "Templates"]
workingDirectory: Quickshell.shellDir
workingDirectory: Quickshell.configDir
running: false
}
}