Skip to content

How to change width of dmenu

Hi!

I installed dmenu from source, i downloaded it from suckless, aplied the center and border patch, but now its not wide enough for me, how do i make it wider, what variable do i need to edit in what file?

thanks!

0 points0 comments
Open on Reddit
About this post
Posted
Archived
Score
0 · 100% up
Kind
Text
ID
feqvup

Author

9
posts
21
comments
2
media
View profile

2 comments

unknown author

Deleted before we saved it.

1 points

I was trying to do the same and what I have done was to to change line under "/* calculate menu geometry" in dmenu.c:

bh = drw->fonts->h + 2; to bh = drw->fonts->h + 6;

I don't know if this is good or bad solution, but it works. ))

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.