reworked Workspace.qml to support specialworkspace, fixed launcher opening on two monitors, added slider animation back as an option

This commit is contained in:
SomeElse
2026-05-29 01:59:43 +00:00
parent 7606b96a09
commit a380963757
21 changed files with 120 additions and 57 deletions

View File

@@ -42,9 +42,17 @@ PanelWindow {
return allItems.filter(i => i.name.toLowerCase().includes(q))
}
function toggle() { _isOpen ? close() : open() }
function toggle() {
if (!_isOpen) {
var fm = Hyprland.focusedMonitor
if (!fm || fm.name !== screen.name) return
}
_isOpen ? close() : open()
}
function open() {
var fm = Hyprland.focusedMonitor
if (!fm || fm.name !== screen.name) return
closeTimer.stop()
visible = true
_isOpen = true