diff options
| author | ozpv <39195175+ozpv@users.noreply.github.com> | 2022-05-26 22:21:45 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-26 22:21:45 -0500 |
| commit | 7df5d62f0ca7c255e02456e8b42cef7de9877a95 (patch) | |
| tree | 5b6607d3de8bac699d3e59b896138d6bd9c7af98 | |
| parent | 4e94136dbf18476c3a464796ea720cbd68f22c07 (diff) | |
update scripts
| -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 |
