Skip to content

Commit

Permalink
Merge pull request #114 from liqi0816/patch-1
Browse files Browse the repository at this point in the history
Add how to rename Windows monitor_id
  • Loading branch information
haimgel authored Feb 11, 2023
2 parents c2144eb + d296c17 commit c9d3cb6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ on_usb_connect = "hdmi2"
`LEN P27u-10 S/N 1144206897` monitor ID. If more than one section has a match, a first one will be used.
`on_usb_connect` and `on_usb_disconnect`, if defined, take precedence over global defaults.

_Tips for Windows_: monitors can be renamed in the Registry at
`\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\{MODEL_ID}\{CONNECTION_ID}`. Edit the `DeviceDesc` value and change the name after the last semicolon. This is especially helpful in case they are all just "Generic PnP Monitor".

### Running external commands
`display-switch` supports running external commands upon connection or disconnection of USB devices. This configuration
can be global (runs every time a configured USB device is connected or disconnected) or per-monitor (runs only when
Expand Down

0 comments on commit c9d3cb6

Please sign in to comment.