Fixes keybindings for power button

This commit is contained in:
Jonathan Hodgson 2021-02-22 22:06:13 +00:00
parent 3b11aab6f2
commit 47ffe2fbdb

View file

@ -195,8 +195,8 @@ static Key keys[] = {
// On the pinephone, I want a single press of the power button to put the phone in sleep mode.
// I want a double press to bring up the power menu
// TODO: Make a command for screen lock
//{ 1, XF86XK_PowerOff, 0, spawn, {.v = <This will be a screen lock command> } },
{ 2, XF86XK_PowerOff, 0, spawn, {.v = powerMenu } },
//{ 0, XF86XK_PowerOff, 1, spawn, {.v = <This will be a screen lock command> } },
{ 0, XF86XK_PowerOff, 2, spawn, {.v = powerMenu } },
{ MODKEY|ShiftMask, XK_r, 0, quit, {0} },
TAGKEYS( XK_1, 0)