mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-04 06:01:56 -07:00
add dpms status info in hyprctl
This commit is contained in:
@@ -1582,6 +1582,8 @@ void CKeybindManager::dpms(std::string arg) {
|
||||
|
||||
wlr_output_enable(m->output, enable);
|
||||
|
||||
m->dpmsStatus = enable;
|
||||
|
||||
if (!wlr_output_commit(m->output)) {
|
||||
Debug::log(ERR, "Couldn't commit output %s", m->szName.c_str());
|
||||
}
|
||||
|
Reference in New Issue
Block a user