Update stuff #6

Merged
anas-elgarhy merged 6 commits from update-stuff into fix-freez-issue 2022-07-28 07:36:58 +00:00
2 changed files with 12 additions and 1 deletions
Showing only changes of commit bf3ce283ca - Show all commits

View file

@ -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

View file

@ -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 */