about summary refs log tree commit diff
path: root/dhex
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>1970-01-01 03:00:00 +0300
committerAzat Bahawi <azat@bahawi.net>2022-09-20 11:51:54 +0300
commit38bab29776950ac2364ed64195b89887717c33de (patch)
treeedaaf366a55dbe96d268019124536bc504c64e87 /dhex
chore: init HEAD master
Diffstat (limited to '')
-rw-r--r--dhex/.dhexrc43
-rwxr-xr-xdhex/@install7
2 files changed, 50 insertions, 0 deletions
diff --git a/dhex/.dhexrc b/dhex/.dhexrc
new file mode 100644
index 0000000..c7209c0
--- /dev/null
+++ b/dhex/.dhexrc
@@ -0,0 +1,43 @@
+#DHEXCOLORSCHEME
+#VERSION 0
+#possible colors are: BLACK,RED,GREEN,YELLOW,BLUE,MAGENTA,CYAN,WHITE
+#possible extra flags are: UNDERLINE,REVERSE,BLINK,DIM,BOLD
+
+BRACKETS:       FG=BLACK,BG=BLACK,BOLD
+HEXFIELD:       FG=WHITE,BG=BLACK
+INPUT:          FG=WHITE,BG=RED,BOLD
+CURSOR:         FG=WHITE,BG=BLACK
+TEXT:           FG=LIGHTCYAN,BG=BLACK,BOLD
+MENU_NORMAL:    FG=LIGHTBLUE,BG=BLACK
+MENU_HIGHLIGHT: FG=LIGHTBLUE,BG=BLUE
+MENU_HOTKEY:    FG=CYAN,BG=BLACK
+MENU_HOTKEY_HI: FG=CYAN,BG=BLUE
+FRAME:          FG=BLUE,BG=BLACK
+NORMAL_DIFF:    FG=YELLOW,BG=BLACK,BOLD
+CURSOR_DIFF:    FG=YELLOW,BG=WHITE,BOLD
+HEADLINE:       FG=BLUE,BG=BLACK
+HEADER:         FG=BLACK,BG=CYAN
+
+KEYESC:1b
+KEYF1:1b 4f 50
+KEYF2:1b 4f 51
+KEYF3:1b 4f 52
+KEYF4:1b 4f 53
+KEYF5:1b 5b 31 35 7e
+KEYF6:1b 5b 31 37 7e
+KEYF7:1b 5b 31 38 7e
+KEYF8:1b 5b 31 39 7e
+KEYF9:1b 5b 32 30 7e
+KEYF10:1b 5b 32 31 7e
+KEYBACKSPACE:7f
+KEYDEL:1b 5b 50
+KEYENTER:0a
+KEYTAB:09
+KEYUP:1b 5b 41
+KEYDOWN:1b 5b 42
+KEYRIGHT:1b 5b 43
+KEYLEFT:1b 5b 44
+KEYPGUP:1b 5b 35 7e
+KEYPGDOWN:1b 5b 36 7e
+KEYHOME:1b 5b 48
+KEYEND:1b 5b 34 7e
diff --git a/dhex/@install b/dhex/@install
new file mode 100755
index 0000000..83bc7f9
--- /dev/null
+++ b/dhex/@install
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+stow \
+    --target="${HOME}" \
+    --ignore="^@.*" \
+    --verbose \
+    dhex

Consider giving Nix/NixOS a try! <3