Reworked Stats.qml and SysInfo to support nvidia, new theme yay!

This commit is contained in:
SomeElse
2026-05-29 07:10:03 +00:00
parent a380963757
commit 7d33521191
24 changed files with 461 additions and 46 deletions

View File

@@ -47,6 +47,8 @@ PanelWindow {
}
function open() {
var fm = Hyprland.focusedMonitor
if (!fm || fm.name !== screen.name) return
visible = true
_open = true
enterAnim.stop()
@@ -61,7 +63,13 @@ PanelWindow {
exitAnim.start()
}
function toggle() { _open ? close() : open() }
function toggle() {
if (!_open) {
var fm = Hyprland.focusedMonitor
if (!fm || fm.name !== screen.name) return
}
_open ? close() : open()
}
Timer {
id: hideTimer