My build of DWM - Patches I use
HTML-код
- Опубликовано: 24 дек 2024
- #linux #arch #dwm
thanks for watching
my dwm setup: github.com/max...
0:00 the video
random keywords
linux, dwm, rice, customization, minimalism, workflow efficiency, configuration, dotfiles, terminal-based, productivity, theming, window management, open source, tiling window manager, keybindings, system optimization, unix-like, desktop environment, x11, personalization, scripting, shell, scripts, command line, efficient workflow, performance tuning, user interface, command-line tools, lightweight, i3, AwesomeWM, window managers, tiling, stacking, fluxbox, openbox, bspwm, spectrwm, ratpoison, herbstluftwm, wmii, wmutils, musca, subtle, lxde, xfce, kde, enlightenment, arch, gentoo, void, distros, rolling release, source-based, package management, pacman, portage, xbps, AUR, USE flags, emerge, binary package manager, bleeding edge, independent
my dwm setup: github.com/maxhu08/dwm-rev1
I've been WAITING for this. Thank you my glorious king Maximilious Hu Dot Dev
Great video brotha!!! Love this fr
Thank you for sharing, some super helpful patch suggestions!
no problem :)
Is that st? I love the theme of the terminal and neovim is that on the github repo?
It's kitty, and this is my old neovim config, neovim-zen. I'm using nvchad now
@@maxhudotdev I also use kitty can you send the kitty colorscheme?
It's in github.com/maxhu08/dotfiles
Do you use an clipboard manager or something that uses dmenu? if so, it keeps the dmenu style?
No but the styles are passed through as arguments when you use dmenu_run
static const char *dmenucmd[] = { "dmenu_run", "-c", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_accnt, "-sf", col_gray4, NULL };
like -c means center and the rest of the stuff (like width and grid) is hardcoded in
if you're interested, you can look at my build of dmenu here: github.com/maxhu08/dmenu
@@maxhudotdev thx, ill try it with clipmenu
hi max - nice video, very good insights 👍🏼
may can I ask u what is the application launcher called? (@ 11:21)
It is called dmenu? If so how did it appear in the middle and not on to top bar?
It’s my custom build of dmenu with the center and grid patch
can u make a video, how to setup dmenu like that? Looks awesome 🤝🏼
I think I might make a video talking about all the suckless programs later but I'm king of busy at the moment with studying.
For now, if you want the same build of dmenu just clone this: github.com/maxhu08/dmenu and run `make clean install`. Setting up & patching dmenu is very similar to setting up dwm. You might also need to change your dmenucmd in your dwm config to be like:
static const char *dmenucmd[] = { "dmenu_run", "-c", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_accnt, "-sf", col_gray4, NULL };
since the patch adds the ability to add flags like -c for centering dmenu.
Max - thank you very much!
use which picom and picom.conf
Nice rice!
Thank you 😄
W Vid Max
😁😁😁
💗💗💗
I am honestly sorry for posting so many comments, but what are the dependencies for your setup? Like what packages do I need to install to actually get the setup?
For arch: xorg-server xorg-xinit xorg-xrandr xf86-input-libinput libxinerama
should be good
@@maxhudotdev But what I really meant was do I need to install dmenu and all that other stuff separately, then just copy the configs from your dotfiles?
Yes
@@maxhudotdev What apps though? I know slstatus and dmenu are there but is there actually anything else?
Gaps are in my opinion just nice to show in videos like this but practically useless.
Yeah, I don't usually have gaps turned on when I'm not recording. I just enabled them for this showcase
@@maxhudotdev pertag really is crucial for me. Other important ones for me are systray and statuscmd. Other less important ones I have are floatrules, tiledmove, noborder and cfacts
with the master center layout @4:06 if you close all the other windows will it stay centered?
If you close all the other windows, the last window will take up the entire space, if that's what you mean.
@@maxhudotdev that is what i meant, cheers
Hello Max
Do you install your DWM on arch no desktop ?
I didn't install any desktop environment, I just installed xorg and dwm.
@@maxhudotdev so from archinstaller you install DWM + Nvidia driver i think ? it install xorg too...
I installed dwm, patched all those patches you mentioned, then copied your dwm folder. But somehow most of those aren't working.
? When you copy my build, it already has the patches. All you need to do is run make clean install
@@maxhudotdev I just installed dwm anew and copy-pasted your git in .config and run make command.
But somehow dmenu, vanity, unfloatable and tiledMove isn't working at all.
[note: that make command gave a bunch of undefined variable error]
What are the errors? If you can’t compile it, it won’t work. You also need to have dmenu installed
@@maxhudotdev
vanitygaps.c:132:1: warning: 'incrivgaps' defined but not used [wunused-function]
.
There were 8 errors like this on line 132, 121, 110, 99, 88, 77, 60, 49.
Warnings like unuised functions shouldn't affect anything. Does it still compile properly?
hi im a linux mint new user can u make a tutorial how to rice sir
Maybe, setting up dwm takes a while to do so I don't know if I can fit in a tutorial but you can get started by downloading dwm from here: dwm.suckless.org
then going to dwm.suckless.org/patches then add patches you like
Personally, I don't like gaps.