diff options
| -rw-r--r-- | Makefile | 5 | ||||
| -rw-r--r-- | config.h | 2 | ||||
| -rw-r--r-- | config.mk | 1 |
3 files changed, 3 insertions, 5 deletions
@@ -43,9 +43,8 @@ install: all mkdir -p ${DESTDIR}${MANPREFIX}/man1 sed "s/VERSION/${VERSION}/g" < dwm.1 > ${DESTDIR}${MANPREFIX}/man1/dwm.1 chmod 644 ${DESTDIR}${MANPREFIX}/man1/dwm.1 - mkdir -p $(DESTDIR)$(USRHOME)/.config/dwm/ - cp -r scripts/* $(DESTDIR)$(USRHOME)/.config/dwm/ - chmod 0755 $(DESTDIR)$(USRHOME)/.config/dwm/powermenu.sh + cp -r scripts/* ${DESTDIR}${PREFIX}/bin + chmod 755 ${DESTDIR}${PREFIX}/bin/powermenu uninstall: rm -f ${DESTDIR}${PREFIX}/bin/dwm\ @@ -60,7 +60,7 @@ static const Layout layouts[] = { /* commands */ static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */ static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL }; -static const char *dmenupmcmd[] = { "sh", "/home/ozpv/.config/dwm/powermenu.sh", NULL }; +static const char *dmenupmcmd[] = { "powermenu", NULL }; static const char *dmenunmcmd[] = { "networkmanager_dmenu", NULL }; static const char *termcmd[] = { "st", NULL }; static const char *browsercmd[] = { "firefox", NULL }; @@ -4,7 +4,6 @@ VERSION = 6.3 # Customize below to fit your system # paths -USRHOME ?= /home/ozpv PREFIX = /usr/local MANPREFIX = ${PREFIX}/share/man |
