From 53da160f0ab2626637d5fd2481dff6b66ad6a950 Mon Sep 17 00:00:00 2001 From: Anas Elgarhy Date: Thu, 11 May 2023 14:04:24 +0300 Subject: [PATCH] [update] Change the binary file name from `yo-dwm` to `archy-dwm` --- .idea/.gitignore | 8 ----- .idea/.name | 1 - .idea/discord.xml | 7 ---- .idea/inspectionProfiles/Project_Default.xml | 6 ---- .idea/misc.xml | 7 ---- .idea/modules.xml | 8 ----- .idea/runConfigurations/install.xml | 8 ----- .idea/vcs.xml | 6 ---- .idea/yo-dwm.iml | 2 -- Makefile | 36 ++++++++++---------- yo-dwm.1 => archy-dwm.1 | 0 src/{yo_dwm.c => archy_dwm.c} | 2 +- src/{yo_dwm.h => archy_dwm.h} | 0 src/config.h | 2 +- src/keys/functions.h | 2 +- src/keys/keys.h | 2 +- src/layouts/centeredmaster.c | 2 +- src/layouts/fibonacci.c | 2 +- src/layouts/grid.c | 2 +- src/layouts/monocle.c | 2 +- src/layouts/tile.c | 2 +- src/movestack.c | 2 +- 22 files changed, 28 insertions(+), 81 deletions(-) delete mode 100644 .idea/.gitignore delete mode 100644 .idea/.name delete mode 100644 .idea/discord.xml delete mode 100644 .idea/inspectionProfiles/Project_Default.xml delete mode 100644 .idea/misc.xml delete mode 100644 .idea/modules.xml delete mode 100644 .idea/runConfigurations/install.xml delete mode 100644 .idea/vcs.xml delete mode 100644 .idea/yo-dwm.iml rename yo-dwm.1 => archy-dwm.1 (100%) rename src/{yo_dwm.c => archy_dwm.c} (99%) rename src/{yo_dwm.h => archy_dwm.h} (100%) diff --git a/.idea/.gitignore b/.idea/.gitignore deleted file mode 100644 index 13566b8..0000000 --- a/.idea/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -# Default ignored files -/shelf/ -/workspace.xml -# Editor-based HTTP Client requests -/httpRequests/ -# Datasource local storage ignored files -/dataSources/ -/dataSources.local.xml diff --git a/.idea/.name b/.idea/.name deleted file mode 100644 index 0889025..0000000 --- a/.idea/.name +++ /dev/null @@ -1 +0,0 @@ -yo_dwm \ No newline at end of file diff --git a/.idea/discord.xml b/.idea/discord.xml deleted file mode 100644 index d8e9561..0000000 --- a/.idea/discord.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - - \ No newline at end of file diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml deleted file mode 100644 index 973f941..0000000 --- a/.idea/inspectionProfiles/Project_Default.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml deleted file mode 100644 index 35746ae..0000000 --- a/.idea/misc.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml deleted file mode 100644 index 3ed3933..0000000 --- a/.idea/modules.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/.idea/runConfigurations/install.xml b/.idea/runConfigurations/install.xml deleted file mode 100644 index 312cc9d..0000000 --- a/.idea/runConfigurations/install.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml deleted file mode 100644 index 94a25f7..0000000 --- a/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/.idea/yo-dwm.iml b/.idea/yo-dwm.iml deleted file mode 100644 index f08604b..0000000 --- a/.idea/yo-dwm.iml +++ /dev/null @@ -1,2 +0,0 @@ - - \ No newline at end of file diff --git a/Makefile b/Makefile index 8c4e45d..020350c 100644 --- a/Makefile +++ b/Makefile @@ -3,15 +3,15 @@ include config.mk -SRC = src/drw.c src/yo_dwm.c src/util.c +SRC = src/drw.c src/archy_dwm.c src/util.c OBJ_DIR = build OBJ = ${SRC:%.c=$(OBJ_DIR)/%.o} -BUILD_DIR = ${OBJ_DIR}/yo-dwm +BUILD_DIR = ${OBJ_DIR}/archy-dwm all: options ${BUILD_DIR} options: - @echo yo-dwm build options: + @echo archy-dwm build options: @echo "CFLAGS = ${CFLAGS}" @echo "LDFLAGS = ${LDFLAGS}" @echo "CC = ${CC}" @@ -32,34 +32,34 @@ clean: rm -rf ${OBJ_DIR} dist: clean - mkdir -p yo-dwm_${VERSION} + mkdir -p archy-dwm_${VERSION} cp -R LICENSE Makefile README config.def.h config.mk \ - yo-dwm.1 drw.h util.h ${SRC} dwm.png transient.c yo-dwm_${VERSION} - tar -cf yo-dwm_${VERSION}.tar yo-dwm_${VERSION} - gzip yo-dwm_${VERSION}.tar - rm -rf yo-dwm_${VERSION} + archy-dwm.1 drw.h util.h ${SRC} dwm.png transient.c archy-dwm_${VERSION} + tar -cf archy-dwm_${VERSION}.tar archy-dwm_${VERSION} + gzip archy-dwm_${VERSION}.tar + rm -rf archy-dwm_${VERSION} install: all mkdir -p ${DESTDIR}${PREFIX}/bin cp -f ${BUILD_DIR} ${DESTDIR}${PREFIX}/bin - chmod 755 ${DESTDIR}${PREFIX}/bin/yo-dwm + chmod 755 ${DESTDIR}${PREFIX}/bin/archy-dwm mkdir -p ${DESTDIR}${MANPREFIX}/man1 - sed "s/VERSION/${VERSION}/g" < yo-dwm.1 > ${DESTDIR}${MANPREFIX}/man1/yo-dwm.1 - chmod 644 ${DESTDIR}${MANPREFIX}/man1/yo-dwm.1 + sed "s/VERSION/${VERSION}/g" < archy-dwm.1 > ${DESTDIR}${MANPREFIX}/man1/archy-dwm.1 + chmod 644 ${DESTDIR}${MANPREFIX}/man1/archy-dwm.1 desktop: - full_path=/usr/share/xsessions/yo-dwm.desktop + full_path=/usr/share/xsessions/archy-dwm.desktop mkdir -p /usr/share/xsessions cat <> ${full_path} [Desktop Entry] Type=XSession - Exec=/usr/local/bin/yo-dwm - DesktopNames=yo-dwm - Name=yo-dwm - Comment=Anas Elgarhy's dwm fork, with a lot of beautiful patches + Exec=/usr/local/bin/archy-dwm + DesktopNames=archy-dwm + Name=archy-dwm + Comment="A dynamic window manager for X" uninstall: - rm -f ${DESTDIR}${PREFIX}/bin/yo-dwm \ - ${DESTDIR}${MANPREFIX}/man1/yo-dwm.1 + rm -f ${DESTDIR}${PREFIX}/bin/archy-dwm \ + ${DESTDIR}${MANPREFIX}/man1/archy-dwm.1 .PHONY: all options clean dist install uninstall diff --git a/yo-dwm.1 b/archy-dwm.1 similarity index 100% rename from yo-dwm.1 rename to archy-dwm.1 diff --git a/src/yo_dwm.c b/src/archy_dwm.c similarity index 99% rename from src/yo_dwm.c rename to src/archy_dwm.c index 3f11175..f3640ea 100644 --- a/src/yo_dwm.c +++ b/src/archy_dwm.c @@ -44,7 +44,7 @@ #include "drw.h" #include "util.h" -#include "yo_dwm.h" +#include "archy_dwm.h" /* macros */ #define SYSTEM_TRAY_REQUEST_DOCK 0 diff --git a/src/yo_dwm.h b/src/archy_dwm.h similarity index 100% rename from src/yo_dwm.h rename to src/archy_dwm.h diff --git a/src/config.h b/src/config.h index 8524276..c0c10ac 100644 --- a/src/config.h +++ b/src/config.h @@ -26,7 +26,7 @@ static const char dmenufont[] = "monospace:size=8"; #endif #include "colors/dracula.h" -#include "yo_dwm.h" +#include "archy_dwm.h" // Autostart programs static const char *const autostart[] = { diff --git a/src/keys/functions.h b/src/keys/functions.h index 4eb40e5..f9a98e4 100644 --- a/src/keys/functions.h +++ b/src/keys/functions.h @@ -5,7 +5,7 @@ #ifndef FUNCTIONS_H #define FUNCTIONS_H -#include "../yo_dwm.h" +#include "../archy_dwm.h" static void spawn(const Arg *arg); diff --git a/src/keys/keys.h b/src/keys/keys.h index 6b19e97..8b61f1c 100644 --- a/src/keys/keys.h +++ b/src/keys/keys.h @@ -1,7 +1,7 @@ #ifndef KEYS_H #define KEYS_H -#include "../yo_dwm.h" +#include "../archy_dwm.h" #include typedef struct { diff --git a/src/layouts/centeredmaster.c b/src/layouts/centeredmaster.c index 89c0292..c966001 100644 --- a/src/layouts/centeredmaster.c +++ b/src/layouts/centeredmaster.c @@ -1,4 +1,4 @@ -#include "../yo_dwm.h" +#include "../archy_dwm.h" #include "../util.h" void diff --git a/src/layouts/fibonacci.c b/src/layouts/fibonacci.c index 7fd95fd..4662474 100644 --- a/src/layouts/fibonacci.c +++ b/src/layouts/fibonacci.c @@ -1,4 +1,4 @@ -#include "../yo_dwm.h" +#include "../archy_dwm.h" void fibonacci(Monitor *mon, int s) { diff --git a/src/layouts/grid.c b/src/layouts/grid.c index 44df80e..e70d38e 100644 --- a/src/layouts/grid.c +++ b/src/layouts/grid.c @@ -1,4 +1,4 @@ -#include "../yo_dwm.h" +#include "../archy_dwm.h" void grid(Monitor *m) { diff --git a/src/layouts/monocle.c b/src/layouts/monocle.c index 3bb956f..e7f5492 100644 --- a/src/layouts/monocle.c +++ b/src/layouts/monocle.c @@ -1,4 +1,4 @@ -#include "../yo_dwm.h" +#include "../archy_dwm.h" #include "../util.h" void diff --git a/src/layouts/tile.c b/src/layouts/tile.c index 2df3c54..e9821e1 100644 --- a/src/layouts/tile.c +++ b/src/layouts/tile.c @@ -1,4 +1,4 @@ -#include "../yo_dwm.h" +#include "../archy_dwm.h" #include "../util.h" void diff --git a/src/movestack.c b/src/movestack.c index 1e80328..e59fe60 100644 --- a/src/movestack.c +++ b/src/movestack.c @@ -1,4 +1,4 @@ -#include "yo_dwm.h" +#include "archy_dwm.h" #include "util.h" static void