summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile5
-rw-r--r--config.h2
-rw-r--r--config.mk1
3 files changed, 3 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 9ebcc8c..fb3007c 100644
--- a/Makefile
+++ b/Makefile
@@ -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\
diff --git a/config.h b/config.h
index 9a16f25..804f213 100644
--- a/config.h
+++ b/config.h
@@ -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 };
diff --git a/config.mk b/config.mk
index 79a8edd..81c493e 100644
--- a/config.mk
+++ b/config.mk
@@ -4,7 +4,6 @@ VERSION = 6.3
# Customize below to fit your system
# paths
-USRHOME ?= /home/ozpv
PREFIX = /usr/local
MANPREFIX = ${PREFIX}/share/man