st: 0.7 -> 0.8
This commit is contained in:
parent
cc4677c36e
commit
ce6e336842
@ -5,14 +5,14 @@ with stdenv.lib;
|
||||
|
||||
let patches' = if patches == null then [] else patches;
|
||||
in stdenv.mkDerivation rec {
|
||||
name = "st-0.7";
|
||||
name = "st-0.8";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://dl.suckless.org/st/${name}.tar.gz";
|
||||
sha256 = "f7870d906ccc988926eef2cc98950a99cc78725b685e934c422c03c1234e6000";
|
||||
sha256 = "0xkmb7f1qq01ny1667c7bkf2zi3h4ryc6zpml22ccrkxs0h3jdbp";
|
||||
};
|
||||
|
||||
patches = patches' ++ [ ./st-fix-deletekey.patch ];
|
||||
patches = patches';
|
||||
|
||||
configFile = optionalString (conf!=null) (writeText "config.def.h" conf);
|
||||
preBuild = optionalString (conf!=null) "cp ${configFile} config.def.h";
|
||||
|
@ -1,15 +0,0 @@
|
||||
diff --git a/config.def.h b/config.def.h
|
||||
index 1896246..b41747f 100644
|
||||
--- a/config.def.h
|
||||
+++ b/config.def.h
|
||||
@@ -315,8 +315,8 @@ static Key key[] = {
|
||||
{ XK_Delete, ControlMask, "\033[3;5~", +1, 0, 0},
|
||||
{ XK_Delete, ShiftMask, "\033[2K", -1, 0, 0},
|
||||
{ XK_Delete, ShiftMask, "\033[3;2~", +1, 0, 0},
|
||||
- { XK_Delete, XK_ANY_MOD, "\033[P", -1, 0, 0},
|
||||
- { XK_Delete, XK_ANY_MOD, "\033[3~", +1, 0, 0},
|
||||
+ { XK_Delete, XK_ANY_MOD, "\033[P", +1, 0, 0},
|
||||
+ { XK_Delete, XK_ANY_MOD, "\033[3~", -1, 0, 0},
|
||||
{ XK_BackSpace, XK_NO_MOD, "\177", 0, 0, 0},
|
||||
{ XK_BackSpace, Mod1Mask, "\033\177", 0, 0, 0},
|
||||
{ XK_Home, ShiftMask, "\033[2J", 0, -1, 0},
|
Loading…
Reference in New Issue
Block a user