From f8e1cae07a9f983a1290e8c9478065b7a9b48b69 Mon Sep 17 00:00:00 2001 From: A Frederick Christensen Date: Mon, 1 Jan 2024 23:10:21 -0600 Subject: [PATCH] Add pages for dhruva_sambrani patches --- Home.md | 4 +++- _Sidebar.md | 4 +++- dim-unfocussed.md | 13 +++++++++++++ winview.md | 36 ++++++++++++++++++++++++++++++++++++ 4 files changed, 55 insertions(+), 2 deletions(-) create mode 100644 dim-unfocussed.md create mode 100644 winview.md diff --git a/Home.md b/Home.md index 5392ab8..c297717 100644 --- a/Home.md +++ b/Home.md @@ -7,6 +7,8 @@ * [master-right](https://codeberg.org/dwl/dwl-patches/wiki/master-right.-) ## Clients Placement ## Clients & Tags Manipulation +* [dim-unfocused](https://codeberg.org/dwl/dwl-patches/wiki/dim-unfocused.-) +* [winview](https://codeberg.org/dwl/dwl-patches/wiki/winview) ## Rules ## Input * [keycodes](https://codeberg.org/dwl/dwl-patches/wiki/keycodes) @@ -19,4 +21,4 @@ * [hide-behind-fullscreen](https://codeberg.org/dwl/dwl-patches/wiki/hide-behind-fullscreen.-) * [hide-behind-monocle](https://codeberg.org/dwl/dwl-patches/wiki/hide-behind-monocle.-) * [smartborders](https://codeberg.org/dwl/dwl-patches/wiki/smartborders) -* [vanitygaps](https://codeberg.org/dwl/dwl-patches/wiki/vanitygaps) \ No newline at end of file +* [vanitygaps](https://codeberg.org/dwl/dwl-patches/wiki/vanitygaps) diff --git a/_Sidebar.md b/_Sidebar.md index 86d2d9a..356b480 100644 --- a/_Sidebar.md +++ b/_Sidebar.md @@ -2,10 +2,12 @@ * [autostart](https://codeberg.org/dwl/dwl-patches/wiki/autostart) * [coredump](https://codeberg.org/dwl/dwl-patches/wiki/coredump) * [client-opacity](https://codeberg.org/dwl/dwl-patches/wiki/client-opacity.-) +* [dim-unfocused](https://codeberg.org/dwl/dwl-patches/wiki/dim-unfocused.-) * [hide-behind-fullscreen](https://codeberg.org/dwl/dwl-patches/wiki/hide-behind-fullscreen.-) * [hide-behind-monocle](https://codeberg.org/dwl/dwl-patches/wiki/hide-behind-monocle.-) * [keycodes](https://codeberg.org/dwl/dwl-patches/wiki/keycodes) * [master-right](https://codeberg.org/dwl/dwl-patches/wiki/master-right.-) * [numlock-capslock](https://codeberg.org/dwl/dwl-patches/wiki/numlock-capslock.-) * [smartborders](https://codeberg.org/dwl/dwl-patches/wiki/smartborders) -* [vanitygaps](https://codeberg.org/dwl/dwl-patches/wiki/vanitygaps) \ No newline at end of file +* [vanitygaps](https://codeberg.org/dwl/dwl-patches/wiki/vanitygaps) +* [winview](https://codeberg.org/dwl/dwl-patches/wiki/winview) diff --git a/dim-unfocussed.md b/dim-unfocussed.md new file mode 100644 index 0000000..3830ad3 --- /dev/null +++ b/dim-unfocussed.md @@ -0,0 +1,13 @@ +### Description +Implements dimming of clients which are unfocussed. + +The code also allows you to "dim" focussed windows if you wish to, and as such allows any color dimming. There is also an additional option in Rule, which allows you to keep the client `alwaysbright`, that is, as if it is focussed. + +### Reporting Issues +Report issues in my [patches repo](https://codeberg.org/dhruva_sambrani/dwl-patches). + +### Download +- [2023-11-30](https://codeberg.org/dhruva_sambrani/dwl-patches/raw/commit/503b2dbbc45be7a4ded71b926f6696303063326e/dim-unfocussed.patch) + +### Authors +- [Dhruva Sambrani](https://codeberg.org/dhruva_sambrani) diff --git a/winview.md b/winview.md new file mode 100644 index 0000000..db60559 --- /dev/null +++ b/winview.md @@ -0,0 +1,36 @@ +### Description +Implements the function `winview` which switches the visible tags to the tags on which the current client is visible. + +This patch is inspired from . Citing the description of the dwm patch: + +> Dwm tags are a powerfull feature that allows organizing windows in workspaces. Sometime it can be difficult to remember the tag to activate to unhide a window. With the winview patch the window to unhide can be selected from the all-window view. The user switches to the all-window view (Mod1-0), selects the window (Mod1-j/k or using the mouse) and press Mod1-o. The key Mod1-o switches the view to the selected window tag. +> +> #### Recommend patches +> +> The grid layout is well adapted to display many windows in a limited space. Using both grid and pertag patches you will be able to select this layout for the all-window view while keeping your preferred layout for the other views. +> Configuration and Installation +> Using the default configuration file +> +> Make sure the directory where you build dwm does not contain a config.h file; +> Apply the patch; +> Run make and make install. +> +> Using an existing customised configuration file +> +> Apply the patch; Add the following element in the keys array: +> +> `{ MODKEY, XK_o, winview, {0} },` +> +> Run make and make install. +> +> An example of how to insert this line can be found in the default config file template, config.def.h. + +### Reporting Issues +Report issues in my [patches repo](https://codeberg.org/dhruva_sambrani/dwl-patches). + +### Download +- [2023-11-26](https://codeberg.org/dhruva_sambrani/dwl-patches/raw/commit/2393da2beac64e23db6cf7a490a694b5b05327e4/winview.patch) + +### Authors +- [Dhruva Sambrani](https://codeberg.org/dhruva_sambrani) +