summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikola Kvartovič <ncv@disroot.org>2026-07-14 08:40:50 -0400
committerNikola Kvartovič <ncv@disroot.org>2026-07-14 08:40:50 -0400
commit5520ed3d7f0853612489c630ae371607664c7217 (patch)
tree9266f821d20eadc139ef42a22be4990c20652b63
parent6e7e242e9d95d59ccde1328b1e2d40ec2365ae80 (diff)
Fix abook address book location
abook 6.2 added XDG base directory support, and neomutt looks for the address book in ~/.local/share/abook https://sourceforge.net/p/abook/git/ci/ca5bcec4aa11fc879751372ce6190fd4311ba04d/
-rw-r--r--config.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/config.h b/config.h
index 43f7754..a8101b0 100644
--- a/config.h
+++ b/config.h
@@ -165,8 +165,8 @@ static const Key keys[] = {
{ MODKEY|ShiftMask, XK_q, spawn, {.v = (const char*[]){ "sysact", NULL } } },
{ MODKEY, XK_w, spawn, {.v = (const char*[]){ BROWSER, NULL } } },
{ MODKEY|ShiftMask, XK_w, spawn, {.v = (const char*[]){ TERMINAL, "-e", "nmtui", NULL } } },
- { MODKEY, XK_e, spawn, SHCMD(TERMINAL " -e neomutt ; pkill -RTMIN+12 dwmblocks; rmdir ~/.abook 2>/dev/null") },
- { MODKEY|ShiftMask, XK_e, spawn, SHCMD(TERMINAL " -e abook -C ~/.config/abook/abookrc --datafile ~/.config/abook/addressbook") },
+ { MODKEY, XK_e, spawn, SHCMD(TERMINAL " -e neomutt ; pkill -RTMIN+12 dwmblocks") },
+ { MODKEY|ShiftMask, XK_e, spawn, SHCMD(TERMINAL " -e abook") },
{ MODKEY, XK_r, spawn, {.v = (const char*[]){ TERMINAL, "-e", "lfub", NULL } } },
{ MODKEY|ShiftMask, XK_r, spawn, {.v = (const char*[]){ TERMINAL, "-e", "htop", NULL } } },
{ MODKEY, XK_t, setlayout, {.v = &layouts[0]} }, /* tile */
@@ -334,3 +334,4 @@ static const Button buttons[] = {
{ ClkTagBar, 0, Button5, shiftview, {.i = 1} },
{ ClkRootWin, 0, Button2, togglebar, {0} },
};
+