This commit is contained in:
Anas Elgarhy 2022-07-28 05:29:35 +02:00
parent 8eafb095d2
commit bf3ce283ca
2 changed files with 12 additions and 1 deletions

View file

@ -44,6 +44,17 @@ install: all
sed "s/VERSION/${VERSION}/g" < ../dwm.1 > ${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:
rm -f ${DESTDIR}${PREFIX}/bin/dwm\
${DESTDIR}${MANPREFIX}/man1/dwm.1

View file

@ -164,7 +164,7 @@ static Keychord keychords[] = {
{1, {{MODKEY|ShiftMask, XK_x}}, spawn, SHCMD("betterlockscreen -l dim") },
{1, {{0, XF86XK_Suspend}}, spawn, SHCMD("betterlockscreen -l dim") },
// Kill dwm (super + shift + alt + q)
{1, {{MODKEY|ShiftMask|Mod1Mask, XK_q}}, quit, {0} },
// {1, {{MODKEY|ShiftMask|Mod1Mask, XK_q}}, quit, {0} },
};
/* button definitions */