Compare commits

..

No commits in common. "44ca4799749aad25913b4d0cb2b21ed5f7c11d17" and "52ce9fabdd4a0b0c5a670b037bd2634fb7636b48" have entirely different histories.

3 changed files with 7 additions and 10 deletions

View File

@ -61,13 +61,13 @@ static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn()
static const char *dmenucmd[] = { "/bin/dmenu_run", "-m", dmenumon, NULL };
static const char *pmenucmd[] = { "/bin/passmenu", NULL };
static const char *termcmd[] = { "/bin/xterm", NULL };
static const char *lockcmd[] = { "/bin/xlock", NULL };
static const char *mailcmd[] = { "/bin/xterm", "-e", "/bin/proxychains", "-q", "env", "TZ=UTC", "/bin/neomutt", NULL };
static const char *lockcmd[] = { "/bin/slock", NULL };
static const char *mailcmd[] = { "/bin/xterm", "-e", "/bin/torsocks", "env", "TZ=UTC", "/bin/neomutt", NULL };
static const char *webcmd[] = { "/bin/palemoon", NULL };
static const char *volup[] = { "/bin/amixer", "set", "-q", "Master", "5%+", NULL};
static const char *voldown[] = { "/bin/amixer", "set", "-q", "Master", "5%-", NULL};
static const char *volmute[] = { "/bin/amixer", "set", "-q", "Master", "toggle", NULL};
static const char *micmute[] = { "/bin/amixer", "set", "-q", "Capture", "toggle", NULL};
static const char *volup[] = { "/bin/amixer", "set", "Master", "5%+", NULL};
static const char *voldown[] = { "/bin/amixer", "set", "Master", "5%-", NULL};
static const char *volmute[] = { "/bin/amixer", "set", "Master", "toggle", NULL};
static const char *micmute[] = { "/bin/amixer", "set", "Capture", "toggle", NULL};
static const char *brightup[] = { "/bin/xbacklight", "-inc", "1", "-perceived", NULL};
static const char *brightdown[] = { "/bin/xbacklight", "-dec", "1", "-perceived", NULL};

View File

@ -22,7 +22,7 @@ FREETYPEINC = /usr/include/freetype2
# includes and libs
INCS = -I${X11INC} -I${FREETYPEINC}
LIBS = -L${X11LIB} -lX11 -lXext ${XINERAMALIBS} ${FREETYPELIBS}
LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS}
# flags
CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=200809L -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} -D_FORTIFY_SOURCE=2

3
dwm.c
View File

@ -26,7 +26,6 @@
#include <X11/Xutil.h>
#include <X11/cursorfont.h>
#include <X11/keysym.h>
#include <X11/extensions/dpms.h>
#include <errno.h>
#include <locale.h>
#include <signal.h>
@ -2985,8 +2984,6 @@ main(int argc, char* argv[])
die("pledge");
#endif /* __OpenBSD__ */
scan();
XSetScreenSaver(dpy, 0, 600, 1, 1);
DPMSDisable(dpy);
run();
cleanup();
XCloseDisplay(dpy);