Open emm-enn opened 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.
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.
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?
Yes, sorry, forgot to update that. It's updated now.
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?
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
.
alright ran the first and it didn't work, the second command gave "python: no process found" as the output
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.
done! running the python command fixed it
Nice! I've almost finished implementing a notification center so keep an eye out on that too 👀.
cool! waiting for it.. how would i update when it comes out? git pull the dotfiles folder and replace the files in .config?
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.
Hi @emm-enn, I've just completed the notification center and pushed the changes.
I recommend to do two things:
git pull
then delete the astal
folder within your $HOME/.config
and replacing it with the new one since I've done more than just added the notification centerstart_astal.sh
script to start the astal apps, it's included in config/hypr
and you can check the exec-once
lines in config/hypr/hyprland.conf
in this branch to see what I've updated (it's a small change so if you have a modified config you don't need to replace the whole file).hey, just tested it rn.. works fine!
also one thing to ask, is there a clipboard functionality currently?
Not yet, but you can have a look here for some clipboard managers: https://wiki.hyprland.org/Useful-Utilities/Clipboard-Managers/
got it, thanks!
Hey @emm-enn, I've just pushed some changes to modernish which should improve notifications user experience and interface.
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 👀🔥
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
Although I use auto-cpufreq
for power management, sure, I can do that.
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.
done! looks cool
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?
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.
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
oh wait nvm, i forgot that you use python with astal instead of ags
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.
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?
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.
ah got it, i thought you knew js/ts since the first modernish version was based on ags
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.
fair enough
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?
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.
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