Re: [dev] surf patch: bind keystrokes to snippets of Javascript

2010-05-17 Thread Troels Henriksen
Troels Henriksen writes: > Sean Whitton writes: > >> Hi, >> >> On Tue, May 11, 2010 at 02:13:01PM +0100, Sean Whitton wrote: >>> On Tue, May 11, 2010 at 11:10:04AM +0200, Troels Henriksen wrote: >>> > The attached patch lets you bind keys to small lines of Javascript to >>> > run. >>> > >>> > T

Re: [dev] my suckless.org compatible ideas: vim like mapping for any tools, C scripts, vi clone

2010-05-17 Thread Josh Rickmar
On Mon, May 17, 2010 at 11:29:24AM -0400, Kurt H Maier wrote: > On Mon, May 17, 2010 at 11:20 AM, anonymous wrote: > > If the only problem is tags, maybe replace them with more common > > "virtual desktops"? ?If you look at screenshots > > [http://dwm.suckless.org/screenshots/], there is only one

Re: [dev] my suckless.org compatible ideas: vim like mapping for any tools, C scripts, vi clone

2010-05-17 Thread Kurt H Maier
On Mon, May 17, 2010 at 11:20 AM, anonymous wrote: > If the only problem is tags, maybe replace them with more common > "virtual desktops"?  If you look at screenshots > [http://dwm.suckless.org/screenshots/], there is only one tag selected > on each desktop - tags are used as virtual desktops. I

Re: [dev] my suckless.org compatible ideas: vim like mapping for any tools, C scripts, vi clone

2010-05-17 Thread anonymous
On Mon, May 17, 2010 at 02:40:25PM +, Bjartur Thorlacius wrote: > On 5/17/10, Kurt H Maier wrote: > > On Mon, May 17, 2010 at 9:39 AM, Bjartur Thorlacius > > wrote: > >> I just felt that it was weird that the program that draws borders around > >> my > >> windows is also a keyboard shortcut h

Re: [dev] my suckless.org compatible ideas: vim like mapping for any tools, C scripts, vi clone

2010-05-17 Thread Bjartur Thorlacius
On 5/17/10, Kurt H Maier wrote: > On Mon, May 17, 2010 at 9:39 AM, Bjartur Thorlacius > wrote: >> I just felt that it was weird that the program that draws borders around >> my >> windows is also a keyboard shortcut handler/dispatcher/whatever. > > Now dwm draws statusbar for you (if you use dwm)

Re: [dev][dmenu] filter files with grep but print corresponding urls?

2010-05-17 Thread Andreas Wagner
Thank you, I can now search with grep (although not incrementally) and I can display something different than what is returned. I think I may need to extend (or simplify) dmenu to allow for search with an arbitrary tool recieving input and returning output from/to dmenu. I can't think of the most

Re: [dev] my suckless.org compatible ideas: vim like mapping for any tools, C scripts, vi clone

2010-05-17 Thread Kurt H Maier
On Mon, May 17, 2010 at 9:39 AM, Bjartur Thorlacius wrote: > I just felt that it was weird that the program that draws borders around my > windows is also a keyboard shortcut handler/dispatcher/whatever. dwm, as the program that sits between you and other programs, already has to intercept everyt

Re: [dev] my suckless.org compatible ideas: vim like mapping for any tools, C scripts, vi clone

2010-05-17 Thread anonymous
On Mon, May 17, 2010 at 01:39:38PM +, Bjartur Thorlacius wrote: > On 5/17/10, anonymous wrote: > > What you mean by user shortcuts? To create shortcut you can configure > > your window manager. So user shortcuts start with Alt. User should > > make sure that his shortcuts don't overlap with

Re: [dev] my suckless.org compatible ideas: vim like mapping for any tools, C scripts, vi clone

2010-05-17 Thread anonymous
On Sun, May 16, 2010 at 04:25:45AM +0400, anonymous wrote: > Also removing Alt keybindings will simplify dmenu code: there will be > only one switch instead of two, one "default" branch instead of two, > less manipulation with masks and everytihing else related. > Patch (-7 loc) attached. BTW ca

Re: [dev] my suckless.org compatible ideas: vim like mapping for any tools, C scripts, vi clone

2010-05-17 Thread Bjartur Thorlacius
On 5/17/10, anonymous wrote: > What you mean by user shortcuts? To create shortcut you can configure > your window manager. So user shortcuts start with Alt. User should > make sure that his shortcuts don't overlap with default shortcuts of > window manager. Some kind of standard should be cre

Re: [dev] my suckless.org compatible ideas: vim like mapping for any tools, C scripts, vi clone

2010-05-17 Thread anonymous
On Mon, May 17, 2010 at 12:22:52PM +, Bjartur Thorlacius wrote: > > 1. Window manager > > 2. Windows. >3. User shortcuts What you mean by user shortcuts? To create shortcut you can configure your window manager. So user shortcuts start with Alt. User should make sure that his shortcuts

Re: [dev] my suckless.org compatible ideas: vim like mapping for any tools, C scripts, vi clone

2010-05-17 Thread Robert Ransom
On Mon, 17 May 2010 12:22:52 + Bjartur Thorlacius wrote: > Is it possible to have some program seperate from the WM that receives > all keystrokes starting with super (and maybe Alt to)? It is possible to have a program bind specific keystrokes; you probably won't be able to capture all keys

Re: [dev] my suckless.org compatible ideas: vim like mapping for any tools, C scripts, vi clone

2010-05-17 Thread Bjartur Thorlacius
On 5/15/10, anonymous wrote: > On Fri, May 14, 2010 at 08:02:57PM +, Bjartur Thorlacius wrote: >> > 1. good tools should have a way to define easily keyboard shortcuts. >> True. It's quite irritating that some tools use the arrow keys for >> scrolling, >> others use hjkl (which doesn't make se

[surf] line of approach [was: [dev] [surf] download images?]

2010-05-17 Thread John Matthewman
On 5/17/10, julien steinhauser wrote: > > I guess you have good reasons to have your own context menu, > but the default gtk one with the underlined letters > is keyboard friendlier to me as one just need to hit > the underlined letter to select an entry. I've been wondering about the context men

Re: [surf] line of approach [was: [dev] [surf] download images?]

2010-05-17 Thread julien steinhauser
On Mon, May 17, 2010 at 09:40:01AM +0200, Enno Boland (Gottox) wrote: > > 2010/5/17 pancake : > > Copy URL doesn't works for images > I'm open for patches to copy a pictures URI. I think, I will strip > down things in surf. Here is a possibility, i just removed the context menu and a few lines to

Re: [dev] stali and static surf binary

2010-05-17 Thread Jimmy Tang
On Sat, May 15, 2010 at 09:09:09PM -0400, Ersin Akinci wrote: >You're correct, my intentions are quite different and have nothing at all >to do with performance concerns.  I'm trying to manifest a certain >aesthetic vision: I like the act of downloading static binaries and >deleting

[dev] Re: [surf] line of approach

2010-05-17 Thread Troels Henriksen
"Enno Boland (Gottox)" writes: > 2010/5/17 pancake : >> Copy URL doesn't works for images > I'm open for patches to copy a pictures URI. I think, I will strip > down things in surf. I have to reconsider the event system. It's a bit > ugly and inconsistent atm. > > [snip] > > Way to go is to remov

Re: [dev] stali and static surf binary

2010-05-17 Thread Anselm R Garbe
On 16 May 2010 01:08, anonymous wrote: > On Sat, May 15, 2010 at 05:11:48PM -0400, Ersin Akinci wrote: >> Thus, dynamic libraries would still be used, but at least they would >> be duplicated, independent, and isolated for each program that needed it. > > What problem you are trying to solve?  You

Re: [dev] stali and static surf binary

2010-05-17 Thread Anselm R Garbe
On 16 May 2010 02:09, Ersin Akinci wrote: > You're correct, my intentions are quite different and have nothing at all to > do with performance concerns.  I'm trying to manifest a certain aesthetic > vision: I like the act of downloading static binaries and deleting them > without worrying about de

[surf] line of approach [was: [dev] [surf] download images?]

2010-05-17 Thread Enno Boland (Gottox)
2010/5/17 pancake : > Copy URL doesn't works for images I'm open for patches to copy a pictures URI. I think, I will strip down things in surf. I have to reconsider the event system. It's a bit ugly and inconsistent atm. Also the cookie problem is on display. I need the netscape cookies.txt format