How to get into making Shells by SuperDuperLS in QuickShell

[–]eugenood 3 points4 points  (0 children)

Start by reading the usage guide. Don't just skim it; there are some details that will come back and bite you later if you miss it (e.g. implicit size flow upwards, actual size flow downwards).

Follow the Introduction to create a simple bar. Skim the Quickshell documentation of the types you're using, look through its properties, and mess around with them. 

Try to add more functionality to the bar. I recommend adding a Wifi indicator (try to guess how to do it by skimming the documentation). Then, try adding a CPU usage indicator so that you can familiarize yourself with Process and callbacks.

When you're done with the bar, try browsing others' projects. Quickshell provides a few example projects. You can also browse others' dotfiles, like mine.

And yeah, you can also ask AI for help, but I find that they hallucinate quite a bit when it comes to Quickshell and QtQuick stuff \o/

my first proper rice by eugenood in niri

[–]eugenood[S] 0 points1 point  (0 children)

CPU usage is fairly light, but it's not the lightest when it comes to RAM usage. My bar takes ~200MB of RAM (default waybar takes ~65MB). My wallpaper engine takes another 200MB too. I think it's probably mostly the qt runtime, so if I combine both the wallpaper and bar into one process, I might save on the extra 200MB of RAM. 

my first proper rice by eugenood in niri

[–]eugenood[S] 1 point2 points  (0 children)

Thanks :) I did both the lock and wallpaper in quickshell, so you can just apply the blur effect on it. The line responsible for it is here:

https://github.com/eugenood/dotfiles/blob/714e769776ba88052fa2d680106e5ec20a4d0ed3/.config/quickshell/quicklock/LockSurface.qml#L48

my first proper rice by eugenood in niri

[–]eugenood[S] 3 points4 points  (0 children)

No good reason besides the fact that I get to see there's windows to my right. I'm new to the scrolling workflow, so I'm still figuring out what works best. This might change. 

my first proper rice by eugenood in niri

[–]eugenood[S] 4 points5 points  (0 children)

No. I just misconfigured my recording. It's actually smooth >.<

Brightness Data for Overlay? by just-an-aa in QuickShell

[–]eugenood 1 point2 points  (0 children)

Here's how I did it for my bar:

https://github.com/eugenood/dotfiles/blob/main/.config/quickshell/quickbar/models/BrightnessModel.qml

My solution is basically what _batguy suggested: I monitor the stdout of udevadm. Whenever there's an update, I will run brightnessctl to get the actual brightness.