From 47ffe2fbdb9756dc64eb69e95eedca7f382e4d3f Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Mon, 22 Feb 2021 22:06:13 +0000 Subject: [PATCH] Fixes keybindings for power button --- config.def.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.def.h b/config.def.h index 7ce9135..7d06a2c 100644 --- a/config.def.h +++ b/config.def.h @@ -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 = } }, - { 2, XF86XK_PowerOff, 0, spawn, {.v = powerMenu } }, + //{ 0, XF86XK_PowerOff, 1, spawn, {.v = } }, + { 0, XF86XK_PowerOff, 2, spawn, {.v = powerMenu } }, { MODKEY|ShiftMask, XK_r, 0, quit, {0} }, TAGKEYS( XK_1, 0)