From d662f98d89d3e813344e9bdb64e5704caf3b9dc2 Mon Sep 17 00:00:00 2001 From: Anselm R Garbe Date: Wed, 11 Jun 2008 14:10:18 +0100 Subject: added nsz' patch --- config.def.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index 6a6f7be..215d6af 100644 --- a/config.def.h +++ b/config.def.h @@ -40,6 +40,9 @@ static Layout layouts[] = { { MODKEY|ShiftMask, KEY, tag, TAG }, \ { MODKEY|ControlMask|ShiftMask, KEY, toggletag, TAG }, +/* helper for spawning shell commands */ +#define SHCMD(cmd) { .v = (char*[]){ "/bin/sh", "-c", cmd, NULL } } + static Key keys[] = { /* modifier key function argument */ { MODKEY, XK_p, spawn, {.v = (char *[]){"dmenu_run", "-fn", FONT, "-nb", NORMBGCOLOR, "-nf", NORMFGCOLOR, "-sb", SELBGCOLOR, "-sf", SELFGCOLOR, NULL}} }, -- cgit 1.4.1-2-gfad0 lass='sub'>mirror of ranger - a simple, vim-like file managerakspecs <akspecs@tilde.institute>
summary refs log tree commit diff stats
path: root/ranger/gui/widgets/pager.py
blob: 7a93a2d63109eb0b147b7b5e97cc85c23cc27fed (plain) (blame)
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
62
63
64
65
66
67
68
69
70
71