mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-16 05:49:57 -05:00
fix cant assign undefined warning
This commit is contained in:
@@ -12,7 +12,7 @@ import Quickshell.Wayland
|
|||||||
Scope {
|
Scope {
|
||||||
id: root
|
id: root
|
||||||
property bool showOsdValues: false
|
property bool showOsdValues: false
|
||||||
property ShellScreen focusedScreen: Quickshell.screens.find(s => s.name === Hyprland.focusedMonitor?.name)
|
property var focusedScreen: Quickshell.screens.find(s => s.name === Hyprland.focusedMonitor?.name)
|
||||||
property var brightnessMonitor: Brightness.getMonitorForScreen(focusedScreen)
|
property var brightnessMonitor: Brightness.getMonitorForScreen(focusedScreen)
|
||||||
|
|
||||||
function triggerOsd() {
|
function triggerOsd() {
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ import Quickshell.Hyprland
|
|||||||
Scope {
|
Scope {
|
||||||
id: root
|
id: root
|
||||||
property bool showOsdValues: false
|
property bool showOsdValues: false
|
||||||
property ShellScreen focusedScreen: Quickshell.screens.find(s => s.name === Hyprland.focusedMonitor?.name)
|
property var focusedScreen: Quickshell.screens.find(s => s.name === Hyprland.focusedMonitor?.name)
|
||||||
|
|
||||||
function triggerOsd() {
|
function triggerOsd() {
|
||||||
showOsdValues = true
|
showOsdValues = true
|
||||||
|
|||||||
Reference in New Issue
Block a user