aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Becker <ampernand@gmail.com>2016-10-17 10:36:00 -0400
committerJeff Becker <ampernand@gmail.com>2016-10-17 10:36:00 -0400
commit062bb790f396042c6b08879213ef0aa6761339c3 (patch)
tree475ffc99ca0ce33f88a201c177b9fafb0665a525
parentd0c2ee3bcc98fbe16e9d697197fef63939af2b8a (diff)
downloadwterm-062bb790f396042c6b08879213ef0aa6761339c3.zip
wterm-062bb790f396042c6b08879213ef0aa6761339c3.tar.gz
wterm-062bb790f396042c6b08879213ef0aa6761339c3.tar.bz2
updates
-rw-r--r--Makefile5
-rw-r--r--README29
-rw-r--r--config.def.h2
-rw-r--r--config.mk3
4 files changed, 20 insertions, 19 deletions
diff --git a/Makefile b/Makefile
index 7e22906..42c7cf0 100644
--- a/Makefile
+++ b/Makefile
@@ -51,3 +51,8 @@ wterm: $(OBJECTS)
clean:
rm -f $(OBJECTS) $(HDRS) $(WAYLAND_SRC)
+
+install: wterm
+ tic -s wterm.info
+ mkdir -p $(PREFIX)/bin/
+ cp wterm $(PREFIX)/bin/
diff --git a/README b/README
index b38c88b..f93a36e 100644
--- a/README
+++ b/README
@@ -1,31 +1,24 @@
-st - simple terminal
+wterm - xterm for wayland
--------------------
-st is a simple terminal emulator for X which sucks less.
+
+wterm is an xterm replacement based on st, a simple terminal emulator for X
+originally made by suckless.
Requirements
------------
-In order to build st you need the Xlib header files.
-
-Installation
-------------
-Edit config.mk to match your local setup (st is installed into
-the /usr/local namespace by default).
+ fontconfig
+ wayland
+ xkbcommon
+ pixman
+ libdrm
-Afterwards enter the following command to build and install st (if
-necessary as root):
+Install
+--------
make clean install
-
-Running st
-----------
-If you did not install st with make clean install, you must compile
-the st terminfo entry with the following command:
-
- tic -s st.info
-
See the man page for additional details.
Credits
diff --git a/config.def.h b/config.def.h
index 4e3c1da..8c6f41c 100644
--- a/config.def.h
+++ b/config.def.h
@@ -70,7 +70,7 @@ static unsigned int cursorthickness = 2;
*/
/* TERM value */
-static char termname[] = "st-256color";
+static char termname[] = "wterm-256color";
static unsigned int tabspaces = 8;
diff --git a/config.mk b/config.mk
index 49d722b..7bdabb7 100644
--- a/config.mk
+++ b/config.mk
@@ -5,3 +5,6 @@ ENABLE_INTEL = 1
ENABLE_NOUVEAU = 1
CFLAGS = -DVERSION=\"$(VERSION)\" -D_XOPEN_SOURCE=700
+
+# this can be changed to /usr/local
+PREFIX=$(HOME)