Coder Social home page Coder Social logo

siduck / chadwm Goto Github PK

View Code? Open in Web Editor NEW
1.6K 18.0 158.0 4.44 MB

Making dwm as beautiful as possible!

License: MIT License

Shell 3.63% Makefile 1.14% C 89.38% Roff 2.73% SCSS 3.12%
dwm dwm-status dwm-statusbar suckless suckless-org linux-rice ricing linux void-linux theme

chadwm's Introduction

Introduction

Hi there, I'm a self taught front-end Web developer and creator of NvChad. Also available for remote work and freelancing for website designing, building websites, linux ricing.

Discord Telegram Matrix Tutanota

Recent projects

  • Bubbly - Generate on-screen chat-bubble alike widgets to convey your message & show keystrokes on screen.

chadwm's People

Contributors

amogusussy avatar avimitin avatar baizeyv avatar dakata1337 avatar dark-matter7232 avatar delected avatar francescoxd avatar giacomodelillo avatar iwametal avatar jayu9493 avatar joestandring avatar justleoo avatar klemensmaentele avatar krebso avatar luovkle avatar mangeshrex avatar mattio-cmd avatar minepro120 avatar mystery1747 avatar orhnk avatar p3nj avatar ringhol avatar shinyzenith avatar siduck avatar sioodmy avatar srwine avatar timgates42 avatar z-shang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

chadwm's Issues

Eww doesnt work

I install eww and copied your eww files to .config and start eww but nothing happend.Am i missing something?

patches

this is more of an request than it is an issue,

for example with status2d modified to fit statuspadding + systray, you could turn it into a patch for others to use
the reason i had actually opened this issue is because i shamingly copied chadwm's updatesystrayicongeom but it gave me
image
which prompted me that i did something wrong.

will it ever be possible to turn most features implented in chadwm into it's own individual patch?

How you check icons to use in bar?

Hi, very nice setup. I like it a lot.
How do you check icons to use as tag icon? I feel I am missing something there.

BTW here it is, how it looks on my machine ;)
pic-full-211020-1720-06
pic-full-211020-1718-16

Question: How did you go inner padding for status2d?

Basically, I want to apply padding for status2d as shown in the picture below, I thought it was the statuspadding patch but it's useless and does not apply what I want it to do
21-09-21_14h:25

Here's what I get on my setup:
21-09-21_14h:32

[Button Definitions Conflict] When file manager using control key to select file

Orginal Button Definitions:

    { ClkClientWin,         ControlMask,    Button1,        dragmfact,      {0} },
    { ClkClientWin,         ControlMask,    Button3,        dragcfact,      {0} },

Use Control Key

It will conflict when file manager using control key to select file.

File manager like thunar, pcmanfm-qt, pcmanfm...

So I adjust it.

use Alt Key

{ ClkClientWin,         Mod1Mask,    Button1,        dragmfact,      {0} },
{ ClkClientWin,         Mod1Mask,    Button3,        dragcfact,      {0} },

See Also My Button Definitions

Bar unintended behaviour when using system tray

I've noticed that once the system tray is populated, the bar does not correctly show the first element from the left. This happens only when the workspace has no windows in it.

image
This is the top bar with one icon in the systray and firefox opened (it can be any window).

image
This is how the bar behaves once I close all the windows in the workspace. Notice the "CPU" now being "PU".

The issue is not related to the bar script(s), which I reverted back to the default ones provided in the .dwm/bar folder during troubleshooting, as I thought I messed up by changing stuff in the script to my liking.

[Question] How can i cycletag?

How can i cycletag?

Is there any function exists to cycletag?

I would like to set keybind and mousebind like this.

keybind sample:

// ## TODO: cycletag
    { MODALT,                                     XK_a,               cycletag,           {.i = -1 } },
    { MODALT,                                     XK_s,               cycletag,           {.i = +1 } },
    { MODALT,                                     XK_h,               cycletag,           {.i = -1 } },
    { MODALT,                                     XK_l,               cycletag,           {.i = +1 } },

mousebind sample:

// TODO: cycletag
    { ClkTagBar,            0,              Button4,        cycletag,           {.i = -1 } },
    { ClkTagBar,            0,              Button5,        cycletag,           {.i = +1 } },

Thanks for your help.

I cant open terminal

Hello i followed instructions and now i have just the bar and black screen for background as far as i understand i need to change config file but i cant even open my terminal emulator(kitty).I tried win+enter didnt work and a couple of others.How can i fix this?

Great project - nice look and feel

I have made a promotion video for your project here :

https://youtu.be/YSasXSPkyok

If I may make a suggestion.

  1. Create a .desktop file for users to put into /usr/share/xsessions
  2. Rename your desktop to chadwm or something else but not dwm as it will conflict with the actual dwm - compare with alci-dwm to see how it can be done
  3. put the autostart somewhere else so we can execute it without needing to change the /home/username/.dwm/autostart - /usr/local/bin?

Great job have fun developing it further

image

How to add more tags?

I tried editing config.def.h and adding tags to the variable *tags, but each time i open a window in a different tag, dwm crashes. Help please.

Question : clarification

Could you clarify what you mean by this?

"change sid ( my username ) to yours in config.def.h"

in the installation instructions

unable to interact with chadwm

i followed the installation steps, and when dwm started, the background was black except for the task bar, i could move my mouse but no keyboard inputs, no shortcuts worked, i couldnt even exit out, i had to boot into the iso to fix it

Delete config.h when rebuilt

It's recommended to remove config.h when running make script's clean step:

clean:
    - rm -f dwm ${OBJ} dwm-${VERSION}.tar.gz
    + rm -f dwm ${OBJ} dwm-${VERSION}.tar.gz config.h

This can help others rebuild the dwm with less effort.

Request diff for tab patch (monocle layout)

Hi @siduck76, I find your tab patch very interesting. It looks awesome.

Can you share a complete diff for the tab patch? I've got my own build of dwm (voidstarsh/voidwm) and I would like to use it in my build. I tried stealin- I mean copying the code from the commit history but it is divided into multiple commits and so far I've added only this aa15a63 commit and it looks something like this (jitessh/voidwm@e96d6c6):

tab-patch

[Question] How to get the status bar look without barpadding?

Hello, I've been configuring my dwm build here and I want to have status bar similar to yours (with text background and padding between the text and the edge of the bar) but I don't want to have barpadding patch.

I tried to follow what you do in this reddit thread but when I got statuspadding and status2d working, status2d's text background is still drawing over the padding (to the edge of the bar).

I tried to go with the border bar patch and patch everything eProTaLT83 made but in the end, the systray didn't get covered with the border and one of the icon became enlarged. It seems that the patch they made is tailored for your build which has notitle patch (I need to have window title).

I need help to get this on my own build of dwm. What patch should I use and what can I do to solve the conflict. I really like the looks of your build. Thank you.

How do I uninstall?

I installed it and them my laptop crashed and the keyboard is not responding. How do I uninstall or make changes?

how to open terminal

Okay I feel like a complete idiot for asking this but I cannot figure out how to open a terminal for the life of me.

[Feature] Windows hide and restore

Recently I have had some use cases like replying to a message and then go back to work. Or just watch a youtube video and check the dictionary for some unfamiliar words. And the patch I used now which is called "hide and restore" did help me a lot in those cases. Like the gif below, windows can be easily pushed into a stack and be hidden. And can be pop out and restored by another key.

img

This feature relies on two patches: the awesomebar and the hide-and-restore-win.diff. But the awesome bar have some other feature which is annoying to me. So I just pick up the necessary part of them.

You can check out the code from my repo. If you have no interest in it, just closed this issue.

Help in configuring chadwm

Hello. I'm kinda new to arch and dwm.
I followed the instructions in the Readme, But it still quite doesn't look like in the screenshots. For example the status in the dwmbar still shows "dwm-6.2" instead of the ones in the screenshot. Am I supposed to be doing something further?

Remove bar padding?

How I can remove the bar margin from the screen:

Screenshot from 2022-01-20 18-33-27

How remove the it bar margin from the screen?

Question about the rounded corners in the bar.

Hello!

I'm sorry to ask you, because probably someone has already asked you this before but...

What patch did you added to the bar to create the rounded corners? Asking for a friend...

Thanks!

Icon font size?

Have got chadwm set up without any issues, simply wanted to know how to increase size of icon fonts in bar?

Mr Green

binary tree partioning ( layout | idea )

It would be very cool if dwm had bspwm's binary partioning layout , lemme explain how it works

w = width , h = height

  • if the focused window's height is more than its width , then if you're going to spawn a window ( like terminal or any app) the window will be tiled on the bottom of the prevous focused window and its the same size of previous focused window.

  • If the focused window's width is more than height , then any window which is about to be tiled , will be tiled on the right of the focused window and its the same size!

Case 1 :

window 1 (w > h)

image

Now if you open try to open any app , it will tile on the right (since window 1's w > h )

image
Case 2 :

  • Focus window 2 and cuz ( its h > w ) then any app about to get tiled will be tiled over bottom

image

colorfultag patch

hi, do you have the colorful tag patch and barpadding that is compatible with status2d for vanilla dwm? thanks

Permission to package.

Hey! @siduck76 I have packaged your dwm build with some modifications and converted your bar.sh into a binary ( dwmblocks ) which I hope to integrate into my GNU/Linux Distribution ( https://github.com/xelphlinux ).

The least I can do to acknowledge that the build was not my own hard-work, is to ask you for a permit to package although the repository is under the MIT license.

Removing statusbar gaps only

Hello!
Just found this dwm build and I was toying with it but I can't seem to figure out how to disable the gaps for the status bar only.

I thought it was related to the patch barpadding but I can't seem to find the vertpad and sidepad variables that are referenced in the patch page.

I seem to have figured out that horizpadbar and vertpadbar are related to the statuspadding patch so going by exclusion I thought that vertpadtab, horizpadtabi and horizpadtabo are the ones that should be changed to 0 to achieve the "gapless statusbar" I was looking for.

Actually assigning 0 to those variables, make clean install and restarting dwm results in a crash.

I'm not an expert whatsoever but if more info is needed I'm more then happy to help!

Participate in hacktoberfest

It would be great if this repo participates in hacktoberfest, just need to add hacktoberfest to topic section.

Super + Tab not switching between the two previous tags

Hello! First of wall, great job with your projects, they're always incredibly beautiful.

So, I actually already solved the problem I'm gonna report here, but I'm just creating this issue to be sure if that really is or not a problem. When I first installed chadwm, my Super + Tab combination was not having the same behavior as vanilla dwm (which is to keep switching between the 2 previous tags). Instead of that, it was going to a null view, not related to any tag.
That was also creating some issues with shiftview patch, which I installed after.

Like I said, I already solved, but I was just wondering if this was supposed to be the behavior in chadwm, or is it really an issue?
If it is an issue, I may do a pull request with the solution (if it's necessary, because it's literally an one line change, actually).

Well, that was it. Again, great job with the projects and thanks in advance.

Statusbar color space

Hi again sir. how did you make your status2d with spacing and not let the color fill the bar?

mine look like this:
image1

but yours have spacing in top and bottom and the colors doesnt fill the bar:
image2

Wrong Focused Window Border comment

Thanks for your chadwm, looks great.
While I was trying to tweak nord, gruvchad colorscheme header file, I found that blue[ ] has been commented as focused window border.
But changing gray4[ ] changes the focused window border.

dash as dependency

The bar wasn't working for me , installing dash solved that issue.
I think in requirements in README dash can be added

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.