213 Commits

Author SHA1 Message Date
Sravan Balaji
624a879ef2 Support for IPC Command to Quit/Restart 2023-04-30 11:47:29 -04:00
Sravan Balaji
319e414e85 Merge remote-tracking branch 'upstream/master' 2022-10-30 18:54:42 -04:00
bakkeby
ad56835713 Bump to ba56fe9.
Revert "Remove dmenumon variable"

This reverts commit c2b748e7931e5f28984efc236f9b1a212dbc65e8.

Revert back this change. It seems to not be an edge-case anymore since
multiple users have asked about this new behaviour now.

Ref.
https://git.suckless.org/dwm/commit/ba56fe9fea0a28d8184a727a987836a0903e2682.html
2022-10-30 10:32:43 +01:00
Sravan Balaji
04410cb6a9 Merge remote-tracking branch 'upstream/master' 2022-10-15 10:20:39 -04:00
bakkeby
cc58ad2ef4 Adding alt-tab patch ref. #303 2022-10-08 22:35:04 +02:00
Sravan Balaji
a7c292b7c3 Merge remote-tracking branch 'upstream/master' 2022-09-01 21:18:41 -04:00
bakkeby
2c180b8d9c Bump to c2b748e.
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).

Ref.
https://git.suckless.org/dwm/commit/c2b748e7931e5f28984efc236f9b1a212dbc65e8.html
2022-08-29 21:49:41 +02:00
bakkeby
88eb89ab0d Roll back const change for IPCCommands 2022-08-29 21:37:43 +02:00
Sravan Balaji
2624516bde Merge remote-tracking branch 'upstream/master' 2022-08-28 15:54:58 -04:00
bakkeby
90f9b2d982 Bump to 84d7322.
config.def.h: make keys and buttons const

Pretty much all other variables are declared as const when they're not
modified.

Ref.
https://git.suckless.org/dwm/commit/84d7322113c2bf023f5eaa8537fb0e72d4105046.html
2022-08-21 10:33:53 +02:00
bakkeby
b93a5de558 Expose showhideclient to external tools (fsignal, IPC) ref #287 2022-08-13 16:24:55 +02:00
Sravan Balaji
ed439ddee4 Merge remote-tracking branch 'upstream/master' 2022-08-12 17:17:10 -04:00
bakkeby
c438eabdc2 Adding nametag patch 2022-08-12 13:47:25 +02:00
Sravan Balaji
de6e519b9a Merge remote-tracking branch 'upstream/master' 2022-08-07 13:54:43 -04:00
bakkeby
2e496ed931 dwmc: adding string support ref. #284 2022-08-01 10:37:19 +02:00
Sravan Balaji
239be5e070 Merge remote-tracking branch 'upstream/master' 2022-07-05 20:40:31 -04:00
Stein Gunnar Bakkeby
5f7df0b0dc
Adding tagpreview patch (#271) 2022-07-05 14:55:42 +02:00
Sravan Balaji
782b5650b2 Merge remote-tracking branch 'upstream/master' 2022-07-04 14:10:42 -04:00
bakkeby
197c218304 Adding shiftswaptags patch ref. #270 2022-07-04 13:56:39 +02:00
bakkeby
d3ab291944 Adding shiftboth patch ref. #270 2022-07-04 13:45:06 +02:00
bakkeby
279c571986 Adding shifttagclients patch ref. #270 2022-07-04 13:07:36 +02:00
bakkeby
a15a259926 Adding shifttag patch ref. #270 2022-07-04 11:28:23 +02:00
Sravan Balaji
9706cb9cf7 Merge remote-tracking branch 'upstream/master'
- Add renamed scratchpads patch
- hide systray when there are no systray icons to show
2022-07-01 16:38:19 -04:00
bakkeby
2f70c42aab Adding renamed scratchpads patch 2022-06-20 14:00:09 +02:00
Sravan Balaji
3eddc34482 Replace Self Restart with Restart Sig
- Disable self restart patch
- Enable restart sig patch again
- Replace "Ferdi" window rule with "Ferdium"
2022-06-18 08:07:15 -04:00
Sravan Balaji
5053183365 Enable Seamless & Self Restart Patches
- Disable restart signal patch (external method of controlling dwm)
- Enable seamless restart patch (preserve wm settings across restart)
- Enable self restart patch (internal method of controlling dwm)
- Update self restart keybinding to be same as restart sig
2022-06-17 14:14:55 -04:00
Sravan Balaji
8b40395af8 Fix missing line in barrules 2022-05-21 12:03:27 -04:00
Sravan Balaji
fb5b3c421c Merge remote-tracking branch 'upstream/master' 2022-05-21 11:42:06 -04:00
Sravan Balaji
46abde8de4 Trackma-gtk Auto-Assign Tag
- Add window rule for trackma-gtk to move to tag 9
2022-05-18 18:00:22 -04:00
Bagellll
ae67378b20
Tag-Sync patch (for syncing tags across all monitors) (#219)
* Tag-Sync patch
* Major compatibility updates
* SWITCHTAG/TAGSYNC compatibility
* tagsync: refactoring

Co-authored-by: bakkeby <bakkeby@gmail.com>
2022-02-11 16:57:53 +01:00
Sravan Balaji
b91974c9e6 Brightness Control Script + Keybinding
- Add keybinding for brightness control script
2022-01-11 12:06:25 -05:00
bakkeby
0a4e6de597 Add a configuration option for fullscreen locking
Some people are annoyed to have this new behaviour forced for some
application which use fake fullscreen.

Ref. https://git.suckless.org/dwm/commit/138b405f0c8aa24d8a040cc1a1cf6e3eb5a0ebc7.html
2022-01-10 17:18:45 +01:00
bakkeby
a9078fdb4d Adding underlinetags patch ref. #199 2021-11-23 22:49:27 +01:00
bakkeby
63fed59d19 Adding taglabels patch ref. #199 2021-11-23 22:36:53 +01:00
bakkeby
67fc80803d onlyquitonempty: refactoring patch to only take client windows into
consideration when deciding whether or not to allow dwm to quit

As per the original patch
https://dwm.suckless.org/patches/onlyquitonempty/

it used XQueryTree to get a count of the number of windows open to
determine whether to allow the window manager to exit.

This meant that the empty quit count variable would have to take
into account background windows such as the bar, which has side
effects like plugging in another monitor could mean that you would
not longer be allowed to quit dwm until the monitor is removed.

Likewise a systray and each systray icon would give a +1 to the
number of windows in the system.

This is unintuitive to understand and convoluted to explain, hence
the refactoring here to use the more sane approach of only counting
the number of client windows that the window manager manages.

This is an old idea which was intentionally not added to
dwm-flexipatch due to the aim of staying true to the original patch
(as in if you were to patch that manually you would get the same
experience as you had when trying the patch out in dwm-flexipatch).

This is ref. discussion in #194.
2021-10-31 13:45:18 +01:00
Sravan Balaji
5210734ec6 Merge remote-tracking branch 'upstream/master'
- upstream/master onlyquitonempty + cool_autostart: adding proposed compatibility improvements ref. #194
- noborder: addressing issue reported in #193
- fodcusadjacenttag: Add selmon->sel guards for tagandviewtoleft/right to prevent segmentation faults ref. #191
- Use 'pgrep -o' instead of 'pidof -s' to get the PID of status bar
- Add a statusallmons and staticstatus easily toggleable in patches.h ref. #188
2021-10-30 09:52:22 -04:00
bakkeby
e68f434944 Add a statusallmons and staticstatus easily toggleable in patches.h ref. #188 2021-10-07 11:46:31 +02:00
Sravan Balaji
2907b9eefe Enable Deck Layout
- Enable deck layout patch
- Add keybinding to switch to deck layout and unfloat to deck layout
- Update grid layout index
2021-09-25 14:02:06 -04:00
Sravan Balaji
f11543b791 Add Window Tag Rules
- Add rules so certain windows appear on certain tags when initially launched
2021-09-19 09:24:06 -04:00
Sravan Balaji
7e400024de Trackpad Toggle Keybinding
- Add keybinding to toggle touchpad
2021-09-19 09:24:06 -04:00
Sravan Balaji
1dc5722b99 Kitty Terminal & Polybar Font Change
- Change dwm terminal from alacritty to kitty
- Change polybar terminal from alacritty to kitty
- Change polybar font from NotoSans Nerd Font to Ubuntu Nerd Font
2021-09-19 09:24:05 -04:00
Sravan Balaji
5f2b977c1e Grid Mode Layout & Rule Changes
- Enable grid mode layout patch
- Add keybinding to switch to grid mode w/ and w/o floating window flattening
- Remove Gimp and Firefox tag rules
- Add Picture in picture floating rule
2021-09-19 09:24:05 -04:00
Sravan Balaji
eb144c8789 Switch from Dunst to Deadd Notifications
- Switch rofi script keybinding
- Remove dunst polybar module
2021-09-19 09:24:05 -04:00
Sravan Balaji
56537aa159 Patched DWM Flexipatch Build
- Wrote entire dwm-flexipatch build as org document
- Moved README and README.md into README.org
- Setup keybindings, colors, etc. for dwm-flexipatch
2021-09-19 09:24:00 -04:00
bakkeby
036421845f Adding separate statuscolors bar module ref. #180 2021-08-25 12:18:01 +02:00
bakkeby
f8ae6714db Adding winicon patch 2021-07-27 13:40:53 +02:00
pepper-jelly
0733c39e0c sed source files to end with 1 new line 2021-06-14 08:54:23 +03:00
bakkeby
9072ef28a4 Splitting SchemeHid to SchemeHidNorm and SchemeHidSel given that a hidden client may still be the selected client ref. #148 2021-05-21 10:18:41 +02:00
bakkeby
7fe81a6280 fakefullscreen vs fakefullscreenclient compatibility, let fakefullscreen take precedence 2021-05-13 14:25:26 +02:00
bakkeby
23c76d13b5 vanitygaps: replaced smartgaps with smartgaps_fact, allowing gaps to be increased when there is only one client. 2021-04-16 10:16:04 +02:00