Update config to use i3menu on Mod1+p, update Makefile to compile/install i3lock and i3menu

This commit is contained in:
Michael Stapelberg 2009-03-11 19:09:17 +01:00
parent 969d6f202e
commit d8ac364749
2 changed files with 9 additions and 0 deletions

View File

@ -1,6 +1,7 @@
UNAME=$(shell uname) UNAME=$(shell uname)
DEBUG=1 DEBUG=1
INSTALL=install INSTALL=install
MAKE=make
CFLAGS += -std=c99 CFLAGS += -std=c99
CFLAGS += -pipe CFLAGS += -pipe
@ -39,12 +40,16 @@ src/%.o: src/%.c ${HEADERS}
all: ${FILES} all: ${FILES}
$(CC) -o i3 ${FILES} $(LDFLAGS) $(CC) -o i3 ${FILES} $(LDFLAGS)
$(MAKE) -C src/i3lock
$(MAKE) -C src/i3menu
install: all install: all
$(INSTALL) -d -m 0755 $(DESTDIR)/usr/bin $(INSTALL) -d -m 0755 $(DESTDIR)/usr/bin
$(INSTALL) -d -m 0755 $(DESTDIR)/etc/i3 $(INSTALL) -d -m 0755 $(DESTDIR)/etc/i3
$(INSTALL) -m 0755 i3 $(DESTDIR)/usr/bin/ $(INSTALL) -m 0755 i3 $(DESTDIR)/usr/bin/
test -e $(DESTDIR)/etc/i3/config || $(INSTALL) -m 0644 i3.config $(DESTDIR)/etc/i3/config test -e $(DESTDIR)/etc/i3/config || $(INSTALL) -m 0644 i3.config $(DESTDIR)/etc/i3/config
$(MAKE) -C src/i3lock install
$(MAKE) -C src/i3menu install
clean: clean:
rm -f src/*.o rm -f src/*.o

View File

@ -72,5 +72,9 @@ bind Mod1+Shift+19 m10
# Mod1+Enter starts a new terminal # Mod1+Enter starts a new terminal
bind Mod1+36 exec /usr/bin/urxvt bind Mod1+36 exec /usr/bin/urxvt
# Mod1+p starts dmenu and launches the selected application
# for now, we dont have an own launcher
bind Mod1+55 exec /usr/local/bin/dmenu_run
# Mod1+Shift+r restarts i3 inplace # Mod1+Shift+r restarts i3 inplace
bind Mod1+Shift+27 restart bind Mod1+Shift+27 restart