Update config to use i3menu on Mod1+p, update Makefile to compile/install i3lock and i3menu
This commit is contained in:
parent
969d6f202e
commit
d8ac364749
5
Makefile
5
Makefile
|
@ -1,6 +1,7 @@
|
|||
UNAME=$(shell uname)
|
||||
DEBUG=1
|
||||
INSTALL=install
|
||||
MAKE=make
|
||||
|
||||
CFLAGS += -std=c99
|
||||
CFLAGS += -pipe
|
||||
|
@ -39,12 +40,16 @@ src/%.o: src/%.c ${HEADERS}
|
|||
|
||||
all: ${FILES}
|
||||
$(CC) -o i3 ${FILES} $(LDFLAGS)
|
||||
$(MAKE) -C src/i3lock
|
||||
$(MAKE) -C src/i3menu
|
||||
|
||||
install: all
|
||||
$(INSTALL) -d -m 0755 $(DESTDIR)/usr/bin
|
||||
$(INSTALL) -d -m 0755 $(DESTDIR)/etc/i3
|
||||
$(INSTALL) -m 0755 i3 $(DESTDIR)/usr/bin/
|
||||
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:
|
||||
rm -f src/*.o
|
||||
|
|
|
@ -72,5 +72,9 @@ bind Mod1+Shift+19 m10
|
|||
# Mod1+Enter starts a new terminal
|
||||
bind Mod1+36 exec /usr/bin/urxvt
|
||||
|
||||
# Mod1+p starts dmenu and launches the selected application
|
||||
# for now, we don’t have an own launcher
|
||||
bind Mod1+55 exec /usr/local/bin/dmenu_run
|
||||
|
||||
# Mod1+Shift+r restarts i3 inplace
|
||||
bind Mod1+Shift+27 restart
|
||||
|
|
Loading…
Reference in New Issue