Re: [dev] Screencasts?

From: Dmitrij D. Czarkoff <czarkoff_AT_gmail.com>
Date: Sun, 9 Mar 2014 23:00:50 +0100

Caleb Malchik said:
> I switched to Linux/cli/dwm from OS X just a few years ago, and since the
> switch I feel the way I do certain basic things is embarrassingly
> inefficient. For example, if I find an article on the web I want to come
> back to, I will copy the URL from the address bar, open a terminal window
> with ctl-shift-enter, type 'vi doc/toread', then paste the URL
> at the top of the file. Yes it's still faster than what I would have done on
> OS X, but it feels clunky.

You may put together a script like this:

  #!/bin/sh
  
  TMPFILE=`mktemp -p /tmp toread.XXXXXXXXXX`
  {xclip -o && echo; cat doc/toread} > $TMPFILE
  mv $TMPFILE doc/toread

and then after selecting URL in address bar you could just run this
script (eg. via "Ctrl+p" in dwm).

-- 
Dmitrij D. Czarkoff
Received on Sun Mar 09 2014 - 23:00:50 CET

This archive was generated by hypermail 2.3.0 : Sun Mar 09 2014 - 23:12:07 CET