sudoharun / dotfiles

Another Arch Linux + Hyprland Configuration
111 stars 2 forks source link

regarding modernish #2

Open emm-enn opened 1 month ago

emm-enn commented 1 month ago

yo hope you're doing fine, sorry for bothering you, just wanted to ask if the modernish branch is usable yet? Like ik it's not finished yet, but will I he good to go if I follow the readme arch install instructions and the script afterwards? Thanks

sudoharun commented 1 month ago

Hi @emm-enn, the modernish branch is not yet finished however is usable. Since Astal made some breaking changes I will need to keep it updated at all times, and the config in the modernish branch is currently unusable since it hasn't been updated.

It is likely Astal will continue to make breaking changes but I will try my best to keep my branch up to date.

As for the README, that is not yet updated and I plan to update it in the coming days. There are also mistakes in it which I also need to fix.

Just keep an eye out, and once the README is up to date, that will most likely mean that the branch is up to date. I will try to do this ASAP, perhaps today or tomorrow if I have the time.

sudoharun commented 1 month ago

The branch was just updated, it's now in a usable state.

I will close this issue once the branch is in a completed state. For now, please continue putting any issues regarding the branch in this issue.

emm-enn commented 1 month ago

thanks a lot for the speedy response, I'll try it today itself and let you know how it goes.. also is the guide in the readme gtg? like can I just replace the retroesque branch cloning part with modernish?

sudoharun commented 1 month ago

Yes, sorry, forgot to update that. It's updated now.

emm-enn commented 1 month ago

hey sorry for the late reply, I just followed everything and installed the setup rn, but ags is not starting right away.. do you use it like this or do you have it on your autostart, if you do please help me add it. Also what login manager do you use?

sudoharun commented 1 month ago

I don't use AGS in this setup, I use another library called Astal.

If it doesn't autostart, you can do killall python && python $HOME/.config/astal/notifications.py & python $HOME/.config/astal/bar.py & exit 0 in terminal. If it never autostarts or doesn't work when launching from terminal, do killall python && python $HOME/.config/astal/bar.py and send the output.

For display manager, I use greetd and tuigreet.

emm-enn commented 1 month ago

alright ran the first and it didn't work, the second command gave "python: no process found" as the output

sudoharun commented 4 weeks ago

What is in $HOME/.config/astal (ls ~/.config/astal in terminal)?

Also try just python $HOME/.config/astal/bar.py in terminal.

Edit: Second command was wrong. I edited it to be correct now, so you can try that one again.

emm-enn commented 4 weeks ago

done! running the python command fixed it

sudoharun commented 4 weeks ago

Nice! I've almost finished implementing a notification center so keep an eye out on that too 👀.

emm-enn commented 4 weeks ago

cool! waiting for it.. how would i update when it comes out? git pull the dotfiles folder and replace the files in .config?

sudoharun commented 4 weeks ago

Yep. In the future, I may implement an update script, but for now that's not a priority.

Will keep posting updates in this issue as they come out though.

sudoharun commented 4 weeks ago

Hi @emm-enn, I've just completed the notification center and pushed the changes.

I recommend to do two things:

emm-enn commented 3 weeks ago

hey, just tested it rn.. works fine!

emm-enn commented 3 weeks ago

also one thing to ask, is there a clipboard functionality currently?

sudoharun commented 3 weeks ago

Not yet, but you can have a look here for some clipboard managers: https://wiki.hyprland.org/Useful-Utilities/Clipboard-Managers/

emm-enn commented 3 weeks ago

got it, thanks!

sudoharun commented 2 weeks ago

Hey @emm-enn, I've just pushed some changes to modernish which should improve notifications user experience and interface.

emm-enn commented 2 weeks ago

Hey @emm-enn, I've just pushed some changes to modernish which should improve notifications user experience and interface.

will check it out, wondering what you're cooking up for the control menu and app launcher tho 👀🔥

emm-enn commented 2 weeks ago

also will you be able to add a power profile switcher like in gnome and stuff, some menu in the battery section that lets us choose between performance, balanced, and powersaver? ignore it if it's not useful to you

sudoharun commented 2 weeks ago

Although I use auto-cpufreq for power management, sure, I can do that.

sudoharun commented 2 weeks ago

Hey @emm-enn, I've just pushed changes and added an app launcher.

You can change SUPER + R keybind in hyprland.conf to astal -i apps -t apps.

For all changes I've made, check out https://github.com/sudoharun/dotfiles/commit/553f84fe8afb085da9cfb595b40f2e6caad1da59.

emm-enn commented 2 weeks ago

done! looks cool

emm-enn commented 2 weeks ago

also hey i have an all amd setup on my laptop (amd processor+amd igpu+dgpu), just noticed that you actually use nvidia.. is there any changes i should do on my system to make it more optimal? like is there any nvidia specific file that i can remove?

sudoharun commented 2 weeks ago

I used to have an intel laptop + igpu setup, and that is the main config. I kept the nvidia one separate as hyprland-nvidia.conf, so you should be fine.

emm-enn commented 1 week ago

hey, this is some great config that caught my eye while browsing, i thought maybe it could help you with yours https://github.com/AhmedSaadi0/my-hyprland-config

emm-enn commented 1 week ago

oh wait nvm, i forgot that you use python with astal instead of ags

sudoharun commented 1 week ago

Thanks for the recommendation.

I've just pushed changes to the styling of the app launcher and notification center, as well as small layout changes to the bar. You can check the README of the modernish branch for a screenshot of the new styling.

emm-enn commented 1 week ago

btw is there any particular reason we're using astal with python in this setup instead of using ags with js/ts? i heard from some of my friends that python uses more resources than js/ts.. is that true?

sudoharun commented 1 week ago

I use Python because I'm most familiar with it and use it everywhere, even for school (Django). I don't even know JavaScript/TypeScript (although I plan to learn it very soon).

For performance, I don't notice any performance hits, although I probably do need to optimize the app launcher. The bar takes ~90mb of RAM, and the notification system and app launcher each take about 70mb of RAM. 0.0% CPU usage when idle for each. Even spamming a letter then backspace in the app launcher I get max 2.6% CPU usage, which is not a lot since I have a 6 core 12 thread CPU, although I don't think anyone will do that.

The reason why I say it needs optimization is because every time you open the app launcher, RAM usage doesn't increase, and the way it works is really not great.

So to sum it up, no issues on performance side, except for my poor optimization. You can check performance and resource usage yourself too to check. I used btop in terminal to check this, but you can use any task manager/resource monitoring tool you like.

emm-enn commented 1 week ago

ah got it, i thought you knew js/ts since the first modernish version was based on ags

sudoharun commented 1 week ago

I was planning on learning JS by just making stuff with AGS, but now that Astal exists, I prefer to use something I'm familiar with and is relatively simple to use.

emm-enn commented 1 week ago

fair enough

emm-enn commented 5 days ago

hey been wanting to ask you this but forgot.. have you tried fabric yet? it uses python to configure stuff, maybe works better than astal for you?

sudoharun commented 4 days ago

No, I haven't tried it, although I am interested in trying it out.

However I'm very busy with college work, hence I'm not able to update this branch very frequently. I'll try to add new features at least monthly, since I do enjoy working on this whenever I have free time.