fix: directory does not exist

This commit is contained in:
speedie 2023-03-01 12:11:58 +01:00
parent 077b7675f6
commit fcada67622
4 changed files with 14 additions and 14 deletions

View file

@ -126,6 +126,7 @@ install: all
mkdir -p ${DESTDIR}${PREFIX}/share/speedwm
mkdir -p ${DESTDIR}${PREFIX}/share/xsessions/
mkdir -p ${DESTDIR}${PREFIX}/share/pixmaps/
mkdir -p ${DESTDIR}${PREFIX}/share/fonts/
rm -f "${DESTDIR}${PREFIX}/bin/speedwm_status"
[ -f speedwm-ipc ] && cp -f speedwm-ipc ${DESTDIR}${PREFIX}/bin || :
[ -f speedwm_status ] && cp -f speedwm_status ${DESTDIR}${PREFIX}/bin || :

View file

@ -81,7 +81,6 @@ static Key keys[] = {
{ KeyPress, MODIFIER1|SHIFT, -1, XK_q, killclient, {0} },
{ KeyPress, MODIFIER1|SHIFT, -1, XK_space, togglefloating, {0} },
{ KeyPress, MODIFIER1|CONTROL, -1, XK_0, view, {.ui = ~0 } },
{ KeyPress, MODIFIER1, -1, XK_d, focusmon, {.i = -1 } },
{ KeyPress, MODIFIER1, -1, XK_slash, focusmon, {.i = +1 } },
{ KeyPress, MODIFIER1|SHIFT, -1, XK_d, tagmon, {.i = -1 } },
{ KeyPress, MODIFIER1|SHIFT, -1, XK_slash, tagmon, {.i = +1 } },

View file

@ -20,17 +20,17 @@ static char *separator = ""; /* Delimiter between modules. Note that this w
static const Module modules[] = {
/* prefix command update interval update signal */
{ "<\x01", "module_time --print", 1, 1 },
{ "<\x02", "module_date --print", 60, 2 },
{ "<\x03", "module_bat --print", 2, 3 },
{ "<\x04", "module_vol --print", 1, 4 },
{ "<\x05", "module_ram --print", 6, 5 },
{ "<\x01", "module_net --print", 10, 6 },
{ "<\x02", "module_temp --print", 5, 7 },
{ "<\x03", "module_weather --print", 60, 8 },
{ "<\x04", "module_music --print", 1, 9 },
{ "<\x05", "module_dfmpeg --print", 5, 10 },
{ "<\x01", "module_news --print", 30, 11 },
{ "<\x02", "module_email --print", 30, 12 },
{ " <\x02", "module_date --print", 60, 2 },
{ " <\x03", "module_bat --print", 2, 3 },
{ " <\x04", "module_vol --print", 1, 4 },
{ " <\x05", "module_ram --print", 6, 5 },
{ " <\x01", "module_net --print", 10, 6 },
{ " <\x02", "module_temp --print", 5, 7 },
{ " <\x03", "module_weather --print", 60, 8 },
{ " <\x04", "module_music --print", 1, 9 },
{ " <\x05", "module_dfmpeg --print", 5, 10 },
{ " <\x01", "module_news --print", 30, 11 },
{ " <\x02", "module_email --print", 30, 12 },
};
/* Commands that will run when a part of the status bar is pressed. You can add:

View file

@ -219,9 +219,9 @@ ResourcePref resources[] = {
{ "color0", STRING, &col_layouttext },
{ "color2", STRING, &col_layout },
{ "color1", STRING, &col_tag1 },
{ "color0", STRING, &col_tag1_text },
{ "color4", STRING, &col_tag1_text },
{ "color2", STRING, &col_tag2 },
{ "color0", STRING, &col_tag2_text },
{ "color4", STRING, &col_tag2_text },
{ "color3", STRING, &col_tag3 },
{ "color0", STRING, &col_tag3_text },
{ "color4", STRING, &col_tag4 },