mirror of
https://github.com/LukeSmithxyz/dwm.git
synced 2026-10-05 14:22:31 +03:00
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/
This commit is contained in:
@@ -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} },
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user