Re: [dev] [surf] Ctrl-Y doesn't copy url to clipboard

2022-08-03 Thread Mateusz Okulus
> When I start a blank installation of surf and try to copy any url into > my clipboard via ctrl-y (as stated in the man pages), it won't copy > anything at all. Is the man page outdated? Am I doing anything wrong? Do > I need to install some userscripts for this? Ctrl-y copies url into primary se

Re: [dev] cat -v

2022-01-30 Thread Mateusz Okulus
On 22/01/30 06:40PM, inasprec...@disroot.org wrote: > Why is cat -v considered bad? I see that people often bring up > this particular example as a way to illustrate bad extensions, but > what exactly makes it so? > cat stands for conCATenate, which means to link together. The purpose is to combi

Re: [dev]

2021-12-12 Thread Mateusz Okulus
Both attempts were wrong. To unsubscribe send a mail to: dev+unsubscr...@suckless.org Regards, mokulus signature.asc Description: PGP signature

Re: [dev][mage] ''suckless'' image viewer proyect

2021-12-05 Thread Mateusz Okulus
On 21/12/02 04:18PM, Fabián wrote: > Hello everyone. > > I'm working on an image viewer that uses ImLib2, just like sxiv, since > I'm not a fan of converting images just to view them. I've tried my > best to keep it simple and usable. > > My problem with sxiv is when I try to 'hack on'. I find it a

Re: [dev] [dwm] default window attaching behaviour

2021-11-29 Thread Mateusz Okulus
On 21/11/29 06:25PM, dther wrote: > I've been thinking about dwm's default behaviours, and one of them > that's always confused me is how newly attached windows, by default, > launch as the "master". Why is this the case? Intuitively, when I begin > working, I launch the most important program firs

Re: [dev] [st] Crash when displaying these characters

2021-08-20 Thread Mateusz Okulus
I haven't experienced any crashes after installing xft-bgra. For regular use this seems to be enough. Even then both dwm and st use libxft, and I'm fairly certain that there are no patches to replace it. There isn't a better alternative afaik. Regards, mat signature.asc Description: PGP signatur

Re: [dev] [st] Crash when displaying these characters

2021-08-18 Thread Mateusz Okulus
You need libxft-bgra. It's a bug in xft. Read https://git.suckless.org/st/file/FAQ.html for explanation. Notice that instead of disabling as in FAQ you can install this fork of xft which is what I recommend, because it'll also work on dwm, dmenu etc. Regards, mat signature.asc Description: PGP

Re: [dev] Auditing requiirement for sbase

2021-07-31 Thread Mateusz Okulus
On 21/07/30 10:42AM, EuAndreh wrote: > > but POSIX already sells such a set of unit tests. > > A curiosity of mine: was such test suite ran against sbase? > These are commercial tests, if you want to get certification. Something similar is available for C compilers, where you can buy test to see

Re: [dev] tabbed: Use PWD xprop to set workdir for spawned clients. Any clear cons?

2021-07-02 Thread Mateusz Okulus
As far as I know the process it to submit patches to hack...@suckless.org, where you can get some feedback and make improvements. On such a simple patch there is just not much to say. Then here https://suckless.org/wiki/ are instruction how to add a patch to the wiki. I'm sure it'll be accepted. I

Re: [dev] [dwm] Why should (or shouldn't) dwm have a spawn function?

2021-06-29 Thread Mateusz Okulus
On 21/06/29 03:38PM, Hadrien Lacour wrote: > The point of sxhkd isn't really itself, but having your daemon I/O completely > available through IPC. This is a big advantage, as it allows the most > power/freedom when interacting with it; especially through scripting. But scripting what exactly? Can

Re: [dev] [dwm] Why should (or shouldn't) dwm have a spawn function?

2021-06-29 Thread Mateusz Okulus
On 21/06/29 01:16AM, qsm...@tutanota.com wrote: > The existence of the spawn function in dwm surprises me. Wouldn't it > be more consistent with Suckless' values (simplicity, minimalism, > modularity) if the job of spawning commands were relegated to a hotkey > daemon, such as xbindkeys or sxhkd?

Re: [dev] [dmenu][docs] XLFD fonts are not supported

2021-06-05 Thread Mateusz Okulus
> Moreover, the source code has apparently been change such that the > variable name is now an array of strings and is called "fonts", not > "font". I ran 'git blame' and this has been changed in March 2015 in commit 14343e69. You can run 'fc-list | grep -i terminus' to get the font name on your

Re: [dev] less lines of code suck less

2021-05-07 Thread Mateusz Okulus
On 21/05/03 04:28PM, Greg Reagle wrote: > Would sbase suck less if the program head, which is currently a C program of > 77 lines, were replaced with something like > #!/bin/sh > sed "$1"q > > I know that it would need to be a bit more elaborate than that to handle the > -n flag, but still.

Re: [dev] [st] Use scroll with arguments

2020-07-05 Thread Mateusz Okulus
> As far as I see, its only possible to specify e.g. "scroll" but not "scroll > -m 1000" to limit the scrollback buffer size. You can try this. Look at execsh in st.c, find line using: grep -n ^execsh st.c Change: DEFAULT(args, ((char *[]) {prog, arg, NULL})); to: if(scroll) DEFAULT(ar

Re: [dev] [st] Use scroll with arguments

2020-07-03 Thread Mateusz Okulus
This patch has kscroll{up,down} that takes an argument. https://st.suckless.org/patches/scrollback/ Regards, mat signature.asc Description: PGP signature