raexera / yoru

A custom Linux environment built on AwesomeWM
GNU General Public License v3.0
3.48k stars 198 forks source link

Escape lock screen when using Mod4+Escape [Bug] #100

Open badplayer-august opened 2 years ago

badplayer-august commented 2 years ago

When the word clock show up in lock screen, pressing Mod4(Super) + Escape can escape lock screen and access windows.

Expected behavior At lock screen should grab all input.

Screenshots Using app menu after escape lock screen. 2022-07-18_203215

Distro (please complete the following information): OS: Arch Linux

Additional context I fixed this by adding hooks in config/awesome/modules/lockscreen/lockscreen.lua

hooks = {
    {
        { "Mod4" },
        "Escape",
        function()
            reset()
            grab_password()
        end,
    },
}
javacafe01 commented 2 years ago

Just letting you know this is a lock screen made in AwesomeWM. In no way at all is it secure. You can PR what you have, but for security I would recommend you to use something else.