Update stuff #6
2 changed files with 12 additions and 1 deletions
11
src/Makefile
11
src/Makefile
|
@ -44,6 +44,17 @@ install: all
|
||||||
sed "s/VERSION/${VERSION}/g" < ../dwm.1 > ${DESTDIR}${MANPREFIX}/man1/dwm.1
|
sed "s/VERSION/${VERSION}/g" < ../dwm.1 > ${DESTDIR}${MANPREFIX}/man1/dwm.1
|
||||||
chmod 644 ${DESTDIR}${MANPREFIX}/man1/dwm.1
|
chmod 644 ${DESTDIR}${MANPREFIX}/man1/dwm.1
|
||||||
|
|
||||||
|
desktopfile:
|
||||||
|
full_path=/usr/share/xsessions/dwm-anas.desktop
|
||||||
|
mkdir -p /usr/share/xsessions
|
||||||
|
cat <<EOT >> ${full_path}
|
||||||
|
[Desktop Entry]
|
||||||
|
Type=XSession
|
||||||
|
Exec=/usr/local/bin/dwm
|
||||||
|
DesktopNames=dwm-anas
|
||||||
|
Name=dwm-anas
|
||||||
|
Comment=Anas Elgarhy dwm fork, with a lot of beautiful patches
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
rm -f ${DESTDIR}${PREFIX}/bin/dwm\
|
rm -f ${DESTDIR}${PREFIX}/bin/dwm\
|
||||||
${DESTDIR}${MANPREFIX}/man1/dwm.1
|
${DESTDIR}${MANPREFIX}/man1/dwm.1
|
||||||
|
|
|
@ -164,7 +164,7 @@ static Keychord keychords[] = {
|
||||||
{1, {{MODKEY|ShiftMask, XK_x}}, spawn, SHCMD("betterlockscreen -l dim") },
|
{1, {{MODKEY|ShiftMask, XK_x}}, spawn, SHCMD("betterlockscreen -l dim") },
|
||||||
{1, {{0, XF86XK_Suspend}}, spawn, SHCMD("betterlockscreen -l dim") },
|
{1, {{0, XF86XK_Suspend}}, spawn, SHCMD("betterlockscreen -l dim") },
|
||||||
// Kill dwm (super + shift + alt + q)
|
// Kill dwm (super + shift + alt + q)
|
||||||
{1, {{MODKEY|ShiftMask|Mod1Mask, XK_q}}, quit, {0} },
|
// {1, {{MODKEY|ShiftMask|Mod1Mask, XK_q}}, quit, {0} },
|
||||||
};
|
};
|
||||||
|
|
||||||
/* button definitions */
|
/* button definitions */
|
||||||
|
|
Loading…
Reference in a new issue