diff options
author | Joe <rbo@gmx.us> | 2024-12-23 19:57:33 +0100 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2024-12-23 19:57:33 +0100 |
commit | fac66e6fade8f6a8246ea917ceb2326e36b9aae5 (patch) | |
tree | a3ef1abdba3ca1bad130cdd64cdd1f22ce1ad2c1 | |
parent | fix (diff) | |
download | dwm-fac66e6fade8f6a8246ea917ceb2326e36b9aae5.tar.gz dwm-fac66e6fade8f6a8246ea917ceb2326e36b9aae5.tar.bz2 dwm-fac66e6fade8f6a8246ea917ceb2326e36b9aae5.tar.xz dwm-fac66e6fade8f6a8246ea917ceb2326e36b9aae5.tar.zst dwm-fac66e6fade8f6a8246ea917ceb2326e36b9aae5.zip |
fix
-rw-r--r-- | config.def.h | 8 | ||||
-rw-r--r-- | config.mk | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/config.def.h b/config.def.h index c09e0d0..32df4a0 100644 --- a/config.def.h +++ b/config.def.h @@ -34,17 +34,17 @@ typedef struct { const void *cmd; } Sp; const char *spcmd1[] = {"alacritty", "--class", "spterm", NULL }; -const char *spcmd2[] = {"alacritty", "--class", "spfm", "-e", "lf", NULL }; +const char *spcmd2[] = {"alacritty", "--class", "spfm", "-e", "zsh", "-ic", "lf", NULL }; const char *spcmd3[] = {"pcmanfm", NULL }; const char *spcmd4[] = {"alacritty", "--class", "spflip", "-e", "hf", NULL }; -const char *spcmd5[] = {"alacritty", "--class", "spncmpc", "-e", "ncmpc", NULL }; +const char *spcmd5[] = {"alacritty", "--class", "spmpd", "-e", "ncmpc", NULL }; static Sp scratchpads[] = { /* name cmd */ {"spterm", spcmd1}, {"spfm", spcmd2}, {"spfmgui", spcmd3}, {"spflip", spcmd4}, - {"spncmpc", spcmd4}, + {"spmpd", spcmd5}, }; /* tagging */ @@ -86,7 +86,7 @@ static const Rule rules[] = { { NULL, "spfm", NULL, SPTAG(1), 1, 1, 0, -1 }, { NULL, "pcmanfm", NULL, SPTAG(2), 1, 0, 0, -1 }, { NULL, "spflip", NULL, SPTAG(3), 1, 1, 0, -1 }, - { NULL, "spncmpc", NULL, SPTAG(4), 1, 1, 0, -1 }, + { NULL, "spmpd", NULL, SPTAG(4), 1, 1, 0, -1 }, }; /* layout(s) */ @@ -28,7 +28,7 @@ LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS} -lX11-xcb -lxcb -lxcb-r # flags CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700L -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} -DHOME=\"${HOME}/\" -DHOMEBIN=\"${HOME}/.local/bin/\" #CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS} -HOSTNAME = $(shell /usr/bin/hostame -s) +HOSTNAME = $(shell /usr/bin/hostname -s) CFLAGS = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -march=alderlake -Os -pipe ${INCS} ${CPPFLAGS} ifeq (${HOSTNAME}, mother) |