Last active
April 4, 2020 07:37
-
-
Save saidone75/333e6bd70592b9c147f3c0c9a44bdd89 to your computer and use it in GitHub Desktop.
Change Mod1 key to the "OS" key, Firefox on tag 4, install locally, no manual
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -u dwm.orig/config.def.h dwm/config.def.h | |
--- dwm.orig/config.def.h 2020-04-04 08:58:09.048815996 +0200 | |
+++ dwm/config.def.h 2020-04-04 09:02:40.895221417 +0200 | |
@@ -28,7 +28,8 @@ | |
*/ | |
/* class instance title tags mask isfloating monitor */ | |
{ "Gimp", NULL, NULL, 0, 1, -1 }, | |
- { "Firefox", NULL, NULL, 1 << 8, 0, -1 }, | |
+ { "Firefox", NULL, NULL, 1 << 3, 0, -1 }, | |
+ { "Launcher", NULL, NULL, 1 << 3, 1, -1 }, | |
}; | |
/* layout(s) */ | |
@@ -44,7 +45,7 @@ | |
}; | |
/* key definitions */ | |
-#define MODKEY Mod1Mask | |
+#define MODKEY Mod4Mask | |
#define TAGKEYS(KEY,TAG) \ | |
{ MODKEY, KEY, view, {.ui = 1 << TAG} }, \ | |
{ MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \ | |
diff -u dwm.orig/config.mk dwm/config.mk | |
--- dwm.orig/config.mk 2020-04-04 08:58:09.048815996 +0200 | |
+++ dwm/config.mk 2020-04-04 08:58:32.663635351 +0200 | |
@@ -4,7 +4,7 @@ | |
# Customize below to fit your system | |
# paths | |
-PREFIX = /usr/local | |
+PREFIX = ~ | |
MANPREFIX = ${PREFIX}/share/man | |
X11INC = /usr/X11R6/include | |
Common subdirectories: dwm.orig/.git and dwm/.git | |
diff -u dwm.orig/Makefile dwm/Makefile | |
--- dwm.orig/Makefile 2020-04-04 08:58:09.044816196 +0200 | |
+++ dwm/Makefile 2020-04-04 08:58:32.663635351 +0200 | |
@@ -40,9 +40,9 @@ | |
mkdir -p ${DESTDIR}${PREFIX}/bin | |
cp -f dwm ${DESTDIR}${PREFIX}/bin | |
chmod 755 ${DESTDIR}${PREFIX}/bin/dwm | |
- 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}${MANPREFIX}/man1 | |
+ #sed "s/VERSION/${VERSION}/g" < dwm.1 > ${DESTDIR}${MANPREFIX}/man1/dwm.1 | |
+ #chmod 644 ${DESTDIR}${MANPREFIX}/man1/dwm.1 | |
uninstall: | |
rm -f ${DESTDIR}${PREFIX}/bin/dwm\ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment