summary refs log tree commit diff stats
path: root/user/xresources/.xresources
diff options
context:
space:
mode:
authorAlan Pearce2020-02-18 11:25:54 +0100
committerAlan Pearce2020-02-18 11:25:54 +0100
commita7b92b9b725b23e9063196824976f0d13f70290d (patch)
tree87a74d7ff78fd30eb218e4807fbc1efeab3f7c4b /user/xresources/.xresources
parent2418ce1a45525f273b0c984d6237ee8d4bc30ee6 (diff)
downloadnixfiles-a7b92b9b725b23e9063196824976f0d13f70290d.tar.lz
nixfiles-a7b92b9b725b23e9063196824976f0d13f70290d.tar.zst
nixfiles-a7b92b9b725b23e9063196824976f0d13f70290d.zip
xresources: enable opening links in browser
Diffstat (limited to 'user/xresources/.xresources')
-rw-r--r--user/xresources/.xresources/main6
1 files changed, 5 insertions, 1 deletions
diff --git a/user/xresources/.xresources/main b/user/xresources/.xresources/main
index 6a9a4898..e83e37e9 100644
--- a/user/xresources/.xresources/main
+++ b/user/xresources/.xresources/main
@@ -46,8 +46,12 @@ xterm*eightBitMeta:        false
 xterm*decTerminalId:       vt340
 xterm*numColorRegisters:   256
 
+xterm*charClass: 33:48,36-47:48,58-59:48,61:48,63-64:48,95:48,126:48
+xterm*on3Clicks: regex ([[:alpha:]]+://)?([[:alnum:]!#+,./=?@_~-]|(%[[:xdigit:]][[:xdigit:]]))+
+
 xterm*VT100.Translations: #override \
                  Ctrl Shift <Key>V:    insert-selection(CLIPBOARD) \n\
                  Ctrl Shift <Key>C:    copy-selection(CLIPBOARD) \n\
                  Alt  Shift <Key>V:    insert-selection(CLIPBOARD) \n\
-                 Alt  Shift <Key>C:    copy-selection(CLIPBOARD)
+                 Alt  Shift <Key>C:    copy-selection(CLIPBOARD) \n\
+                 Shift <Btn1Up>:       exec-formatted("$BROWSER '%t'", PRIMARY)