Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions content/Configuring/Binds.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,13 @@ bindl = , switch:on:[switch name], exec, hyprctl keyword monitor "eDP-1, disable
bindl = , switch:off:[switch name], exec, hyprctl keyword monitor "eDP-1, 2560x1600, 0x0, 1"
```

{{< callout type=warning >}}

Reloading the config removes `hyprctl keyword` commands set in the switches. To make them persistent, add:
`exec = sh -c 'if [ $(hyprctl monitors | grep -c "Monitor") -gt 1 ]; then hyprctl keyword monitor "eDP-1, disable"; fi'`

{{< /callout >}}

{{< callout type=info >}}

You can view your switches with `hyprctl devices`.
Expand Down