From ea034547ca5666f97118f23c414399ca2f9aa28d Mon Sep 17 00:00:00 2001 From: Samuel Fadel Date: Mon, 9 Jun 2014 22:01:43 -0300 Subject: Commented ununsed variable line. Small fixes to Makefile. --- Makefile | 7 +++++-- src/T.c | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 6f1ad27..3b0eb6a 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,5 @@ -PREFIX = /usr +DESTDIR = / +PREFIX = usr INCS = `pkg-config --cflags gtk+-2.0 vte` LIBS = `pkg-config --libs gtk+-2.0 vte` @@ -26,7 +27,7 @@ clean: @echo cleaning @rm -f T ${OBJ} T-${VER}.tar.bz2 -dist: PKGBUILD +dist: clean @echo creating distributable tarball @mkdir T-${VER} @cp -R src/ T.desktop Makefile T-${VER} @@ -38,3 +39,5 @@ install: all @install -D -m755 T ${DESTDIR}${PREFIX}/bin/T @echo installing desktop file in ${DESTDIR}${PREFIX}/share/applications @install -D -m644 T.desktop ${DESTDIR}${PREFIX}/share/applications/T.desktop + +.PHONY: all clean dist install diff --git a/src/T.c b/src/T.c index e06265a..fd1859e 100644 --- a/src/T.c +++ b/src/T.c @@ -61,7 +61,7 @@ static gboolean terminal_key_press_callback(GtkWidget *widget, GdkEvent *event, gpointer data) { GdkEventKey *key_event = (GdkEventKey *) event; - VteTerminal *terminal = (VteTerminal *) widget; + /* VteTerminal *terminal = (VteTerminal *) widget; */ if ((key_event->state & GDK_SHIFT_MASK) == 0 || (key_event->state & GDK_CONTROL_MASK) == 0) -- cgit v1.2.3 From 6541a7c3579c204e8613d9a57fdd9050478281c6 Mon Sep 17 00:00:00 2001 From: Samuel Fadel Date: Mon, 9 Jun 2014 22:40:33 -0300 Subject: Saner defaults in config.h. --- src/config.h | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/src/config.h b/src/config.h index 1bcc7a4..0a348c4 100644 --- a/src/config.h +++ b/src/config.h @@ -23,34 +23,34 @@ #define CONFIG_MIN_HEIGHT 5 /* Font name */ -#define CONFIG_FONT_NAME "Terminus 9" +#define CONFIG_FONT_NAME "Monospace 9" /* Color palette definition */ /* PALETTE_SIZE must be 8, 16, 24 or between 25 and 255, inclusive */ #define CONFIG_PALETTE_SIZE 16 static const char *CONFIG_COLOR_PALETTE[CONFIG_PALETTE_SIZE] = { - "#000000", /* 0 Black */ - "#a5372e", /* 1 Red */ - "#4a663c", /* 2 Green */ - "#7c5618", /* 3 Yellow */ - "#566060", /* 4 Blue */ - "#8e4948", /* 5 Magenta */ - "#6d5b42", /* 6 Cyan */ - "#8d8d8d", /* 7 White */ - "#2b2b2b", /* 8 Black */ - "#e06c5c", /* 9 Red */ - "#7b996c", /* 10 Green */ - "#b38849", /* 11 Yellow */ - "#889393", /* 12 Blue */ - "#c67c78", /* 13 Magenta */ - "#a28d73", /* 14 Cyan */ - "#c6c6c6", /* 15 White */ + "#000000000000", /* 0 Black */ + "#959551513a3a", /* 1 Red */ + "#3a3a95955151", /* 2 Green */ + "#7e7e95953a3a", /* 3 Yellow */ + "#3d3d55558d8d", /* 4 Blue */ + "#95953a3a7e7e", /* 5 Magenta */ + "#3a3a7e7e9595", /* 6 Cyan */ + "#d9d9d9d9d9d9", /* 7 White */ + "#444444444444", /* 8 Black */ + "#c1c178786060", /* 9 Red */ + "#6060c1c17878", /* 10 Green */ + "#a9a9c1c16060", /* 11 Yellow */ + "#5f5f7a7ababa", /* 12 Blue */ + "#c1c16060a9a9", /* 13 Magenta */ + "#6060a9a9c1c1", /* 14 Cyan */ + "#ffffffffffff", /* 15 White */ }; /* Foreground and background. */ -#define CONFIG_FOREGROUND_COLOR "#757575" /* COLOR_PALETTE[7] */ -#define CONFIG_BACKGROUND_COLOR "#151515" /* COLOR_PALETTE[0] */ +#define CONFIG_FOREGROUND_COLOR "#d9d9e6e6f2f2" /* COLOR_PALETTE[7] */ +#define CONFIG_BACKGROUND_COLOR "#0d0d19192626" /* COLOR_PALETTE[0] */ /* Scrollback lines (0 means disabled; negative means "infinite") */ #define CONFIG_SCROLLBACK_LINES 2000 -- cgit v1.2.3