in
implementing this, as it enables other programs to know which monitor is
currently focused (I had asked about this like a week ago, and this
seems like a good solution).
I'm not sure though how to implement it. My guess is that the command
`XSetInputFocus(dpy, root, RevertToPointerRoot,
e
> is no client to give focus to (rather than giving focus back to the
> root window).
Even though the commit has been reverted, I am still interested in
implementing this, as it enables other programs to know which monitor is
currently focused (I had asked about this like a week ago, and th
On 23/01/16 12:10pm, NRK wrote:
> On Sun, Jan 15, 2023 at 06:28:55PM +0900, A Farzat wrote:
> > 2- In the view() function, there is this line:
> > ```c
> > selmon->seltags ^= 1; /* toggle sel tagset */
> > ```
> > What is the purpose of this line? In fact, w
() and toggleview() functions, focus(NULL) is called first
and then arrange(selmon). In the patch however, arrange() is called on
all the monitors before calling focus(NULL). Is that OK, or is there a
significance to the order of calling these functions?
2- In the view() function, there is this line
On 23/01/12 11:35am, Gauthier Östervall wrote:
> On Sun, 8 Jan 2023 at 11:21, A Farzat wrote:
> >
> > Is there a way to obtain the currently focused monitor in dwm? I want to
> > use it in my script to control which monitor gets its brightness
> > modified.
>
>
On 23/01/08 11:32am, Hiltjo Posthuma wrote:
> On Sun, Jan 08, 2023 at 07:19:10PM +0900, A Farzat wrote:
> > Is there a way to obtain the currently focused monitor in dwm? I want to
> > use it in my script to control which monitor gets its brightness
> > modified.
> &g
Is there a way to obtain the currently focused monitor in dwm? I want to
use it in my script to control which monitor gets its brightness
modified.
Regards,
Farzat
signature.asc
Description: PGP signature
2020-02-20 14:15 GMT-03:00, Reiner Herrmann :
> On Thu, Feb 20, 2020 at 02:05:01PM -0300, Renato A. Galvão wrote:
>> >>> surf: execvp x-terminal-emulator failed: Permission denied
>>
>> There is an apparmor file,
>>
>> /etc/apparmor.d/usr.bin.surf
>
2020-02-20 11:33 GMT-03:00, Renato A. Galvão :
> 2020-02-20 10:35 GMT-03:00, Greg Reagle :
>> On Thu, Feb 20, 2020, at 08:26, Renato A. Galvão wrote:
>>> I use the packaged version buster (stable) of surf in Debian.
>>>
>>> While trying to make any download I
2020-02-20 10:35 GMT-03:00, Greg Reagle :
> On Thu, Feb 20, 2020, at 08:26, Renato A. Galvão wrote:
>> I use the packaged version buster (stable) of surf in Debian.
>>
>> While trying to make any download I'm receiving this:
>>
>> surf: execvp x-terminal-emul
Dear developers,
I use the packaged version buster (stable) of surf in Debian.
While trying to make any download I'm receiving this:
surf: execvp x-terminal-emulator failed: Permission denied
My mistake, I meant "later than 6.2".
On February 4, 2019 12:31:58 PM UTC, Nick wrote:
>Quoth inasprecali:
>> Thanks for the effort. Actually, I just found out that a "historical"
>patch exists, which seems
>> to include you as a contributor:
>https:
Very nice. Hopefully there will be patches to restore xft support in case it's
wanted.
Best regards.
On Sun, 3 Feb 2019 13:33:41 -0800
Anselm Garbe wrote:
> Hi there,
>
> I'm glad to announce new dwm and dmenu releases:
>
> * dwm-6.2: https://dl.suckless.org/dwm/dwm-6.2.tar.gz
> * dmenu-4.9:
Hey suckless folks,
while reading the code for df.c, I realised it uses a specialised function
to print human-readable output, print_human(). It mostly replicates the code
of libutils human.c, not yet present in ubase.
Here is a patch that replaces print_human() with calls to humansize().
Also
On March 3, 2015 5:21:04 PM PST, Roger wrote:
>ST appears to compile and run fine on 64 bit and 32 bit platorms,
>except on 32
>bit (i686/pentium3), typing is extremely slow.
Try adjusting xfps and actionfps. When I had this issue on a 32 bit machine, I
seem to remember changing f
Hey Roberto, I'm going to stop due to FRIGNs request.
I do find your feedback interesting, and most of your points valid. Thank you
very much.
27;t use inetd
- surf: depends on webkit for most stuff
- dwm: X11 API
Why aren't these communicating with stdin or stdout?
The reality is that sometimes you have to interface with complex APIs, and a
simple way of testing your own code is to abstract or mock the aspects of these
APIs that your pr
regressions in the test output compared to the expected test output.
What if you're trying to test a program that requires network connectivity?
It'd be good to be able to mock the networking stuff.
I've played a bit with caddeus (https://github.com/alvarezp/caddeus), the thing
I like about it is that it fits in a single GNU make makefile.
le for key-bindings are also available
as
fifo command.
Thanks!
--
Peter A. Shevtsov
ates new client OK
When I do
echo togglemouse > /tmp/dvtmfifo
it doesn't work
Also when I do
echo focusn 2 > /tmp/dvtmfifo
or
echo setmfact "+0.05" > /tmp/dvtmfifo
it doesn't work nither.
Thanks!
--
Peter A. Shevtsov
On Fri, Nov 1, 2013 at 3:19 AM, A wrote:
> On Fri, Nov 1, 2013 at 2:22 AM, patrick295767 patrick295767
> wrote:
>>
>> I believe that OFTC is not along the suckless philosophy somehow.
>>
> And why is that?
>
On 11/06/13 at 09:18am, Alex Pilon wrote:
> Any body know of a suckless method of using IMAP mostly
> offline/disconnected? Offlineimap sucks and is brittle.
I'm quite happy with fdm[1].
[1] http://fdm.sourceforge.net/
--
Peter A. Shevtsov
no luck with web inspector :(
--
Peter A. Shevtsov
#x27;t respond, so I have to kill
its
process.
Thanks.
[0]
http://crux.nu/gitweb/?p=ports/contrib.git;a=blob_plain;f=webkit/Pkgfile;hb=3.0
[1] http://surf.suckless.org/
[2]
https://bitbucket.org/severusweb/ports/raw/71cadb6e225ebf2b650974630cdfb9560a6915d9/surf/Pkgfile
--
Peter A. Shevtsov
On 04/04/13 at 04:33pm, Chris Down wrote:
> This has been discussed on the mailing list many times before, please
> search before posting.
>
> Chris
Oh, it was in the FAQ! Sorry for the noise :(
--
Peter A. Shevtsov
Greetings!
A day or two ago I updated st (as 0.4 was released) and found out that "Delete"
key
ain't working anymore in bash and vim (probably in other console apps too).
When in st I run cat -v and hit "Delete" key I get the following output:
^[[P
while in xterm and
but in the other webkit-based browsers (except chromium,
but
it ain't built on webkitgtk).
Can anybody share the configuration flags for building webkitgtk with working
web
inspector.
Thanks!
--
Peter A. Shevtsov
On 11/02/13 at 08:57am, Gregor Best wrote:
> On Mon, Feb 11, 2013 at 01:11:53PM +0700, Peter A. Shevtsov wrote:
> > [...]
> > I've tried all other Ctrl-Shift hotkeys and they all work fine. I also
> > redefined Web
> > Inspector to Ctrl-t and its behavior remains t
On 11/02/13 at 06:38am, Christoph Lohmann wrote:
> Greetings.
>
> First: That one is hard to debug.
>
> On Mon, 11 Feb 2013 06:38:07 +0100 "Peter A. Shevtsov"
> wrote:
> > Hello!
> >
> > It seems that new Web Inspector feature ain't work
hen I press the keys
combination for
the third time, Web Inspector pane dissapears.
[1] http://ompldr.org/vaGZlcQ
--
Peter A. Shevtsov
On 22/01/13 at 02:32pm, Peter A. Shevtsov wrote:
> It seems that it counts every cyrillic letter as two, i. e. it ain't count
> letters
> (or runes) but bytes.
Indeed,
echo latin кириллица | /usr/local/plan9/bin/awk '{printf("%d %d\n", length($1),
length($2))}'
5 18
Hello,
I've found the bug in 9base's awk. It seems that printf works incorrectly with
utf-8
strings. The way it counts string lengs is weird:
echo latin кириллица | /usr/local/plan9/bin/awk '{printf("[%20s][%20s]\n", $1,
$2)}'
and the output is:
[ latin][ кириллица]
It seems t
bnwr on #suckless irc suggested two more variants:
One, without bc forks -- http://vpaste.net/E91PL
And another one as recursive function -- http://vpaste.net/tgCMz
Hello,
I've made a simple associative arrays implementation in rc shell script.
Thanks to bnwr on irc for the idea with odd and even indices.
What do you think?
I'm rc newbie and would like to improve my skills. Any feedback would be
appreciated.
Thanks!
#!/usr/local/plan9/bin/rc
p
On 26/12/12 at 05:41pm, Chris Hall wrote:
> On Wed, Dec 26, 2012 at 4:04 PM, Peter A. Shevtsov
> wrote:
> > that xssstate is redundant in your perfect world where xautolock and xidle
> > exists!
> The latter 2 suck hard, xssstate is useful in scripting and allows me
> to
On 25/12/12 at 09:51pm, Chris Hall wrote:
> if you have synclient installed then enabling is synclient TouchpadOff=0
> and disabling is synclient TouchpadOff=1
>
> you can read the state via synclient -l
> I have a few lines of sh bound to mod-n to toggle.
>
> I really don&
On 24/12/12 at 06:23pm, Comrade DOS wrote:
> 2012/12/24 Peter A. Shevtsov
>
> > Hello,
> >
> > I've just finished the small utility to toggle state of synaptics
> > touchpad. Maybe
> > some of you would find it useful. But first of all, I'd like you
Hello,
I've just finished the small utility to toggle state of synaptics touchpad.
Maybe
some of you would find it useful. But first of all, I'd like you to review my
code
(I'm not so good at C, actually).
syntog is available in here - https://bitbucket.org/severusweb/syntog/src
Thanks!
Hello,
I've noticed recently that WebKit tries to load favicon.ico even if there is no
mention about it in HTML page's head section. Since surf doesn't show favicons
I made
the patch to prevent WebKit to download favicons.
diff --git a/surf.c b/surf.c
index b69c615..e95658b 1006
On 26/11/12 at 09:23pm, Galos, David wrote:
> I've attached a patch which allows 9base to be compiled with the
> musl-libc, when CC=musl-gcc and -D__MUSL__ is added to the CFLAGS.
>
> It's trivial stuff, a few missing headers, a couple changed function
> calls, and
On 26/11/12 at 09:23pm, Galos, David wrote:
> I've attached a patch which allows 9base to be compiled with the
> musl-libc, when CC=musl-gcc and -D__MUSL__ is added to the CFLAGS.
>
> It's trivial stuff, a few missing headers, a couple changed function
> calls, and
ettings and those changes made st display
fonts
differently. So, I propose the following patch where st uses system/user
fontconfig
settings.
Or am I missing something?
diff -r c36c787389f4 config.def.h
--- a/config.def.h Sat Oct 06 13:45:14 2012 +0200
+++ b/config.def.h Sat Oct 06 20:
On 05/10/12 at 04:10pm, Peter A. Shevtsov wrote:
> Hello.
>
> On 05/10/12 at 10:30am, Christoph Lohmann wrote:
> > Hello.
> >
> > On Fri, 05 Oct 2012 10:30:04 +0200 "Peter A. Shevtsov"
> > wrote:
> > > And another one.
> > >
&
Hello.
On 05/10/12 at 10:30am, Christoph Lohmann wrote:
> Hello.
>
> On Fri, 05 Oct 2012 10:30:04 +0200 "Peter A. Shevtsov"
> wrote:
> > And another one.
> >
> > Since it was corrected in changeset 345 it seems that it should be done
> > once m
And another one.
Since it was corrected in changeset 345 it seems that it should be done once
more.
diff -r f80a970a2fda st.c
--- a/st.c Fri Oct 05 09:38:10 2012 +0200
+++ b/st.c Fri Oct 05 14:54:00 2012 +0700
@@ -2193,7 +2193,6 @@
if(base.mode & ATTR_REV
Hello,
I've noticed that underlined text displays incorrect in the recent st hg tip. So
I made this patch.
diff -r 097a8580d33c st.c
--- a/st.c Thu Oct 04 22:59:45 2012 +0200
+++ b/st.c Fri Oct 05 14:39:03 2012 +0700
@@ -2234,7 +2234,7 @@
winy + font-&g
Here is the patch for version 6.0.
diff -up dwm-6.0/dwm.c dwm-6.0-wired/dwm.c
--- dwm-6.0/dwm.c 2011-12-19 10:02:46.0 -0500
+++ dwm-6.0-wired/dwm.c 2012-06-04 23:40:45.0 -0400
@@ -103,6 +103,7 @@ typedef struct {
unsigned long sel[ColLast];
Drawable drawable;
I forward X halfway around the world and the mouse move/resize as implemented
in dwm brings things to a screeching halt.
I noticed that the non-solid move/resize in evilwm works much better because
it doesn't demand the client to redraw a billion times as you drag the mouse
because it
Here's just another example of the evils of glibc.
I was linking an executable statically on Red Hat Enterprise 5.5 and got this
message:
warning: Using 'gethostbyname' in statically linked applications requires at
runtime the shared libraries from the glibc version used for linking
They've
I'm running OpenBSD 4.6 and:
which arch
/usr/bin/arch
strings /usr/bin/arch
...
$OpenBSD: arch.c,v 1.11 2004/05/09 03:20:45 deraadt Exp $
which head
/usr/bin/head
strings /usr/bin/head
...
$OpenBSD: head.c,v 1.14 2007/10/31 16:29:50 jmc Exp $
... etc
So I think you may be missing something.
R
John A. Grahor wrote:
> I'd like a terminal emulator that has a "dumb" terminal mode, i.e. where
> line editing can happen locally and what one types is only sent to the tty
> when one hits return (or some other key).
Or better; 9term:s hold mode, I would like this too.
I'd like a terminal emulator that has a "dumb" terminal mode, i.e. where line
editing can happen locally and what one types is only sent to the tty when
one hits return (or some other key).
I use ssh to connect to hosts with very slow, high latency satellite links.
It is exce
Tabs is a variation on the taskbar pattern. If you want a
taskbar, use a taskbar.
However, you might need to write a suckless one. =P
-- Sebastian
I'm guessing they use nickserv. If so you need to message your
password to nickserv.
More info:
http://www.technerd.net/nickserv.html
Run this:
:m nickserv identify
-- Sebastian
55 matches
Mail list logo