xurls no longer required
This commit is contained in:
parent
44a6c377b1
commit
7af0421674
|
@ -9,7 +9,7 @@ The [suckless terminal (st)](https://st.suckless.org/) with some additional feat
|
||||||
+ Very useful keybinds including:
|
+ Very useful keybinds including:
|
||||||
+ Copy is alt-c, paste is alt-v or alt-p pastes from primary selection
|
+ 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
|
+ 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.
|
+ 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.
|
+ Hold alt and press either ↑/↓ or the vim keys k/j to move up/down in the terminal.
|
||||||
+ Shift+Mouse wheel do the same.
|
+ Shift+Mouse wheel do the same.
|
||||||
|
|
2
config.h
2
config.h
|
@ -206,7 +206,7 @@ MouseKey mkeys[] = {
|
||||||
};
|
};
|
||||||
|
|
||||||
static char *openurlcmd[] = { "/bin/sh", "-c",
|
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 };
|
"externalpipe", NULL };
|
||||||
|
|
||||||
static Shortcut shortcuts[] = {
|
static Shortcut shortcuts[] = {
|
||||||
|
|
2
st.1
2
st.1
|
@ -148,8 +148,6 @@ Paste/input primary selection.
|
||||||
.TP
|
.TP
|
||||||
.B Alt-l
|
.B Alt-l
|
||||||
Show dmenu menu of all URLs on screen and choose one to open.
|
Show dmenu menu of all URLs on screen and choose one to open.
|
||||||
.I Note:
|
|
||||||
Requires xurls installed.
|
|
||||||
.TP
|
.TP
|
||||||
.B Break
|
.B Break
|
||||||
Send a break in the serial line.
|
Send a break in the serial line.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user