Re: [dev] [dwm] systray in upstream dwm?

2012-04-05 Thread Jeremy Jackins
On Thu, Apr 5, 2012 at 2:12 AM, KIMURA Masaru hiyuh.r...@gmail.com wrote:
 however in my opinion a system tray is
 not necessary and should not be added to mainline.

 if you don't mind my asking, explain why?
 just curious.


Necessity needs justification, not the other way around.



Re: [dev] regarding surf and cookie handling

2012-02-21 Thread Jeremy Jackins
On Tue, Feb 21, 2012 at 1:13 PM, Nick suckless-...@njw.me.uk wrote:
 userbase of  5 ;)

Hey, just because we're quiet doesn't mean we aren't here.



Re: [dev] network usage graphs

2012-01-27 Thread Jeremy Jackins
On Thu, Jan 26, 2012 at 11:05:19PM -, Bjartur Thorlacius wrote:
 What use is bloatware such as ed when you have sed and sponge?

Not sure if sarcasm...



Re: [dev] [st] Drawing optimizations

2012-01-21 Thread Jeremy Jackins
On Sat, Jan 21, 2012 at 3:54 PM, Aurélien Aptel
aurelien.ap...@gmail.com wrote:
 Hi all,

 I've made st ~10x faster on my computer. If there are no major bugs I
 will tag tip as version 0.2.
 Here's the relevant commit message:

 * add a timeout value (SELECT_TIMEOUT) of 20ms in the select() call
 * wait at least 20ms (DRAW_TIMEOUT) between draw() calls
 * only copy dirty lines from the buffer to the screen

 what draw() does:
 * clears dirty lines in the buffer
 * draws the longest same-attributes string of each
  dirty line to the buffer with multiple xdraws() call
 * copies the current dirty line from buffer to the screen with a single
  xcopy() call

 this changeset makes st run ~10x faster.


Thanks for this! The speed increase is very noticable over here.



Re: [dev] Patch for st tabbed

2012-01-20 Thread Jeremy Jackins
 Patch for st tabbed

 also adds bindable function to instantly exit tabbed (I bind to ^c).

Don't you ever want to interrupt a program without closing all your terminals?



Re: [dev] [surf] hover fix

2012-01-16 Thread Jeremy Jackins
On Mon, Jan 16, 2012 at 4:38 AM,  s...@alternametz.org wrote:
 Hello,

 Surf doesn't update when hovering link,
 removing an else fixes it.

I think this has the same effect but avoids a redundant print.
This has really bothered me a few times, that I couldn't hover a link
while the page was loading.


hover2.diff
Description: Binary data


Re: [dev] [surf] hover fix

2012-01-16 Thread Jeremy Jackins
 this

Sorry, this one can actually be applied.


hover3.diff
Description: Binary data


Re: [dev] network usage graphs

2011-12-24 Thread Jeremy Jackins
Is there a reason for using a stream editor when you want to edit in-file?

echo '1d
w' | ed original.dat



Re: [dev] PARENT_XID environment variable.

2011-11-06 Thread Jeremy Jackins
  I would like to add support for surf, zathura and others I use
  daily.

 I already use it with surf, and I didn't have to add any support.


 Are you using PARENT_XID environment variable enabled surf? That was
 the point of my mail.

Ah, I fear I skimmed through your mail too quickly and misunderstood, sorry.



Re: [dev] PARENT_XID environment variable.

2011-11-05 Thread Jeremy Jackins
 I would like to add support for surf, zathura and others I use daily.

I already use it with surf, and I didn't have to add any support.



Re: [dev] [dwm] ncol layout

2011-10-31 Thread Jeremy Jackins
 So in other words, if we can say tha majority use cases are:

 nmaster: 1-2
 ncol (slave cols): 1-2

Hm, so are we no longer considering bstack? I agree that mod-shift-t
would be a nice way to do nmaster=2, but this means that with more
than two windows I'm stuck a stack on the side and I've lost
horizontal screen space on my small netbook screen.



Re: [dev] [dwm] 2000 SLOC

2011-10-31 Thread Jeremy Jackins
 The current list of unclear removal candidates is:

 * surf (seems dead, please shout if you disagree or if anyone wants to
 take this on, it doesn't make sense if it is not maintained, as
 webkitgtk carries away)
 * ii (Nion, are you still maintaining it?)

I'm fine with the other ones, but I'd like to cast my vote on keeping
these two, I use and love them. I would offer to maintain if necessary
but I haven't exactly been around long enough to earn the trust of
anyone.

Jeremy



Re: [dev] [dwm] 2000 SLOC

2011-10-30 Thread Jeremy Jackins
 First I want many projects removed from suckless.org, only the real key
 projects should survive. I plan to set up suckmore-graveyard.org or something
 similar in a couple of weeks to allow for an archive of those non fitters, as

Aside from wmii, what other projects do you have in mind? I'm suddenly
nervous that my favorite software is going to start to disappear...

Jeremy



Re: [dev] [dwm] ncol layout

2011-10-30 Thread Jeremy Jackins
I'm sure someone has thought of this before but it came to me as a
nice way to allow multiple clients in master:

Pretending for a moment that mod+shift+return didn't spawn a terminal
by default, what if we had something like:

- mod+return switches focused window in and out of master, like normal
- mod+shift+return (or whatever keybinding is chosen) does the same
except instead of forcing another window out of master or stack, it
increases/decreases nmaster so that the focused window is added to
master or added to the stack without bumping out another window

Now we are only adding one more keybinding and can put an arbitrary
number of windows in both master and stack, in a way that is intuitive
(to me at least).

Jeremy



Re: [dev] [dwm] ncol layout

2011-10-30 Thread Jeremy Jackins
 But, how would you be able to decrease the nmaster number?

Focus a window in master and press alt+shift+enter (or whatever
keybinding), so increasing nmaster and moving that window into the
stack. Instead of choosing the nmaster number and letting the windows
arrange themselves appropriately, you choose which windows to move
into master or which to move back into the stack. Maybe this would go
against the 'dynamic' part of dwm's name... Anyway it seems like my
explanation isn't clear so I'll try to implement it and post a patch

Jeremy



Re: [dev] [dwm] ncol layout

2011-10-30 Thread Jeremy Jackins
 keybinding), so increasing nmaster and moving that window into the
s/increasing/decreasing/

 ... Anyway it seems like my
 explanation isn't clear so I'll try to implement it and post a patch

Okay, so not knowing the dwm source very well I'm having trouble
implementing this, but I think these excerpts illustrate what I'm
TRYING to do (and I would appreciate it if someone more knowledgeable
than myself could help me fix it). And I'm not really suggesting we
change what mod+shift+enter does, I just thought it would help clarify
that my idea is to replace two incnmaster keybindings with one
keybinding which is a second form of zoom.

config.def.h:

 static Key keys[] = {
/* modifier keyfunctionargument */
{ MODKEY,   XK_p,  spawn,  {.v
= dmenucmd } },
-   { MODKEY|ShiftMask, XK_Return, spawn,  {.v
= termcmd } },
+   { MODKEY,   XK_n,  spawn,  {.v
= termcmd } },
{ MODKEY,   XK_b,  togglebar,  {0} },
{ MODKEY,   XK_j,  focusstack, {.i = +1 } },
{ MODKEY,   XK_k,  focusstack, {.i = -1 } },
-   { MODKEY,   XK_i,  incnmaster, {.i = +1 } },
-   { MODKEY,   XK_d,  incnmaster, {.i = -1 } },
{ MODKEY,   XK_h,  setmfact,   {.f
= -0.05} },
{ MODKEY,   XK_l,  setmfact,   {.f
= +0.05} },
-   { MODKEY,   XK_Return, zoom,   {0} },
+   { MODKEY,   XK_Return, zoom,   {.i = 0 } },
+   { MODKEY|ShiftMask, XK_Return, zoom,   {.i = 1 } },

dwm.c:

void
 zoom(const Arg *arg) {
Client *c = selmon-sel;
+   int inc = arg-i;
+   /* if the selected client is in the stack, increment nmaster,
otherwise decrement */
+   // inc *= instack(c) ? +1 : -1;

if(!selmon-lt[selmon-sellt]-arrange
|| (selmon-sel  selmon-sel-isfloating))
return;
if(c == nexttiled(selmon-clients))
if(!c || !(c = nexttiled(c-next)))
return;
+   incnmaster(inc);
pop(c);
 }



Re: [dev] Linux sucks!

2011-10-29 Thread Jeremy Jackins
 condolences on your shitty university
Makes me appreciate mine a bit more, where the windows section of the
main undergrad lab is a dank little corner mainly populated by
students from other departments who were forced into taking a CS
course.



[dev] Missing hg repo after move?

2011-09-29 Thread Jeremy Jackins
hg clone http://hg.suckless.org/sandy

gives

abort: HTTP Error 500: Internal Server Error

and it also doesn't appear in the repositories list at
hg.suckless.org. I'm guessing this has something to do with the
hosting move.



Re: [dev] [st]100% cpu in some cases

2011-09-18 Thread Jeremy Jackins
I experience this also, using the free radeon driver. I have no idea
what this firmware-linux-nonfree is though...



Re: [dev] wmii unicode in the status?

2011-01-23 Thread Jeremy Jackins
On Sun, Jan 23, 2011 at 6:26 PM, Eitan Goldshtrom thesource...@gmail.comwrote:

 So I had already done that, which made me wonder why you were suggesting
 it, because obviously I must have done something wrong when I tried to hg
 that URL. I hadn't realized that I needed to build that after getting it. I
 did and everything worked. I built wmii-3.9.2. Which leaves me now
 wondering, what next? I'm using Ubuntu. When I installed from the Ubuntu
 Software Center it added an option at the login for me to change desktop
 environments. Will this new build override that or do I need to do something
 else? I am under the impression that putting the expected line of code to
 start wmii with startx will not work for Ubuntu? If this is reaching outside
 the realm of wmii I can ask elsewhere.
 -Eitan


Yes, you might want to take some of these questions to something like the
Ubuntu IRC channel. You can use startx with Ubuntu but it's not really the
Ubuntu way of doing things. Really, if you want to be using software like
wmii maybe Ubuntu is not the right place for you...