forked from Shinonome/dots-hyprland
fix opening right sidebar with mouse not dismissing notifs
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import qs.modules.common
|
||||
import qs
|
||||
import qs.modules.common
|
||||
import qs.services
|
||||
import QtQuick
|
||||
import Quickshell
|
||||
import Quickshell.Hyprland
|
||||
@@ -44,6 +45,10 @@ Singleton {
|
||||
}
|
||||
}
|
||||
|
||||
onSidebarRightOpenChanged: {
|
||||
if(GlobalStates.sidebarRightOpen) Notifications.timeoutAll();
|
||||
}
|
||||
|
||||
property real screenZoom: 1
|
||||
onScreenZoomChanged: {
|
||||
Quickshell.execDetached(["hyprctl", "keyword", "cursor:zoom_factor", root.screenZoom.toString()]);
|
||||
|
||||
Reference in New Issue
Block a user