Skip to content

Bug when holding down the down button + power button #18

@elifian

Description

@elifian

Hello, when holding down the volume down button together with the power button (to take a screenshot), the loop freezes, and the volume decreases to 0 until the volume down button is pressed again.

PRESS_S=0.200

press_down() {
    while true; do
        if read -t $PRESS_S key; then
            volume music down
            return
        else
            volume music down
        fi
    done
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions