Configuring hyprland
This commit is contained in:
@@ -38,10 +38,10 @@ local function is_lid_closed()
|
||||
return false
|
||||
end
|
||||
|
||||
if is_lid_closed() then
|
||||
function toggleLaptopMonitor()
|
||||
hl.monitor {
|
||||
output = 'desc:BOE NE160QDM-NZ6',
|
||||
disabled = true,
|
||||
disabled = not is_lid_closed(),
|
||||
}
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user