[hackers][dwm][patch] statuscolors

2024-05-11 Thread Dr . André Desgualdo Pereira
Good day for everyone! <3

The dwm patch "statuscolors" has a bug. It ads a blank space at the right side 
of the status bar. It is worse the change of colors the status has. 
Example:

# normal:
xsetroot -name " a status full of info and different colors will have a long 
blank space on the right corner"

# almost an inch of right padding:
xsetroot -name " a status full of info and different colors will have 
a long blank space on the right corner"

Changing the line
tx += TEXTW(tp) -lrpad;
to
tx += TEXTW(tp) +1;

minimize the issue although it doesn't fix it completely. 

Best regards! <3
André.



Re: [hackers] help

2023-08-03 Thread Dr . André Desgualdo Pereira
That's a huge relief!

On 03/08/2023 12:29, Christopher Lang wrote:
> I was trying to subscribe to the mailing list but didn't get a response
> from  so I tried this. I think I have figured it
> out not though.
> Sorry if I pinged you. And I'm fine haha.
> PS. I'm sorry if this is html mail, still trying to set up a better email
> client.
> 
> On Thu, 3 Aug 2023 at 12:14, Dr. André Desgualdo Pereira 
> wrote:
> 
> > Can anyone track where Christopher is? Does anyone know a friend of him?
> > Maybe he was kidnapped or in risk of suicide. Maybe call local police?
> >
> > On 02/08/2023 23:10, Christopher Lang wrote:
> > > help
> >
> >
> >

-- 
Dr. André Desgualdo Pereira
Psiquiatra - CRM/SP: 120218 - RQE: 61032
WhatsApp: (11) 985-847-809 - email: des...@gmail.com
Consultório Lapa: Rua Clélia, 2208 - sala 307
Consultório Santana: Av. Gen. Ataliba Leonel, 93 - sala 61



Re: [hackers] help

2023-08-03 Thread Dr . André Desgualdo Pereira
Can anyone track where Christopher is? Does anyone know a friend of him? Maybe 
he was kidnapped or in risk of suicide. Maybe call local police?

On 02/08/2023 23:10, Christopher Lang wrote:
> help




[hackers] [dwm 6.4][movewithtag]

2023-01-23 Thread Dr . André Desgualdo Pereira
I'm submitting a new patch to be appreciated and included on suckless site if 
developers found this useful for users.
This patch differs from viewontag patch because instead of changing the 
original behavior of tagging a window, it creates a new function with modified 
behavior. The modified behavior consists of a shortcut to tag a window and 
focus on its new tag.
Thank you so much for all the amazing software of suckless. 

-- 
André Desgualdo Pereira
des...@gmail.com
-- 
--- config.def.h	2023-01-21 07:22:27.659019476 -0300
+++ config_patched.h	2023-01-21 07:22:19.669437199 -0300
@@ -50,6 +50,7 @@ static const Layout layouts[] = {
 	{ MODKEY,   KEY,  view,   {.ui = 1 << TAG} }, \
 	{ MODKEY|ControlMask,   KEY,  toggleview, {.ui = 1 << TAG} }, \
 	{ MODKEY|ShiftMask, KEY,  tag,{.ui = 1 << TAG} }, \
+	{ Mod4Mask, KEY,  movewithtag,{.ui = 1 << TAG} }, \ /* change the key to Mod1Mask if MODKEY is defined to Mod4Mask above */
 	{ MODKEY|ControlMask|ShiftMask, KEY,  toggletag,  {.ui = 1 << TAG} },
 
 /* helper for spawning shell commands in the pre dwm-5.0 fashion */
--- dwm.c	2023-01-21 07:17:05.453254514 -0300
+++ dwm_patched.h	2023-01-21 07:24:10.998189290 -0300
@@ -208,6 +208,7 @@ static void showhide(Client *c);
 static void sigchld(int unused);
 static void spawn(const Arg *arg);
 static void tag(const Arg *arg);
+static void movewithtag(const Arg *arg);
 static void tagmon(const Arg *arg);
 static void tile(Monitor *m);
 static void togglebar(const Arg *arg);
@@ -1670,6 +1671,18 @@ tag(const Arg *arg)
 	}
 }
 
+void
+movewithtag(const Arg *arg)
+{
+	if (selmon->sel && arg->ui & TAGMASK) {
+		selmon->sel->tags = arg->ui & TAGMASK;
+		focus(NULL);
+		arrange(selmon);
+		if((arg->ui & TAGMASK) != TAGMASK)
+			view(arg);
+	}
+}
+
 void
 tagmon(const Arg *arg)
 {