Re: [dev] tabbed - why?

2014-02-17 Thread Fernando C.V.
On Tue, Feb 18, 2014 at 12:17 AM, Fernando C.V. wrote: > You may want to create a specific layout for your particular case if you need > several > groups of windows overlapped in a specific way different than monocle I just remembered about the deck layout [1], it's anothe

Re: [dev] tabbed - why?

2014-02-17 Thread Fernando C.V.
On Mon, Feb 17, 2014 at 8:26 PM, Calvin Morrison wrote: > If tabbing is just a form of window management, why don't we seperate > all tiling modes into separate programs. I'd say that dwm's monocle layout could already be considered a "tab" mode, since it overlaps several windows (you'd only miss

Re: swc library to implement dwm under Wayland (was Re: [dev] gtk3 support for surf?)

2014-01-13 Thread Fernando C.V.
On Sun, Jan 12, 2014 at 11:39 AM, FRIGN wrote: > I am still wondering if Wayland really is the way to go, given the fact > it requires a lot of dependencies for "basic" tasks (*(E)GL, dbus, PAM, > DRI (mostly)) and hogs memory. I believe most of the implementation details are up to the compositor

Re: [dev] New utility "when"

2013-12-12 Thread Fernando C.V.
On Thu, Dec 12, 2013 at 10:49 PM, Fernando C.V. wrote: > This way could do something like: > > $ when -t ssh host >> xmessage DONE! Well... even if you didn't prompt it to the user interactively, it would still be nice for aliases. Probably most of the time you just want

Re: [dev] New utility "when"

2013-12-12 Thread Fernando C.V.
An alternative would be to read one of the commands from stdin. This way could do something like: $ when -t ssh host > xmessage DONE! You won't get tab-completion and other interactive fancyness, but it won't be missed for simple notification commands. -- Fernando

Re: [dev] New utility "when"

2013-12-11 Thread Fernando C.V.
On Thu, Dec 12, 2013 at 12:56 AM, Fernando C.V. wrote: > $ { ssh user@host &; } && xmessage connected Whoops, it's: $ { ssh user@host & } && xmessage connected Btw, what "when" does is that it considers that the program is running successfully if

Re: [dev] New utility "when"

2013-12-11 Thread Fernando C.V.
On Wed, Dec 11, 2013 at 10:36 PM, Rob wrote: > [local-machine %] ssh user@host & && xmessage connected > [ssh-machine %] ... > > `xmessage connected' will be executed even though ssh hasn't exit(0)'d > yet. bash: syntax error near unexpected token `&&' You probably meant this: $ { ssh user@ho

[dev] [dwm] changing the current view from a function

2013-11-17 Thread Fernando C.V.
Hello, I realised that since several revisions ago (like months ago, actually), the shiftview.c patch [1] is messing up the layouts. Doing something like the following also shows the same issue (should switch to the Tag 5): void shiftview(const Arg *arg) { Arg shifted; shifted.ui = 1 <<

Re: [dev] Re: Maintaining sbase

2013-06-28 Thread Fernando C.V.
>> It's for people that don't know how to use FIFOs/process substitution >> properly ;-) >> > > should suffice: > > cat file | tee >(sort -u > sorted) >(sort -R > unsorted) > That's a bashism, not POSIX. Not much better than using pee -- Fernando Carmona Varo

Re: [dev] suckless dotfiles approach

2013-06-08 Thread Fernando C.V.
On Sat, Jun 8, 2013 at 12:22 PM, Markus Teich wrote: > I'm not exclusively talking about me. Some random script (software update?) > or anything could move them. Are you talking about dotfiles from $HOME/? If some software update or random scripts starts manipulating my home directory like that I

Re: [dev] suckless dotfiles approach

2013-06-07 Thread Fernando C.V.
> * When symlinking files i get problems when moving/backing up the > configfiles in $HOME since it will move the symlink and maybe write an > actual file to $HOME instead.label:l-dwm dot The files are already under version control, if you need backup you could use some remote repository to sync w

[dev] Re: Is there any plan on a shell for sbase?

2013-05-31 Thread Fernando C.V.
> by doing system() calls to an extremelly minimal shell. Would it make sense? uh.. I mean, something like a while-cmd like this: while-cmd 'test whatever' <

[dev] Is there any plan on a shell for sbase?

2013-05-31 Thread Fernando C.V.
Probably I'm talking shit here... or maybe this is something you are considering with sbase already... but I kept thinking about this. Would it make sense to create a whole shell infrastructure based on little small commands? I mean, not just replacing no-brainer builtin things like "echo", etc,

Re: [dev] lynx?

2013-05-28 Thread Fernando C.V.
I use elinks. It's not suckless, but it's the text browser that handles the web better, from my experience. Also you can write rules for it that allow you to preprocess certain websites or handle some of them differently, like running external viewers for images, using youtube-dl when you open you

Re: [dev] Re: Why HTTP is so bad?

2013-05-27 Thread Fernando C.V.
On Mon, May 27, 2013 at 12:38 PM, Dmitrij Czarkoff wrote: > There can be a gentler solution similar to the way some network protocols > are handled in FUSE, Plan 9 and HURD: they create a pseudo fs and let normal > file I/O on it. *Much* cleaner approach IMO. On Mon, May 27, 2013 at 12:34 PM, Had

Re: [dev] Re: Why HTTP is so bad?

2013-05-27 Thread Fernando C.V.
On Sun, May 26, 2013 at 3:21 PM, Dmitrij Czarkoff wrote: > How does this problem differ from downloading a file from URI in IRC chat or > from mail? Why should it be solved differently in browser then? Doesn't have to be solved differently, but then, for the sake of convenience, network efficienc

Re: [dev] Re: Why HTTP is so bad?

2013-05-24 Thread Fernando C.V.
On Fri, May 24, 2013 at 1:02 PM, Dmitrij Czarkoff wrote: > But even if there is no protocol better then HTTP, it doesn't necessarily > mean that HTTP > is OK. The best possible solution to a particular problem should be OK for the purpose of solving the problem. IMHO, the thing is that multiple

Re: [dev] Re: Why HTTP is so bad?

2013-05-24 Thread Fernando C.V.
On Fri, May 24, 2013 at 11:58 AM, Prakhar Goel wrote: > Anybody take a look at the /browser idea? > > Site:http://blog.ezyang.com/2012/10/get-browser-exe/ That looks interesting. But then it would also compromise the openness and "hackability" of the web. I like that I can easily inject my own j

Re: [dev] [st] problem reading man pages

2013-05-22 Thread Fernando C.V.
Maybe you altered your st colors somehow and the highlights make the characters hard to see... my guess is that the words are there rendered, but unreadable.. can you copy-paste the invisible spaces between the "[-c ]"? (sorry for the 3 mails in a row... I just I kept thinking about it) --

Re: [dev] [st] problem reading man pages

2013-05-22 Thread Fernando C.V.
or better: set | grep LESS -- Fernando On Wed, May 22, 2013 at 11:48 AM, Fernando C.V. wrote: > On Wed, May 22, 2013 at 11:23 AM, G David Modica > wrote: >> I believe it defaults to "less". > > Maybe you have some custom less settings? > try this

Re: [dev] [st] problem reading man pages

2013-05-22 Thread Fernando C.V.
On Wed, May 22, 2013 at 11:23 AM, G David Modica wrote: > I believe it defaults to "less". Maybe you have some custom less settings? try this: echo $LESS echo $LESS_TERMCAP_mb - $LESS_TERMCAP_md - $LESS_TERMCAP_so - $LESS_TERMCAP_us echo $LESS_TERMCAP_me - $LESS_TERMCAP_se - $LESS_TE

Re: [dev] [dwm] Running dwm in KDE

2013-05-21 Thread Fernando C.V.
On Tue, May 21, 2013 at 12:53 AM, Martin Miller wrote: > I guess this system is a combo of Gnome and KDE. > I spent a little time unsuccessfully configuring gdm from the settings > panel. If you have the choice, I would recommend getting something like "slim" and just tweak your xinitrc to your l

Re: [dev] [dmenu] What is the status of the project?

2013-04-19 Thread Fernando C.V.
A feature that would be a nice improvement would be to extend the behaviour of the -f flag to not only grab the keyboard but also draw the window already and start adding entries to the menu as they are received from stdin. That way, we bring dmenu to the user at the instand t=0, even while a extr

Re: [dev] smessage

2012-03-02 Thread Fernando C.V.
I've been wanting for a long time some simple tool to replace the libnotify popups. Using xsetroot is just not enough for me to notice the warnings (and I do need to be warned when my battery is running out or the temperature is too high). Both xmessage and smessage use a window that steals the foc

Re: [dev] A dmenu that includes all additional features

2011-09-15 Thread Fernando C.V.
On Sun, Sep 11, 2011 at 11:09 PM, Dieter Plaetinck wrote: > * stable sort. @CLS why I want this: say, for an application launcher, if I > provide input to dmenu ordered by frequency, that means commands at > the top are more important then those that come after. (where important > means: is more l

Re: [dev] wmii as a prepatched dwm (Was: segfault)

2011-06-27 Thread Fernando C.V.
2011/6/27 a.l.e : > this is the main reason why i prefer wmii to dwm: i don't want to keep track > of > versions of dwm and of the patches i have applied. I've been using dwm-sprinkles, it's a nice mashup of patches and maintained up to date. http://0mark.unserver.de/projects/dwm-sprinkles/ --

[dev] [dwm] shiftview patch (shifting tagset left/right )

2011-04-19 Thread Fernando C.V.
Hi, I've got what I think might be a better implementation of the nextprevtag.c patch. It's just a simple bitwise left/right circular shift of the tagset, avoiding the loop that the older patch used and with the additional benefit of working also for switching tagset with multiple tags selected.