You are not logged in.

#1 2018-03-25 20:40:50

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 2,746

drawTerm

a script: https://raw.githubusercontent.com/bront … n/drawTerm

usage: patch to some shortkey in rc.xml, lmb click and drag.

idea: As seen on internetz, but could not find the actual script

video: https://transfer.sh/yRahJ/03262018.anshans.1825.mp4

This would need (some) more work.

Last edited by brontosaurusrex (2018-03-26 16:32:56)

Offline

#2 2018-03-25 21:28:00

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: drawTerm

What an awesome idea, thanks for sharing!

You may have to reconsider the name though:

https://packages.debian.org/stretch/drawterm

Offline

#3 2018-03-26 05:11:09

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: drawTerm

why don't you just start the urxvt with the given dimensions?

urxvt -geometry ${w}x${h}+${x}+${y}

no need for wmctrl.

edit: hmm, i think urxvt takes width and height as characters, not pixels. damn.

also, if you use stretch, you might want to look at slop (maybe part of maim).
iirc, one of the suckless tools does the same (rectangular selection).

Last edited by ohnonot (2018-03-26 05:14:13)

Offline

#4 2018-03-26 06:23:14

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 2,746

Re: drawTerm

Head_on_a_Stick wrote:

You may have to reconsider the name though

Maybe Latin: drawicusTerminalicusVulgaris ?

ohnonot wrote:

look at slop (maybe part of maim).
iirc, one of the suckless tools does the same (rectangular selection).

Noted. edit: Implemented via slop (huge improvement).

Last edited by brontosaurusrex (2018-03-26 16:57:18)

Offline

Board footer

Powered by FluxBB