Commit graph

1792 commits

Author SHA1 Message Date
e4e38120dd Improve the code 🥰 2022-04-28 00:14:11 +02:00
173841a5a3 Improve the brightness controller 2022-04-27 22:58:58 +02:00
005e319490 Improve sound controll 2022-04-27 22:53:34 +02:00
e47b3d4f08 Fix nitrogen auto start command 2022-04-27 22:47:22 +02:00
55568d7f2e Improve the code 😃 2022-04-25 17:49:06 +02:00
0141acebe5 Improve the code 😃 2022-04-25 17:40:50 +02:00
cbcfedc39a
fix Permission🤐 2022-04-25 17:29:34 +02:00
4ab8719042
Merge pull request #3 from Anas-Elgarhy/Anas-Elgarhy-patch-1
Add sudo
2022-04-25 17:27:38 +02:00
9515f34a45
Add sudo 2022-04-25 17:27:28 +02:00
9028b205c1
Merge pull request #2 from Anas-Elgarhy/Anas-Elgarhy-patch-1
Update c-cpp.yml
2022-04-25 17:26:12 +02:00
7085778d4e
Update c-cpp.yml
fix
2022-04-25 17:25:58 +02:00
e0bb9e3add
Merge pull request #1 from Anas-Elgarhy/Anas-Elgarhy-patch-1
Create c-cpp.yml
2022-04-25 17:21:35 +02:00
37aa08be39
Create c-cpp.yml 2022-04-25 17:21:25 +02:00
f735bad5c0 Fix 2022-04-25 17:06:38 +02:00
2bd2044403 Add emoji selector keybiding 2022-04-25 16:26:22 +02:00
a4b6f58d12 Add gui file manager kay biding 2022-04-25 16:22:41 +02:00
c4fd2e3099 Add rofi key biding 2022-04-25 16:08:28 +02:00
2504958328 Add picom to auto start array 2022-04-25 15:45:31 +02:00
21b402cc3d Add xcompmgr to auto start array 2022-04-25 14:50:57 +02:00
72b9879f2d Add auto start prog 2022-04-25 14:40:12 +02:00
dc81ec5ff4 Add cool auto start patch 🤖😎 2022-04-25 14:34:26 +02:00
05a4baef3d Remove autostart patch 2022-04-25 14:26:56 +02:00
31672c592c Add kde locker shortcut 2022-04-25 14:19:00 +02:00
2c1ee1cb64 Fix conflict 2022-04-24 09:47:37 +02:00
a0fd0244e1 Format 2022-04-24 09:42:00 +02:00
a7287f85d0 Add more key biding,, and improve the code :D 2022-04-24 09:36:28 +02:00
1b0fb061e7 Add scrren shot controller 2022-04-24 09:08:54 +02:00
831fd5e34e Add mic controll (mute/unmute) 2022-04-24 09:03:26 +02:00
9fe0d0ce2f Add media controllers (play/pause/next/prev) 2022-04-24 08:41:36 +02:00
e2ba87c4ae Add lock screen key byding 2022-04-24 07:49:33 +02:00
6bf1e2fbcd Add pertag patch 2022-04-24 06:45:15 +02:00
aef49fcc62 Add mov stack patch 2022-04-24 06:39:23 +02:00
6679c4349b Improve the code 2022-04-24 05:20:49 +02:00
1f62715b3b Add full screen patch 2022-04-24 04:24:40 +02:00
ee71a90f5a Applay auto start patch 2022-04-24 04:14:38 +02:00
4d1324afc0 Remove garbage binary files 2022-04-24 03:44:02 +02:00
00b064f18f Add auto start patch .diff 2022-04-24 03:42:23 +02:00
5d1a1a5bd7 Add git ignore file 2022-04-24 03:40:45 +02:00
01cb07cf2c Add always center patch 2022-04-24 03:32:12 +02:00
2c44d61f86 Fix system try patch 2022-04-23 23:59:02 +02:00
199660ad26 Add system tray patch 2022-04-23 23:54:50 +02:00
2b107eba86 Increse icons font size 2022-04-23 11:32:20 +02:00
0e681c7682 Improve 2022-04-23 09:09:44 +02:00
ade282da4d Fix 2022-04-23 08:09:52 +02:00
4073cce4a0 Add gap 2022-04-23 08:07:45 +02:00
f7d77c682c Add font awsome and set size to 11 2022-04-23 08:03:58 +02:00
c9f9a18ded Add base configs 2022-04-23 07:48:31 +02:00
Santtu Lakkala
d93ff48803 Update monitor positions also on removal
When monitors are removed, the coordinates of existing monitors may
change, if the removed monitors had smaller coordinates than the
remaining ones.

Remove special case handling so that the same update-if-necessary loop
is run also in the case when monitors are removed.
2022-04-16 16:59:03 +02:00
Chris Down
8806b6e237 manage: propertynotify: Reduce cost of unused size hints
This patch defers all size hint calculations until they are actually
needed, drastically reducing the number of calls to updatesizehints(),
which can be expensive when called repeatedly (as it currently is during
resizes).

In my unscientific testing this reduces calls to updatesizehints() by
over 90% during a typical work session. There are no functional changes
for users other than an increase in responsiveness after resizes and
a reduction in CPU time.

In slower environments or X servers, this patch also offers an
improvement in responsiveness that is often tangible after resizing a
client that changes hints during resizes.

There are two main motivations to defer this work to the time of hint
application:

1. Some clients, especially terminals using incremental size hints,
   resend XA_WM_NORMAL_HINTS events on resize to avoid fighting with the
   WM or mouse resizing. For example, some terminals like urxvt clear
   PBaseSize and PResizeInc during XResizeWindow and restore them
   afterwards.

   For this reason, after the resize is concluded, we typically receive
   a backlogged XA_WM_NORMAL_HINTS message for each update period with
   movement, which is useless. In some cases one may get hundreds or
   thousands of XA_WM_NORMAL_HINTS messages on large resizes, and
   currently all of these result in a separate updatesizehints() call,
   of which all but the final one are immediately outdated.

   (We can't just blindly discard these messages during resizes like we
   do for EnterNotify, because some of them might actually be for other
   windows, and may not be XA_WM_NORMAL_HINTS events.)

2. For users which use resizehints=0 most of these updates are unused
   anyway -- in the normal case where the client is not floating these
   values won't be used, so there's no need to calculate them up front.

A synthetic test using the mouse to resize a floating terminal window
from roughly 256x256 to 1024x1024 and back again shows that the number
of calls to updatesizehints() goes from over 500 before this patch (one
for each update interval with movement) to 2 after this patch (one for
each hint application), with no change in user visible behaviour.

This also reduces the delay before dwm is ready to process new events
again after a large resize on such a client, as it avoids the thundering
herd of updatesizehints() calls when hundreds of backlogged
XA_WM_NORMAL_HINTS messages appear at once after a resize is finished.
2022-04-16 16:37:46 +02:00
Miles Alan
bece862a0f manage: For isfloating/oldstate check/set, ensure trans client actually exists
In certain instances trans may be set to a window that doesn't actually
map to a client via wintoclient; in this case it doesn't make sense
to set isfloating/oldstate since trans is essentially invalid in that
case / correlates to the above condition check where trans is set /
XGetTransientForHint is called.
2022-03-13 17:32:56 +01:00