You are not logged in.

#1 2020-06-02 03:11:21

apoorv569
Member
Registered: 2020-05-26
Posts: 19

Setting up DWM (Tiling Window Manager), patching for dwmblocks.

im trying to setup DWM, im able to successfully patch few patches, but there a couple things im not able figure out

im using this on a laptop so i want to bind my volume, brightness, play pause keys which are on the functions keys to be able to control the same. there is Fn button on the keyboard which if pressed with the combination of function keys register as normal function keys and if Fn key is not pressed then function keys act as brightness volume and all.

i have everything mostly set up, but there is no status bar in my build, i want to use dwmblocks. but there are 3 different patches on suckless.org website and it conflicts with my already patched build for eg there is a line in dwm.c file

else if (ev->x > selmon->ww - TEXTW(stext) - getsystraywidth())

and the patch wants me to remove this line -

else if (ev->x > selmon->ww - TEXTW(stext))

which i dont have same in my config as im using the systray patch, and wants me to replace with -

else if (ev->x > (x = selmon->ww - TEXTW(stext) + lrpad)) {

i dont know if im using the right patch, i want some help with installing the dwmblocks, as i dont want to installed someone else's fork i want to configure my own.

Last edited by apoorv569 (2020-06-02 04:14:21)

Offline

#2 2020-06-02 03:36:17

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Setting up DWM (Tiling Window Manager), patching for dwmblocks.

Please edit your thread title to describe your actual issue, patching dwm for dwmblocks: https://wiki.archlinux.org/index.php/Co … ow_to_post


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2020-06-02 04:14:46

apoorv569
Member
Registered: 2020-05-26
Posts: 19

Re: Setting up DWM (Tiling Window Manager), patching for dwmblocks.

jasonwryan wrote:

Please edit your thread title to describe your actual issue, patching dwm for dwmblocks: https://wiki.archlinux.org/index.php/Co … ow_to_post

is it ok now?

Offline

Board footer

Powered by FluxBB