Open catmeowjiao opened 5 months ago
because it isn't supposed to have you checked this on hyprland wiki? https://wiki.hyprland.org/Configuring/Binds/#switches
Sorry, I did not consult the information.
Here is the code from the link you gave:
# trigger when the switch is toggled
bindl=,switch:[switch name],exec,swaylock
# trigger when the switch is turning on
bindl=,switch:on:[switch name],exec,hyprctl keyword monitor "eDP-1, disable"
# trigger when the switch is turning off
bindl=,switch:off:[switch name],exec,hyprctl keyword monitor "eDP-1, 2560x1600, 0x0, 1"
What does "switch is toggled", "switch is turning on", "switch is turning off" mean in these three comments?
How can I realize the effect similar to the one in this discussion?
What does "switch is toggled", "switch is turning on", "switch is turning off" mean in these three comments?
"Switch is toggled" means that there has been a change in its on/off status, "switch is turning on" means that the lid is being closed and "switch is turning off" means that the lid is being opened.
How can I realize the effect similar to the one in this discussion
That I am not sure about.
The coffee button on the sidebar cannot keep the screen open when covering the laptop lid.