File: config.def.h

package info (click to toggle)
sacc 1.07-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 156 kB
  • sloc: ansic: 2,156; makefile: 85
file content (61 lines) | stat: -rw-r--r-- 1,810 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
/* See LICENSE file for copyright and license details. */

/* Screen UI navigation keys */
#define _key_lndown	'j' /* move one line down */
#define _key_entrydown	'J' /* move to next link */
#define _key_lnup	'k' /* move one line up */
#define _key_entryup	'K' /* move to previous link */
#define _key_pgdown	' ' /* move one screen down */
#define _key_pgup	'b' /* move one screen up */
#define _key_home	'g' /* move to the top of page */
#define _key_end	'G' /* move to the bottom of page */
#define _key_pgnext	'l' /* view highlighted item */
#define _key_pgprev	'h' /* view previous item */
#define _key_cururi	'U' /* print page uri */
#define _key_seluri	'u' /* print item uri */
#define _key_yankcur	'Y' /* yank page uri */
#define _key_yanksel	'y' /* yank item uri */
#define _key_fetch	'L' /* refetch current item */
#define _key_help	'?' /* display help */
#define _key_quit	'q' /* exit sacc */
#define _key_search	'/' /* search */
#define _key_searchnext	'n' /* search same string forward */
#define _key_searchprev	'N' /* search same string backward */

#ifdef NEED_CONF

/* default yanker */
static char *yanker = "xclip";

/* default plumber */
static char *plumber = "xdg-open";

/* modal plumber will make sacc wait for the plumber to return */
static int modalplumber = 0;

/* temporary directory template (must end with six 'X' characters) */
static char tmpdir[] = "/tmp/sacc-XXXXXX";

/* menu items strings */
static char *typestr[] = {
	[TXT] = "Txt+",
	[DIR] = "Dir+",
	[CSO] = "CSO|",
	[ERR] = "Err|",
	[MAC] = "Mac+",
	[DOS] = "DOS+",
	[UUE] = "UUE+",
	[IND] = "Ind+",
	[TLN] = "Tln|",
	[BIN] = "Bin+",
	[MIR] = "Mir+",
	[IBM] = "IBM|",
	[GIF] = "GIF+",
	[IMG] = "Img+",
	[URL] = "URL+",
	[INF] = "   |",
	[UNK] = " ? +",
	[BRK] = "!  |", /* malformed entry */
};

#endif /* NEED_CONF */