[update] Change the binary file name from yo-dwm to archy-dwm
				
					
				
			This commit is contained in:
		
							parent
							
								
									7baddde619
								
							
						
					
					
						commit
						53da160f0a
					
				
					 22 changed files with 28 additions and 81 deletions
				
			
		
							
								
								
									
										8
									
								
								.idea/.gitignore
									
										
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								.idea/.gitignore
									
										
									
										generated
									
									
										vendored
									
									
								
							| 
						 | 
					@ -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
 | 
					 | 
				
			||||||
							
								
								
									
										1
									
								
								.idea/.name
									
										
									
										generated
									
									
									
								
							
							
						
						
									
										1
									
								
								.idea/.name
									
										
									
										generated
									
									
									
								
							| 
						 | 
					@ -1 +0,0 @@
 | 
				
			||||||
yo_dwm
 | 
					 | 
				
			||||||
							
								
								
									
										7
									
								
								.idea/discord.xml
									
										
									
										generated
									
									
									
								
							
							
						
						
									
										7
									
								
								.idea/discord.xml
									
										
									
										generated
									
									
									
								
							| 
						 | 
					@ -1,7 +0,0 @@
 | 
				
			||||||
<?xml version="1.0" encoding="UTF-8"?>
 | 
					 | 
				
			||||||
<project version="4">
 | 
					 | 
				
			||||||
  <component name="DiscordProjectSettings">
 | 
					 | 
				
			||||||
    <option name="show" value="PROJECT_FILES" />
 | 
					 | 
				
			||||||
    <option name="description" value="" />
 | 
					 | 
				
			||||||
  </component>
 | 
					 | 
				
			||||||
</project>
 | 
					 | 
				
			||||||
							
								
								
									
										6
									
								
								.idea/inspectionProfiles/Project_Default.xml
									
										
									
										generated
									
									
									
								
							
							
						
						
									
										6
									
								
								.idea/inspectionProfiles/Project_Default.xml
									
										
									
										generated
									
									
									
								
							| 
						 | 
					@ -1,6 +0,0 @@
 | 
				
			||||||
<component name="InspectionProjectProfileManager">
 | 
					 | 
				
			||||||
  <profile version="1.0">
 | 
					 | 
				
			||||||
    <option name="myName" value="Project Default" />
 | 
					 | 
				
			||||||
    <inspection_tool class="AndroidLintDuplicateStrings" enabled="true" level="WARNING" enabled_by_default="true" />
 | 
					 | 
				
			||||||
  </profile>
 | 
					 | 
				
			||||||
</component>
 | 
					 | 
				
			||||||
							
								
								
									
										7
									
								
								.idea/misc.xml
									
										
									
										generated
									
									
									
								
							
							
						
						
									
										7
									
								
								.idea/misc.xml
									
										
									
										generated
									
									
									
								
							| 
						 | 
					@ -1,7 +0,0 @@
 | 
				
			||||||
<?xml version="1.0" encoding="UTF-8"?>
 | 
					 | 
				
			||||||
<project version="4">
 | 
					 | 
				
			||||||
  <component name="CMakeWorkspace" PROJECT_DIR="$PROJECT_DIR$" />
 | 
					 | 
				
			||||||
  <component name="ComposerSettings">
 | 
					 | 
				
			||||||
    <execution />
 | 
					 | 
				
			||||||
  </component>
 | 
					 | 
				
			||||||
</project>
 | 
					 | 
				
			||||||
							
								
								
									
										8
									
								
								.idea/modules.xml
									
										
									
										generated
									
									
									
								
							
							
						
						
									
										8
									
								
								.idea/modules.xml
									
										
									
										generated
									
									
									
								
							| 
						 | 
					@ -1,8 +0,0 @@
 | 
				
			||||||
<?xml version="1.0" encoding="UTF-8"?>
 | 
					 | 
				
			||||||
<project version="4">
 | 
					 | 
				
			||||||
  <component name="ProjectModuleManager">
 | 
					 | 
				
			||||||
    <modules>
 | 
					 | 
				
			||||||
      <module fileurl="file://$PROJECT_DIR$/.idea/yo-dwm.iml" filepath="$PROJECT_DIR$/.idea/yo-dwm.iml" />
 | 
					 | 
				
			||||||
    </modules>
 | 
					 | 
				
			||||||
  </component>
 | 
					 | 
				
			||||||
</project>
 | 
					 | 
				
			||||||
							
								
								
									
										8
									
								
								.idea/runConfigurations/install.xml
									
										
									
										generated
									
									
									
								
							
							
						
						
									
										8
									
								
								.idea/runConfigurations/install.xml
									
										
									
										generated
									
									
									
								
							| 
						 | 
					@ -1,8 +0,0 @@
 | 
				
			||||||
<component name="ProjectRunConfigurationManager">
 | 
					 | 
				
			||||||
  <configuration default="false" name="install" type="MAKEFILE_TARGET_RUN_CONFIGURATION" factoryName="Makefile">
 | 
					 | 
				
			||||||
    <makefile filename="$PROJECT_DIR$/src/Makefile" target=" install clean" workingDirectory="$PROJECT_DIR$/src" arguments="">
 | 
					 | 
				
			||||||
      <envs />
 | 
					 | 
				
			||||||
    </makefile>
 | 
					 | 
				
			||||||
    <method v="2" />
 | 
					 | 
				
			||||||
  </configuration>
 | 
					 | 
				
			||||||
</component>
 | 
					 | 
				
			||||||
							
								
								
									
										6
									
								
								.idea/vcs.xml
									
										
									
										generated
									
									
									
								
							
							
						
						
									
										6
									
								
								.idea/vcs.xml
									
										
									
										generated
									
									
									
								
							| 
						 | 
					@ -1,6 +0,0 @@
 | 
				
			||||||
<?xml version="1.0" encoding="UTF-8"?>
 | 
					 | 
				
			||||||
<project version="4">
 | 
					 | 
				
			||||||
  <component name="VcsDirectoryMappings">
 | 
					 | 
				
			||||||
    <mapping directory="$PROJECT_DIR$" vcs="Git" />
 | 
					 | 
				
			||||||
  </component>
 | 
					 | 
				
			||||||
</project>
 | 
					 | 
				
			||||||
							
								
								
									
										2
									
								
								.idea/yo-dwm.iml
									
										
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								.idea/yo-dwm.iml
									
										
									
										generated
									
									
									
								
							| 
						 | 
					@ -1,2 +0,0 @@
 | 
				
			||||||
<?xml version="1.0" encoding="UTF-8"?>
 | 
					 | 
				
			||||||
<module classpath="CMake" type="CPP_MODULE" version="4" />
 | 
					 | 
				
			||||||
							
								
								
									
										36
									
								
								Makefile
									
										
									
									
									
								
							
							
						
						
									
										36
									
								
								Makefile
									
										
									
									
									
								
							| 
						 | 
					@ -3,15 +3,15 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
include config.mk
 | 
					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_DIR = build
 | 
				
			||||||
OBJ = ${SRC:%.c=$(OBJ_DIR)/%.o}
 | 
					OBJ = ${SRC:%.c=$(OBJ_DIR)/%.o}
 | 
				
			||||||
BUILD_DIR = ${OBJ_DIR}/yo-dwm
 | 
					BUILD_DIR = ${OBJ_DIR}/archy-dwm
 | 
				
			||||||
 | 
					
 | 
				
			||||||
all: options ${BUILD_DIR}
 | 
					all: options ${BUILD_DIR}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
options:
 | 
					options:
 | 
				
			||||||
	@echo yo-dwm build options:
 | 
						@echo archy-dwm build options:
 | 
				
			||||||
	@echo "CFLAGS   = ${CFLAGS}"
 | 
						@echo "CFLAGS   = ${CFLAGS}"
 | 
				
			||||||
	@echo "LDFLAGS  = ${LDFLAGS}"
 | 
						@echo "LDFLAGS  = ${LDFLAGS}"
 | 
				
			||||||
	@echo "CC       = ${CC}"
 | 
						@echo "CC       = ${CC}"
 | 
				
			||||||
| 
						 | 
					@ -32,34 +32,34 @@ clean:
 | 
				
			||||||
	rm -rf ${OBJ_DIR}
 | 
						rm -rf ${OBJ_DIR}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
dist: clean
 | 
					dist: clean
 | 
				
			||||||
	mkdir -p yo-dwm_${VERSION}
 | 
						mkdir -p archy-dwm_${VERSION}
 | 
				
			||||||
	cp -R LICENSE Makefile README config.def.h config.mk \
 | 
						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}
 | 
							archy-dwm.1 drw.h util.h ${SRC} dwm.png transient.c archy-dwm_${VERSION}
 | 
				
			||||||
	tar -cf yo-dwm_${VERSION}.tar yo-dwm_${VERSION}
 | 
						tar -cf archy-dwm_${VERSION}.tar archy-dwm_${VERSION}
 | 
				
			||||||
	gzip yo-dwm_${VERSION}.tar
 | 
						gzip archy-dwm_${VERSION}.tar
 | 
				
			||||||
	rm -rf yo-dwm_${VERSION}
 | 
						rm -rf archy-dwm_${VERSION}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
install: all
 | 
					install: all
 | 
				
			||||||
	mkdir -p ${DESTDIR}${PREFIX}/bin
 | 
						mkdir -p ${DESTDIR}${PREFIX}/bin
 | 
				
			||||||
	cp -f ${BUILD_DIR} ${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
 | 
						mkdir -p ${DESTDIR}${MANPREFIX}/man1
 | 
				
			||||||
	sed "s/VERSION/${VERSION}/g" < yo-dwm.1 > ${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/yo-dwm.1
 | 
						chmod 644 ${DESTDIR}${MANPREFIX}/man1/archy-dwm.1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
desktop:
 | 
					desktop:
 | 
				
			||||||
	full_path=/usr/share/xsessions/yo-dwm.desktop
 | 
						full_path=/usr/share/xsessions/archy-dwm.desktop
 | 
				
			||||||
	mkdir -p /usr/share/xsessions
 | 
						mkdir -p /usr/share/xsessions
 | 
				
			||||||
	cat <<EOT >> ${full_path}
 | 
						cat <<EOT >> ${full_path}
 | 
				
			||||||
	[Desktop Entry]
 | 
						[Desktop Entry]
 | 
				
			||||||
	Type=XSession
 | 
						Type=XSession
 | 
				
			||||||
	Exec=/usr/local/bin/yo-dwm
 | 
						Exec=/usr/local/bin/archy-dwm
 | 
				
			||||||
	DesktopNames=yo-dwm
 | 
						DesktopNames=archy-dwm
 | 
				
			||||||
	Name=yo-dwm
 | 
						Name=archy-dwm
 | 
				
			||||||
	Comment=Anas Elgarhy's dwm fork, with a lot of beautiful patches
 | 
						Comment="A dynamic window manager for X"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
uninstall:
 | 
					uninstall:
 | 
				
			||||||
	rm -f ${DESTDIR}${PREFIX}/bin/yo-dwm \
 | 
						rm -f ${DESTDIR}${PREFIX}/bin/archy-dwm \
 | 
				
			||||||
		${DESTDIR}${MANPREFIX}/man1/yo-dwm.1
 | 
							${DESTDIR}${MANPREFIX}/man1/archy-dwm.1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.PHONY: all options clean dist install uninstall
 | 
					.PHONY: all options clean dist install uninstall
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -44,7 +44,7 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "drw.h"
 | 
					#include "drw.h"
 | 
				
			||||||
#include "util.h"
 | 
					#include "util.h"
 | 
				
			||||||
#include "yo_dwm.h"
 | 
					#include "archy_dwm.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* macros */
 | 
					/* macros */
 | 
				
			||||||
#define SYSTEM_TRAY_REQUEST_DOCK    0
 | 
					#define SYSTEM_TRAY_REQUEST_DOCK    0
 | 
				
			||||||
| 
						 | 
					@ -26,7 +26,7 @@ static const char dmenufont[] = "monospace:size=8";
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "colors/dracula.h"
 | 
					#include "colors/dracula.h"
 | 
				
			||||||
#include "yo_dwm.h"
 | 
					#include "archy_dwm.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// Autostart programs
 | 
					// Autostart programs
 | 
				
			||||||
static const char *const autostart[] = {
 | 
					static const char *const autostart[] = {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -5,7 +5,7 @@
 | 
				
			||||||
#ifndef FUNCTIONS_H
 | 
					#ifndef FUNCTIONS_H
 | 
				
			||||||
#define FUNCTIONS_H
 | 
					#define FUNCTIONS_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "../yo_dwm.h"
 | 
					#include "../archy_dwm.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static void spawn(const Arg *arg);
 | 
					static void spawn(const Arg *arg);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,7 +1,7 @@
 | 
				
			||||||
#ifndef KEYS_H
 | 
					#ifndef KEYS_H
 | 
				
			||||||
#define KEYS_H
 | 
					#define KEYS_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "../yo_dwm.h"
 | 
					#include "../archy_dwm.h"
 | 
				
			||||||
#include <X11/X.h>
 | 
					#include <X11/X.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
typedef struct {
 | 
					typedef struct {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
#include "../yo_dwm.h"
 | 
					#include "../archy_dwm.h"
 | 
				
			||||||
#include "../util.h"
 | 
					#include "../util.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void
 | 
					void
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
#include "../yo_dwm.h"
 | 
					#include "../archy_dwm.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void
 | 
					void
 | 
				
			||||||
fibonacci(Monitor *mon, int s) {
 | 
					fibonacci(Monitor *mon, int s) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
#include "../yo_dwm.h"
 | 
					#include "../archy_dwm.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void
 | 
					void
 | 
				
			||||||
grid(Monitor *m) {
 | 
					grid(Monitor *m) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
#include "../yo_dwm.h"
 | 
					#include "../archy_dwm.h"
 | 
				
			||||||
#include "../util.h"
 | 
					#include "../util.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void
 | 
					void
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
#include "../yo_dwm.h"
 | 
					#include "../archy_dwm.h"
 | 
				
			||||||
#include "../util.h"
 | 
					#include "../util.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void
 | 
					void
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
#include "yo_dwm.h"
 | 
					#include "archy_dwm.h"
 | 
				
			||||||
#include "util.h"
 | 
					#include "util.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static void
 | 
					static void
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue