Configuring Dwm's Panel Is Easy With Dwmblocks

  Рет қаралды 46,420

DistroTube

DistroTube

Күн бұрын

Пікірлер: 80
@gaonkarprajwal
@gaonkarprajwal 4 жыл бұрын
12:14 You don't actually need to reboot here. Just terminating the 'dwmblocks' process, and relaunching it would suffice.
@minnerlas1730
@minnerlas1730 4 жыл бұрын
You don't need to reboot, you just need to kill the programs that are trying to set the root's name
@oalfodr
@oalfodr 4 жыл бұрын
dwm is actually first dynamic wm I kept using. Since I do not like usual workspaces implemented in other wm an de's, I did not like any of other wm's. Tags are something ideal for me. I am also using dwmblocks. I've started with Luke's build but I rewrote it from scratch to go through the process myself and remove unneeded stuff.
@favor94
@favor94 4 жыл бұрын
what this tag do on dwm?
@oalfodr
@oalfodr 4 жыл бұрын
@@favor94 It just links an app window with tag. Each display handles tags separately. Window can be tagged to multiple tag but I don't use that yet. You then just switch between tags and the other displays are not affected. Patch pertag makes every tag remembering layout individually and I love that.
@CallMeCOM
@CallMeCOM 4 жыл бұрын
Me on i3: “great, all I need to do is configure this mass file and I’ll be set!” Me on DWM: “patch this, patch that, configure source code, remove backup file, recompile, reboot, win win win”
@damianmelvin5401
@damianmelvin5401 3 жыл бұрын
instablaster
@web3wizard381
@web3wizard381 4 жыл бұрын
Would you mind if I created a live arch ISO out of your rice and configurations?
@DistroTube
@DistroTube 4 жыл бұрын
You don't have to ask permission to make your own spin of "free" software. So go right ahead. ;)
@kropotkinvore316
@kropotkinvore316 4 жыл бұрын
@Newtube but... thats the point of creating a pre-riced iso? many people dont want to spend hours patching suckless software and actually want to use the programs
@kropotkinvore316
@kropotkinvore316 3 жыл бұрын
@Newtube i mostly use dwm for the way it tiles and the low ram usage, the patching is just a plus
@aprameyanaganur2934
@aprameyanaganur2934 3 жыл бұрын
@Newtube yea ikr weird
@calfdindon2353
@calfdindon2353 4 жыл бұрын
xsetroot is bloat, modify updatestatus() in dwm.c instead
@hanspetervollhorst1
@hanspetervollhorst1 4 жыл бұрын
Seems counterintuitive to edit the .def.h file. Are you sure you are not supposed to keep the .def.h the way it is and only edit the .h file?
@Dus3826
@Dus3826 4 жыл бұрын
Nope
@maybeanonymous6846
@maybeanonymous6846 2 жыл бұрын
Yespe
@pear_apr
@pear_apr 2 жыл бұрын
editing config.def.h lets you set a default config for dwm. patches add their settings to config.def.h. So you have to remove (or just move) the config.h file for the patches to work. editing the .def.h keeps the settings even if you removed config.h, that is really handy in some cases.
@armynyus9123
@armynyus9123 3 жыл бұрын
I'm happy with xfce4-panel running in dwm. was very easy to get up and running and I had xfce stuff anyway hanging round on my FS (arco). Because the statuscolors patch I got dwm showing up in my top - when the systray patch was also in, did not investigate much but offloaded any panel stuff from dwm into xfce4 panel, which includes systray.
@zuzuz18
@zuzuz18 4 жыл бұрын
How does the update signal field work? How do we know/decide what the correct signal is and how does one set the kill command to kill and then update the correct script?
@maddancing
@maddancing 3 жыл бұрын
that's all part of the array in blocks.def.h - the last entry is the update signal which you can trigger by calling kill -signal pid - let's say you declared a block with update signal of 3. add 34 to that signal and run the kill command like so: kill -37 $(pidof dwmblocks). I hope this helps someone ❤️
@rampus44
@rampus44 4 жыл бұрын
Your mic sounds quite good.
@ElderManhaniniFouraux
@ElderManhaniniFouraux 2 жыл бұрын
Make or redo, updating, more videos about dwm and dwmblocks or slstatus, please! Tahks a lot. I learn a lot from your videos, even though I'm not fully fluent in the English language, since I'm Brazilian. But I'm always following your videos. It's just that the dwm videos got out of date I think.
@hashkeeper
@hashkeeper 2 жыл бұрын
Derek Tyler is the masta! this guys got the code, the snappy design.
@CandyCaneChris
@CandyCaneChris 4 жыл бұрын
Anyone else who is confused about which patches to use and what they do. There's an easier way. DWM-Flexipatch is available on github, and includes a simple 0/1 toggle for almost every patch. It's bloated, but makes dwm patching so simple.
@CandyCaneChris
@CandyCaneChris 4 жыл бұрын
An interesting opinion, however one we will have to disagree on. I doubt many people use DWM without at least some basic patching. One of the greatest strengths of FOSS software is we can all customize it to how we personally want to use it. As for quality though, I am not a master of C, but am curious what could be wrong with code that works as intended. I support debloating, but not at the cost of oversimplification.
@CandyCaneChris
@CandyCaneChris 4 жыл бұрын
Understandable. Personally I use Qtile daily as I am much more comfortable in Python and it meets my needs. The scrutiny of patches makes sense. After patching and successfully building dwm as I would like it I realized it was very different than the original and decided to leave it behind rather than track so many different patches. My original comment was only mentioning Flexipatch as a way for people to test what patches actually preform like in use. As finding pictures, video, or even decent text descriptions can be difficult for some patches. Stacker vs Rotatestack comes to mind as an example. I tried both patches individually and found myself happier with Stacker, but others may like Rotatestack. Either way I can't imagine using DWM daily without one of the two patches to make moving windows through the stacks easier.
@yScribblezHD
@yScribblezHD 3 жыл бұрын
@Newtube That's not how you use the word code smell. I have to question whether or not you're familiar with code at all lmao. Also, no one is using dwm for the learning experience, nor was it made to be used as such. dwm was made to be used as a functional piece of software, believe it or not. This is some cringe level of twm elitism.
@champfisk5613
@champfisk5613 4 жыл бұрын
I can never get the icons to be work in dwmblocks
@DistroTube
@DistroTube 4 жыл бұрын
Make sure you are using a font that can display the icons. I use JoyPixels from the Arch repo.
@champfisk5613
@champfisk5613 4 жыл бұрын
@@DistroTube thank you, I will give it a try!
@tokiomutex4148
@tokiomutex4148 4 жыл бұрын
@@champfisk5613 Nerd fonts are also useful
@matthewrossee
@matthewrossee 3 жыл бұрын
@@champfisk5613 Make sure you have your dwm patched with dwm-pango patch
@champfisk5613
@champfisk5613 3 жыл бұрын
@@matthewrossee okay is the patch on the suckless site?
@masons5230
@masons5230 4 жыл бұрын
when I run the command dwmblock & it will change to the configured dwmblocks but then revert to the old dwm statusbar. Any suggestions?
@himanshushukla787
@himanshushukla787 3 жыл бұрын
I think slstatus is a better solution to this, as the config file has a lot more options in the slstatus config.h
@Sadi000Q
@Sadi000Q 4 жыл бұрын
How about showing us a vid of compiling dwmblocks (the one that allows mouse clicks), so that we could learn how to build a system up? If I use your builds of dwmblocks (which I have), I'm only learning what key shortcuts you use and how to remove the scripts that I don't need, but not what it took to get it all together. Dwmblocks with mouse click support is the logical next step after we configure our status bar with what we need.
@theproftiago
@theproftiago 4 жыл бұрын
Man I tried to install your dwm version. But the dwmblocks as a dependency gets an error. It's not installing at all
@DistroTube
@DistroTube 4 жыл бұрын
Try it now. dwm-distrotube-git and dwmblocks-distrotube-git no longer have each other listed as dependencies. I think that might have been your issue.
@theproftiago
@theproftiago 4 жыл бұрын
@@DistroTube thank you very much. I will try tomorrow morning.
@BrucesWorldofStuff
@BrucesWorldofStuff 4 жыл бұрын
Hay DT.... Well after using Spectrwm for 6 months or so I dragged out the test laptop and cloned you DWM and all the others and I an playing with it. I have it on EndeavourOS Cinnamon because I like the Cinnamon programs. :-) I am now trying to understand how to insert my programs and so on. I have Dmenu launching to the bottom as it is better for my trifocals... Lol I have only hosed it a few times on building but I am getting their. LOL DWMBlocks was easy to figure out... :-D Sorry DT, but I have to change the MOD key back to the ALT key as I don't own a Windows keyboard, old IBM clickers... HaHaHa. That also means I am having to change some of the other bindings too. So I am setting them like I have in Spectrwm which is not that much different, just 3 keys... :-D I have it 90% done for now, so I'm taking a break from it for a few. Hat DT, I do have a question? Can the DWM bar be set to the bottom also? Easier for me to see... I did not see anything on DWM Wiki... Just would like to know... Have not Googled it either... LOL Yet! :-) Thanks for the GitHub and your builds... Thanks for the video too! LLAP
@DistroTube
@DistroTube 4 жыл бұрын
In config.def.h look for this line: static const int topbar = 1; /* 0 means bottom bar */ Then 'rm config.h' if it exists and 'sudo make install'.
@BrucesWorldofStuff
@BrucesWorldofStuff 4 жыл бұрын
@@DistroTube Found it! Thank you DT. I was not even looking at the top of the file. I should have known better... :-) Thanks you for the help! LLAP
@pranit90ce
@pranit90ce 4 жыл бұрын
Hi dt, can you please take a look at nnn file manager please!!!!... thanks! :)
@georgewashington2216
@georgewashington2216 4 жыл бұрын
Hey DT, can you help me to create block for disk i/o load? I mean disk read/write speed in real time.
@georgewashington2216
@georgewashington2216 4 жыл бұрын
@Newtube Thanks. I'll try to use data from /proc/diskstats.
@irionirion7816
@irionirion7816 4 жыл бұрын
Hi, the package libxft-bgra 2.3.3.r7.7808631e-1 is flagged out of date in the AUR website ! I can't even git clone the repo
@DistroTube
@DistroTube 4 жыл бұрын
This is the one you need: aur.archlinux.org/packages/libxft-bgra-git/
@Aemilindore
@Aemilindore 4 жыл бұрын
Could you share a link to your mic?
@DistroTube
@DistroTube 4 жыл бұрын
It's an ElectroVoice 27 N/D
@Aemilindore
@Aemilindore 4 жыл бұрын
@@DistroTube thanks.
@neotwenty-nineBzH
@neotwenty-nineBzH 4 жыл бұрын
Amazing work. Tks a lot.
@mrskilz4thrilz
@mrskilz4thrilz 4 жыл бұрын
DistroTube if you are going to do a video to teach new users, please do your research to ensure you teach good practicies in the GNU/Linux+POSIX world. 😀
@Bryan7119
@Bryan7119 4 жыл бұрын
DWM is dope.
@ohio2440
@ohio2440 4 жыл бұрын
BSPWM or DWM, i can't decide.
@Returnality
@Returnality 4 жыл бұрын
DWM. There, decided for you ;)
@rizkyadiyanto7922
@rizkyadiyanto7922 4 жыл бұрын
i use awesomewm myself. i think theyre basicaly the same.
@favor94
@favor94 4 жыл бұрын
i suggest try bspwm first
@favor94
@favor94 4 жыл бұрын
@sad girl julia bspwm is more manual tiling for me, agreed that layout its funny when automatic
@calfdindon2353
@calfdindon2353 4 жыл бұрын
I always do "ln -s config.def.h config.h". It solves all my problems with suckless software.
@overclucker
@overclucker 3 жыл бұрын
That's a good solution. I delete config.def.h.
@AbduleeFtw
@AbduleeFtw 4 жыл бұрын
Larbs switching from i3 to dwm made me try it and i love it
@leghdaf
@leghdaf 8 ай бұрын
Great Content ...
@chinmayasamantara6863
@chinmayasamantara6863 3 жыл бұрын
You are genius
@0x2fd
@0x2fd Жыл бұрын
thank you so much
@mustaphaabdullah8139
@mustaphaabdullah8139 4 жыл бұрын
Interesting
@petesaar7122
@petesaar7122 4 жыл бұрын
you need the mustache
@jeremyottley4141
@jeremyottley4141 4 жыл бұрын
Don't even think about patching, just use: github.com/bakkeby/dwm-flexipatch
@ertwro
@ertwro 4 жыл бұрын
The panel is by far the worse part of dwm. Since you redraw the title every time there's new input it consumes a lot more CPU than other panels. So if your software is minimalist but it wastes resources then maybe is not the right tool.
@yScribblezHD
@yScribblezHD 3 жыл бұрын
@Newtube You most certainly don't need an integrated statusbar to maintain state, that's incredibly incorrect. Before using dwmblocks I was simply using xsetroot in a shell script and had maintained state via envars in order to run commands for different segments of the statusbar at different intervals. Heavier or less time critical segments ran less often, therefore their state was tracked and used to re-write their status when the bar was refreshing more info related to frequently ran segments.
@yScribblezHD
@yScribblezHD 3 жыл бұрын
@Newtube "An integrated status bar works in much the same way, just that it maintains its state for efficiency". If this isn't implying that integrated status bars have the advantage of maintaining state, then not only is it poorly worded but you also completely failed to give a sensible response to the initial comment.
@yScribblezHD
@yScribblezHD 3 жыл бұрын
@Newtube aight
@LindaRodriguez-l3r
@LindaRodriguez-l3r 2 ай бұрын
Cartwright Heights
@HaiNguyen-cf1ji
@HaiNguyen-cf1ji 4 жыл бұрын
Panel just bloat, using tmux and add script to it and voila
@darkarie
@darkarie 4 жыл бұрын
second!
@darkarie
@darkarie 4 жыл бұрын
😅
@linux-guy9596
@linux-guy9596 2 жыл бұрын
14 maths
@PreetimanMisra
@PreetimanMisra 4 жыл бұрын
First !
Arco Linux Xtended Has All The Window Managers
21:49
DistroTube
Рет қаралды 167 М.
My Hyprland And Waybar Configurations
14:05
DistroTube
Рет қаралды 23 М.
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН
IL'HAN - Qalqam | Official Music Video
03:17
Ilhan Ihsanov
Рет қаралды 700 М.
It’s all not real
00:15
V.A. show / Магика
Рет қаралды 20 МЛН
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН
Suckless's dwm: So easy even a caveman could do it!
12:25
Luke Smith
Рет қаралды 291 М.
A First Look At ArcoLinux With Dwm
29:03
DistroTube
Рет қаралды 82 М.
DWM-Flexipatch - DWM Has Never Been This Easy!
27:24
OldTechBloke
Рет қаралды 10 М.
We may have killed p10k, so I found the perfect replacement.
19:48
Dreams of Autonomy
Рет қаралды 190 М.
Patching dwm and suckless utilities - a friendly guide to patch and diff
10:51
Solve Problems With Shell Scripting And Dmenu
18:26
DistroTube
Рет қаралды 33 М.
A Clickable, Scriptable Status bar: dwmblocks
10:07
Luke Smith
Рет қаралды 100 М.
The Top 8 Linux Window Managers of 2020
16:43
DistroTube
Рет қаралды 237 М.
Applying Patches To Suckless Software
20:02
DistroTube
Рет қаралды 32 М.
Nix explained from the ground up
23:39
Surma
Рет қаралды 70 М.
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН