diff --git a/config.def.h b/config.def.h index 8fbf319..4b4ed24 100644 --- a/config.def.h +++ b/config.def.h @@ -122,7 +122,7 @@ static const char *brightnessDown[] = { "brightness", "down", NULL }; static const char *setBackgroundRandom[] = { "rofi-background", "--earth", NULL }; static const char *backgroundDetails[] = { "background", "--only-notify", NULL }; -static const char *unity_hud[] = { "hud-menu.py" }; +static const char *powerMenu[] = { "rofi-shutdown", NULL }; #include "movestack.c" static Key keys[] = { @@ -178,7 +178,6 @@ static Key keys[] = { { MODKEY, XK_w, spawn, {.v = whichproject } }, { MODKEY|ShiftMask, XK_w, spawn, {.v = project } }, { MODKEY, XK_d, spawn, {.v = pass } }, - { MODKEY, XK_x, spawn, {.v = unity_hud } }, //Background { MODKEY, XK_e, spawn, {.v = setBackgroundRandom } }, { MODKEY|ControlMask, XK_e, spawn, {.v = backgroundDetails } }, @@ -188,6 +187,7 @@ static Key keys[] = { { 0, XF86XK_AudioMute, spawn, {.v = volumeToggle } }, { 0, XF86XK_MonBrightnessUp, spawn, {.v = brightnessUp } }, { 0, XF86XK_MonBrightnessDown, spawn, {.v = brightnessDown } }, + { 0, XF86XK_PowerOff, spawn, {.v = powerMenu } }, TAGKEYS( XK_1, 0) TAGKEYS( XK_2, 1) TAGKEYS( XK_3, 2)