Skip to content

Commit

Permalink
Fix HDMI port name in wacom.py
Browse files Browse the repository at this point in the history
  • Loading branch information
AgenttiX committed Jan 3, 2024
1 parent cc17fc2 commit 47bf8e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wacom/wacom.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ def script(use_big: bool = True):
area_x = int(tablet_aspect_ratio * 1440)
logger.info(f"Tablet area: ({area_x}, {area_y})")
# If the left-most monitor is connected
if any([name in monitor_names for name in ["DisplayPort-2", "DP-2", "HDMI-0"]]):
if any([name in monitor_names for name in ["DisplayPort-2", "DP-2", "HDMI-1"]]):
stylus.set_output(area_x, area_y, 1920, 0)
else:
stylus.set_output(area_x, area_y, 0, 0)
Expand Down

0 comments on commit 47bf8e4

Please sign in to comment.