reworked Workspace.qml to support specialworkspace, fixed launcher opening on two monitors, added slider animation back as an option
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user