Commit graph

1914 commits

Author SHA1 Message Date
f3b2844966
[improve] Move the makefile into the prolect scope 2023-05-11 03:22:27 +03:00
a86f296efc
[update] Remove the unsercy atuo start programs 2023-05-11 02:18:04 +03:00
0a99c90162
[doc] Update the readme 2023-05-11 02:06:09 +03:00
75ec761539
[fix] Remove the outdated color.h from CMakeLists.txt 2023-05-11 01:59:46 +03:00
8c61745f12
Merge pull request #17 from anas-elgarhy/change-binary-name
[update] Change the binary file name from `dwm` to `yo-dwm`
2023-05-11 01:53:15 +03:00
55540e5b4f
[update] Change the binary file name from dwm to yo-dwm 2023-05-11 01:49:12 +03:00
cfaef82513
[fix] fix the helpers scripts path 2023-05-10 02:55:06 +03:00
0aa1ecc3ef
[update] Make the status bar at the bottom and make the font even smaller and remove the unproper autostart programs 2023-05-10 02:45:18 +03:00
7d4a8b9999
[config/update] Update setxkbmap options 2023-04-29 16:34:48 +02:00
248f2db087
[config/update] Just add picom to autostat array 2023-04-29 16:27:42 +02:00
a23133608a
[update] Use the dracula theam 2023-04-17 08:25:20 +02:00
639c18a095
Return the mod key to the super key agine :) 2023-03-04 12:12:51 +02:00
19e9f24391
Merge branch 'master' of github.com:anas-elgarhy/yo-dwm 2023-03-01 12:24:42 +02:00
cd8f5d4709
Update cmus startup command for convenience 2023-03-01 12:23:49 +02:00
mergify[bot]
c3cf0921ca
Merge pull request #14 from anas-elgarhy/renovate/configure
Configure Renovate
2023-03-01 09:59:38 +00:00
3d3786d1e6
Remove outdated keybindings section from README.md 2023-03-01 11:57:49 +02:00
706bf5e4fb
Remove screenshots from README.md 2023-03-01 11:57:11 +02:00
cb6f0a2a8d
Merge remote-tracking branch 'origin/master' 2023-03-01 11:49:10 +02:00
0a5df92d57
Update modifier key to Caps Lock 2023-03-01 11:46:36 +02:00
8b3f357191
Merge pull request #15 from anas-elgarhy/mergify/anas-elgarhy/config-update
ci(Mergify): configuration update
2023-01-29 00:26:22 +02:00
4cf5dccdf0 ci(Mergify): configuration update
Signed-off-by: Anas Elgarhy <anas.elgarhy.dev@gmail.com>
2023-01-29 00:25:59 +02:00
renovate[bot]
0f989c8121
Add renovate.json 2023-01-28 21:56:17 +00:00
e18c162967 Fix some worinnigs 2022-11-01 19:48:08 +02:00
989751701d Improve the keybindings :} 2022-11-01 19:47:19 +02:00
37ce41dd6d Add more rules :n 2022-11-01 18:26:31 +02:00
5bb7487b40 Remove unused keys :) 2022-11-01 14:09:23 +02:00
20b68c338c Add spotify rule 2022-11-01 14:08:42 +02:00
Anas Elgarhy
0f72e5c31c
Merge pull request #13 from anas-elgarhy/improve-code
Improve the code and re format it :]
2022-10-31 19:29:07 +02:00
66047b2404 Remove the webbrowser macro 2022-10-31 19:25:39 +02:00
40b65a0171 Fixx the rules :P 2022-10-31 19:10:19 +02:00
5c398adf74 Remove garbage files 2022-10-31 17:19:51 +02:00
a7d9d11968 Add dracula theme and fix the rules 2022-10-31 17:08:04 +02:00
99f899be42 Create a basice run configration 2022-10-31 16:05:04 +02:00
50e80e07ed :\ 2022-10-31 15:44:30 +02:00
46dc9cead8 Create git ignore file :U 2022-10-31 15:40:19 +02:00
6eb5fee7de Remove the garbage files :) 2022-10-31 15:35:46 +02:00
6099f19a49 More format and more improve :D 2022-10-31 15:25:39 +02:00
44f85c76ec Improve yoo 2022-10-31 13:32:01 +02:00
0f156ff3a9 Improve the code and reformat it 2022-10-31 07:53:51 +02:00
Hiltjo Posthuma
ba56fe9fea Revert "Remove dmenumon variable"
This reverts commit c2b748e793.

Revert back this change. It seems to not be an edge-case anymore since
multiple users have asked about this new behaviour now.
2022-10-28 16:37:56 +02:00
59fa9423b5 Update stuff :) 2022-10-27 19:34:21 +02:00
c3cc2c4567 Remove the garbage files 2022-10-27 17:57:09 +02:00
b1e403689f Merge branch 'master' of git://git.suckless.org/dwm 2022-10-27 17:54:10 +02:00
Hiltjo Posthuma
50ad171eea bump version to 6.4 2022-10-04 19:35:13 +02:00
9cf8ec6fa8 Merge branch 'master' of git://git.suckless.org/dwm 2022-09-26 16:36:10 +02:00
Hiltjo Posthuma
970f376973 remove workaround for a crash with color emojis on some systems, now fixed in libXft 2.3.5
https://gitlab.freedesktop.org/xorg/lib/libxft/-/blob/libXft-2.3.5/NEWS
2022-09-17 15:32:41 +02:00
3d6ccec653 Use cmus-rpc-rs yoo 🥰 2022-08-31 16:12:07 +02:00
Stein
c2b748e793 Remove dmenumon variable
Reasoning: Since 2011 dmenu has been capable of working out which
monitor currently has focus in a Xinerama setup, making the use
of the -m flag more or less redundant.

This is easily demonstrated by using dmenu in any other window
manager.

There used to be a nodmenu patch that provided these changes:
https://git.suckless.org/sites/commit/ed68e3629de4ef2ca2d3f8893a79fb570b4c0cbc.html

but this was removed on the basis that it was very easy to work
out and apply manually if needed.

The proposal here is to remove this dependency from dwm. The
mechanism of the dmenumon variable could be provided via a patch
if need be.

The edge case scenario that dmenu does not handle on its own, and
the effect of removing this mechanism, is that if the user trigger
focusmon via keybindings to change focus to another monitor that
has no clients, then dmenu will open on the monitor containing the
window with input focus (or the monitor with the mouse cursor if
no windows have input focus).

If this edge case is important to cover then this can be addressed
by setting input focus to selmon->barwin in the focus function if
there is no client to give focus to (rather than giving focus back
to the root window).
2022-08-28 11:39:43 +02:00
NRK
84d7322113 config.def.h: make keys and buttons const
pretty much all other variables are declared as const when they're not
modified.
2022-08-19 11:47:22 +02:00
Stein
5799dd1fca Remove blw variable in favour of calculating the value when needed
The purpose and reasoning behind the bar layout width (blw) variable
in dwm the way it is today may not be immediately obvious.

The use of the variable makes more sense when looking at commit
2ce37bc from 2009 where blw was initialised in the setup function
and it represented the maximum of all available layout symbols.

	for(blw = i = 0; LENGTH(layouts) > 1 && i < LENGTH(layouts); i++) {
		w = TEXTW(layouts[i].symbol);
		blw = MAX(blw, w);
	}

As such the layout symbol back then was fixed in size and both drawbar
and buttonpress depended on this variable.

The the way the blw variable is set today in drawbar means that it
merely caches the size of the layout symbol for the last bar drawn.

While unlikely to happen in practice it is possible that the last bar
drawn is not that of the currently selected monitor, which can result
in misaligned button clicks if there is a difference in layout symbol
width between monitors.
2022-08-17 13:33:57 +02:00