Re: [dev] [surf] link hinting

2014-04-12 Thread Swiatoslaw Gal
> > Did anyone implemented links hinting without java script? > > Why would you want that? It would be hundreds of lines of tremendously > ugly C-code for navigating the DOM, creating CSS, installing key > handlers... The reason I switched javascript on default is… quite embarrassing. I use comp

[dev] [surf] link hinting

2014-04-12 Thread Swiatoslaw Gal
Did anyone implemented links hinting without java script? s.

[dev] [dwm] problem with xbanish

2014-03-18 Thread Swiatoslaw Gal
Comrades, I use xbanish (https://github.com/jcs/xbanish) with dwm. The trouble is that if I try to take a screenshoot with import or xwd the cursor is supposed to changed from an arrow to a cross. Alas, as the cursor gets hidden (when I type the command) it will not reappear as a cross even if I

Re: [dev] Screencasts?

2014-03-09 Thread Swiatoslaw Gal
> 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, It depends on the browser you are using and how it communicates with you. I installed iceweasel to do the test and xprop gives me half a dozen of text icons bu no… url I am reading

Re: [dev] Re: Talk about suckless

2013-10-07 Thread Swiatoslaw Gal
> > * "How do the distributions offer software configured by compiling?" > > (question > > from audience) > > As far as Debian based distributions go, i think they just ship the defaults > as > binary package. This is not quite true. There is `apt-get source' and few tools to build a custom

Re: [dev] [dmenu] handling space(?)

2013-04-17 Thread Swiatoslaw Gal
> strings separated by space are considered to be separate tokens > describing the same menu entry. What is a possible use of it? Could I easily disable this feature? > If you want to return > "lorem l" in your case press SHIFT+ENTER to select the string. I know. I just got annoyed by... forgge

[dev] [dmenu] handling space(?)

2013-04-17 Thread Swiatoslaw Gal
If I run `echo lorem|dmenu` and then type "lorem l" dmenu selects 'lorem' not 'lorem l' if I type "lorem i" the ouptput is "lorem i" as expected. Seems like a bug to me, am I wrong? s.

Re: [dev] [surf] port for gtk3

2012-06-19 Thread Swiatoslaw Gal
-- From Swiatoslaw Gal 19-06-2012 at 11:23 -- > Is anyone planning to port surf for gtk3? I ask because surf on my (unstable) debian machine stopped working. gdb returns few times: @0: event.layerX and event.layerY are broken and deprecated in WebKit. They will be removed f

[dev] [surf] port for gtk3

2012-06-19 Thread Swiatoslaw Gal
Is anyone planning to port surf for gtk3? Sinceerly, s.

[dev] [dwm] dynamic environment variables

2012-05-19 Thread Swiatoslaw Gal
I am wondering if it is possible to implement some (synamic) management of environment variables, so, for example I could change HTTP_PROXY when I hook my laptop in a new place, and all the processes started from now on would respect it. I see some problems, it would work if I start my browser via

Re: [dev] xid of a current window

2012-03-25 Thread Swiatoslaw Gal
> You could use the focused window instead (which was what you > originally asked about): > > $ xdotool getwindowfocus > 48234505 Yes, this works fine (without any today's patches). But the very first answer: XGetInputFocus was _exactly_ what I was looking for. Is there a reason that a _window_m

Re: [dev] xid of a current window

2012-03-25 Thread Swiatoslaw Gal
> Thanks, I applied both patches. Even though I really more and more hat > this whole EWMH cruft. Since there was basic EWMH support in dwm, > things became more unreadable... Then I start to feel guilty of my question. I've got my answer, and I do not know if anyone really needs _NET_WM_WINDOW_O

Re: [dev] xid of a current window

2012-03-25 Thread Swiatoslaw Gal
-- From Ivan Kanakarakis 25-03-2012 at 15:20 -- > if you don't want to write something of your own, then > > $ xprop -root _NET_ACTIVE_WINDOW > > _NET_ACTIVE_WINDOW(WINDOW): window id # 0x400050 xprop -root shows me the values of the folowing fields: CUT_BUFFER0(STRING) WM_NAME(ST

[dev] xid of a current window

2012-03-25 Thread Swiatoslaw Gal
How can I get a xid of a focused window? Like with xprop, but without user interaction. Say, I want to write an program that would log the xid of a currently focused window every second. Sincerely, s.

Re: [dev] dwm: bug in fullscreen mode (SDL?)

2012-03-06 Thread Swiatoslaw Gal
-- From Matthew Carter 23-01-2012 at 22:01 -- > You could always run fullscreen apps/games on a separate X display > using: > > xinit $(which gameName) -- :8 > > -Matt Can one use such a clean solution with a second display? E.g. an external monitor attached to a laptop? s.

[dev] dwm: strange statusbar behaviour

2012-02-25 Thread Swiatoslaw Gal
Dear gals and guys, I have an old thinkpad tablet, which I use as a desktop (the screen got broken and I detached it). It starts, by default, in 1024x768 mode, and then dwm and its statusbar work fine. If I correct the resolution to the monitor specification (eg. 1280x1024) either by xrandr, or

Re: [dev] [dmenu] composite key not working/weird arrow behaviour

2011-11-30 Thread Swiatoslaw Gal
-- From Connor Lane Smith 06-11-2011 at 13:04 -- > Hey, > > On 03/11/2011, Swiatoslaw Gal wrote: > > I was careless with my last email. The behaviour of arrows is broken > > not in dmenu, but in the following patch. The right (forward) arrow stopped >

[dev] [dmenu] composite key not working/weird arrow behaviour

2011-11-03 Thread Swiatoslaw Gal
I was careless with my last email. The behaviour of arrows is broken not in dmenu, but in the following patch. The right (forward) arrow stopped working. Any idea how to fix that? Sincerely, s. > Here's a patch that solves the common cases. There's a ton of potential > issues (complex Unicode

[dev] [dmenu] weird arrows behaviour

2011-11-02 Thread Swiatoslaw Gal
Left (back) arrow works in dmenu well. Right (forward) does not do anything. Is it a bug or feature? Cordially, s.

[dev] [dmenu] composite key not working

2011-10-16 Thread Swiatoslaw Gal
What may I do to enable composite key (defined with setxkbmap as compose:rctrl) with dmenu? It works with st, though. Thanks in advance, s.

Re: [dev] "Making Apps That Don't Suck" by Mike Lee

2011-06-08 Thread Swiatoslaw Gal
> Haha. The picture on the last slide... is it the Suckless Community > Van which is sent to pick up certain people in front of their homes? Phillip Dick has a short story with vans hunting for kids under twelve to be a subject of abortion if they do not know algebra... s.

Re: [dev] "Making Apps That Don't Suck" by Mike Lee

2011-06-07 Thread Swiatoslaw Gal
-- From garbeam 07-06-2011 at 06:48 -- > Sorry for the delay, here is the link to the slides: > > http://dl.garbe.us/The_suckless_org_universe.pdf Great but... why Arial?! s.

[dev] [surf] page not opening

2011-03-26 Thread Swiatoslaw Gal
I got an error with surf "http://www.identifont.com/find?font=garamond&q=Go"; Any ideas? s.

[dev] [surf] Diacritics

2011-03-26 Thread Swiatoslaw Gal
I have a strange issue with google translate in surf. It returns mess for non-English characters (umlauts to start with). For example, if I enter Cyrillic it is lost in auto-detect mode. Guessing Spanish!? And, of coarse, choosing language manually would not help. Same time there are no problem

Re: [dev] [surf] arrows

2011-03-25 Thread Swiatoslaw Gal
> The solution is to turn off spatial navigation. Spatial navigation is not that bad. But, the annoying bug/feature is that the _first_ hit down brings me to the last link. Can this be avoided? Does anyone has a patch to bin toggling spatial navigation to some key? s.

[dev] [surf] arrows

2011-03-25 Thread Swiatoslaw Gal
Do the arrows are intend to be useful with surf? I experience strange behaviour. First hit takes me to the the top or bottom of the page. Then they allow me to scroll. Is it a bug or a feature? I did try to define bindings in the config file, but then it messes with desired behaviour in pages wi

[dev] [surf] browser identification

2011-03-25 Thread Swiatoslaw Gal
Hi, imbeciles coding sucking webpages check how the browser identifies itself. And if it is not sucking browser instead of desired content I get some ad about downloading sucking software. All I can check is for example aruljohn.com which tells me Your browser is Unknown Browser. At the same tim