Thanks for the pipe command, that's really valuable for getting rid of the two ugly scripts the original author relies on. For myself, though, I've been trying to reduce the number of patches I rely on for suckless software- I'm tired of having to adapt patches for new releases, and there are other solutions.
As far as st is concerned- I've stopped using the external pipe patch. I can have irssi launch URLs for me, and the extremely rare URL that comes up elsewhere can be handled by having xsel pass it to my browser. I'm using dvtm now (keeping my terms in one X window + dwm's run or raise patch is wonderful), so I have scrollback available to me through that. I am still holding onto the transparency patch until I can work out a quirk in compton's inactive window transparency logic.
This scrollback patch is now hosted on suckless' site, but doesn't compile with the latest version of st. I'll put some effort into finding the latest version of st the scrollback patch still works for (and also throw in your pipe keybinding), but beyond that, I cannot update the patch to keep up with st releases, and I myself no longer use it. If the scrollback patch is ever updated, I'll update this package.
Search Criteria
Package Details: st-essential-patches 20140208-1
Package Actions
| Package Base: | st-essential-patches |
|---|---|
| Description: | st with scrollback and url launching patches |
| Upstream URL: | http://git.suckless.org/st/ |
| Category: | x11 |
| Licenses: | |
| Submitter: | Aelius |
| Maintainer: | Aelius |
| Last Packager: | None |
| Votes: | 1 |
| First Submitted: | 2014-02-28 04:44 |
| Last Updated: | 2014-02-28 05:33 |
Dependencies (1)
Required by (0)
Sources
- keybindings.diff
- st-0.4.1-externalpipe.diff
- st-git-20140208.tar.gz
- st-scrollback.diff
Latest Comments
Comment by Aelius
Comment by sekret
For the external pipe command you can use
{ MODKEY, XK_u, externalpipe, {.s = "sed -e '/http/!d' -e 's/.*http/http/g' -e 's/ .*//g' | dmenu | xargs -r dwb"} },
and replace dwb with whatever browser you use. It's not perfect, but works very well in most cases.
I also use those two patches + another one for the solarized color theme to work correctly.
Comment by Aelius
Scrollback is a necessary component for terminals- however the suckless devs disagree and tell you to just use dvtm, screen, or tmux to get this functionality. All three of those utilities effectively negate the entire point of st- to be lightweight. What good is a lightweight terminal that effectively requires unecessary bloat to have practical functionality?
At the moment, the devs refuse to see reason (as per usual), so when I saw a patch for scrollback I jumped right on it. It works with, at the time of writing, the current git source and not the current release version- but the patch is not being maintained. I submitted this package, all sources locally included, to immortalize this patch. Here in the aur, this version of st with scrollback will always be available. I threw in the url launching patch because I feel that's effectively a necessity.
See the .install script for some notes
The url launcher requires some external scripts, listed here at the patch page.
http://st.suckless.org/patches/externalpipe
I'm not including them because they're a) obscure and b) have no manpages for a necessary rc file- an example is given on it's github page.