mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-05-18 21:38:09 -04:00
feat: add sleep_monitor command with wake-on-input
This commit is contained in:
parent
42c02e3dc2
commit
a615926156
6 changed files with 51 additions and 1 deletions
|
|
@ -67,7 +67,7 @@ monitorrule=name:HEADLESS-.*,width:1920,height:1080,refresh:60,x:1926,y:0,scale:
|
|||
|
||||
## Monitor Spec Format
|
||||
|
||||
Several commands (`focusmon`, `tagmon`, `disable_monitor`, `enable_monitor`, `toggle_monitor`, `viewcrossmon`, `tagcrossmon`) accept a **monitor_spec** string to identify a monitor.
|
||||
Several commands (`focusmon`, `tagmon`, `disable_monitor`, `enable_monitor`, `toggle_monitor`, `sleep_monitor`, `viewcrossmon`, `tagcrossmon`) accept a **monitor_spec** string to identify a monitor.
|
||||
|
||||
**Format:**
|
||||
|
||||
|
|
@ -173,6 +173,9 @@ mmsg -d enable_monitor,eDP-1
|
|||
|
||||
# Toggle
|
||||
mmsg -d toggle_monitor,eDP-1
|
||||
|
||||
# Turn off and wake automatically on next keypress or mouse movement
|
||||
mmsg -d sleep_monitor,eDP-1
|
||||
```
|
||||
|
||||
You can also use `wlr-randr` for monitor management:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue