From 44a6c377b131e5f446b1658978a071f52151e449 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Tue, 2 Apr 2019 12:29:17 -0400 Subject: xdef example added --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 0cd9318..684d535 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ The [suckless terminal (st)](https://st.suckless.org/) with some additional features: -+ Compatibility with `Xresources` and `pywal` for dynamic colors. ++ Compatibility with `Xresources` and `pywal` for dynamic colors. The `Xdefaults` file shows a usage example. + Default [gruvbox](https://github.com/morhetz/gruvbox) colors otherwise. + Transparency/alpha, which is also adjustable from `~/.Xresources`. + Default font is system "mono" at 16pt, meaning the font will match your system font. -- cgit v1.2.3 From 7af042167431b4a8ac522b86d69bb2ec1d2313ce Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Thu, 4 Apr 2019 18:36:38 -0400 Subject: xurls no longer required --- README.md | 2 +- config.h | 2 +- st.1 | 2 -- 3 files changed, 2 insertions(+), 4 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 684d535..5afdbb1 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ The [suckless terminal (st)](https://st.suckless.org/) with some additional feat + Very useful keybinds including: + Copy is alt-c, paste is alt-v or alt-p pastes from primary selection + Alt-l feeds all urls on screen to dmenu, so they user can choose and - follow one (requires xurls and dmenu installed). + follow one (requires dmenu installed). + Zoom in/out or increase font size with Alt+Shift+k/j or u/d for larger intervals. + Hold alt and press either ↑/↓ or the vim keys k/j to move up/down in the terminal. + Shift+Mouse wheel do the same. diff --git a/config.h b/config.h index 53ce8fb..06c0264 100644 --- a/config.h +++ b/config.h @@ -206,7 +206,7 @@ MouseKey mkeys[] = { }; static char *openurlcmd[] = { "/bin/sh", "-c", - "xurls | uniq | dmenu -l 10 | xargs -r xdg-open", + "grep -aEo '(http|https)://[a-zA-Z0-9./?=_-]*' | uniq | dmenu -l 10 | xargs -r xdg-open", "externalpipe", NULL }; static Shortcut shortcuts[] = { diff --git a/st.1 b/st.1 index efa32ee..8cf4265 100644 --- a/st.1 +++ b/st.1 @@ -148,8 +148,6 @@ Paste/input primary selection. .TP .B Alt-l Show dmenu menu of all URLs on screen and choose one to open. -.I Note: -Requires xurls installed. .TP .B Break Send a break in the serial line. -- cgit v1.2.3