sites

public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log | Files | Refs

commit 4186491fcfe2e9fc1d8fd0468ad75b7ec4cdced6
parent ed95f7dc844ed633a531c69562fcade6c86aa30b
Author: elbachir-one <bachiralfa@gmail.com>
Date:   Wed,  8 Jul 2026 11:37:32 +0100

[dmenu][patches][floatingbar] Fixed index.md

Diffstat:
Mtools.suckless.org/dmenu/patches/floatingbar/index.md | 68++++++++++++++++++++++++++++++++++----------------------------------
1 file changed, 34 insertions(+), 34 deletions(-)

diff --git a/tools.suckless.org/dmenu/patches/floatingbar/index.md b/tools.suckless.org/dmenu/patches/floatingbar/index.md @@ -1,34 +1,34 @@ -# Description -This patch allows you to transform the dmenu into a floating bar, with customizable height, as well as vertical and horizontal padding. This is an extension of [floatingstatus](https://dwm.suckless.org/patches/floatingstatus/) for dwm. - -NOTE: Added an extra flag, '-bo', which allows you to specify the colour of the border explicitly. -By default, the background just inherits the '-sb' flag, to cooperate with default dwm behaviour. - -This is my first time patching suckless software. Please feel free to email me if you encounter any issues. - -See also: https://dwm.suckless.org/patches/floatingstatus/ - -<div style="text-align: center;"> - <img src="bar.png" alt="dwm bar" width="1200"> -</div> - -<div style="text-align: center;"> - <img src="dmenu.png" alt="dmenu with patch" width="1200"> -</div> - -## Config - -Everything is in ``config.def.h`` - - barpadh - [int] Vertical padding: how far the bar is from the top. - barpadv - [int] Horizontal padding: how far the bar is from each side. - barheight - [int] Bar height: How long the bar is vertically. - barborder - [int] Bar border: How thick the border is. - -## Download - -[dmenu-floatingbar-5.4.diff](https://github.com/danskullz/dmenu-floatingbar/raw/refs/heads/main/dmenu-floatingbar-5.4.diff) - -## Authors - - Daniel Guihot - daniel@guihot.net +floatingbar +=========== + +Description +----------- +This patch transforms dmenu into a floating bar with configurable height, +along with customizable vertical and horizontal padding. It extends the +[floatingstatus](https://dwm.suckless.org/patches/floatingstatus/) patch +for dwm. + +An additional `-bo` option has been added to explicitly set the border +colour. By default, the border colour inherits the `-sb` value, matching +the default behaviour of dwm. + +#### Example configuration +- `barpadh` (`int`) – Vertical padding: distance between the bar and the +top of the screen. +- `barpadv` (`int`) – Horizontal padding: distance between the bar and the +sides of the screen. +- `barheight` (`int`) – Bar height. +- `barborder` (`int`) – Border width. + +#### Screenshots +![bar](bar.png) +![dmenu](dmenu.png) + + +Download +-------- +* [dmenu-floatingbar-5.4.diff](dmenu-floatingbar-5.4.diff) + +Author +------ +* Daniel Guihot - <daniel@guihot.net>