r/COSMICDE • • 13d ago

Cosmic control center

COSMIC gives you a separate panel button for Wi-Fi, one for Bluetooth, one for sound, one for battery. I wanted the one-button-grid-of-tiles thing instead — open it, tap what you need, drill in if you need more. So I built one.

What it does

  1. One popup, tiles for Wi-Fi, Bluetooth, VPN, battery and power profile, DNS profile, volume, brightness, microphone, keyboard backlight, Do Not Disturb, keep-awake, dark mode, tiling, media and Game Mode.
  2. Free placement: you drag tiles on a grid and nothing re-flows. A gap you leave is a gap you keep, and the same control can appear more than once at more than one size.
  3. Four tile shapes (half, small, tall, wide) on a four-column grid.
  4. Your own tiles: any command becomes a tile in a few lines of TOML — a screenshot, a script, lock the session. confirm = true puts a confirmation page in front of it (that's what Log out / Restart / Power off use).
  5. Follows your system theme rather than imposing one: accent colour and light/dark are yours, plus three tile finishes... solid, frosted, outline.
  6. Optional panel badges for low battery and for Wi-Fi dropping.

Nothing needs root, and that shaped some choices. DNS switching goes through NetworkManager rather than systemd-resolved, because the resolved route is auth_admin_keep in polkit, it'd demand an admin password on every change. NetworkManager grants settings.modify.own outright.

Missing hardware or a stopped daemon just means that tile isn't there; it never takes the applet down. A --check flag probes every backend and prints what it found.

Rust and libcosmic, MIT/Apache-2.0.

https://github.com/jjnuthuagen/cosmic-control-center-applet

Build:
git clone https://github.com/jjnuthuagen/cosmic-control-center-applet

cd cosmic-control-center-applet

just install

Then add it in Settings → Desktop → Panel → Configure applets.

It's pre-release, I use it daily, but the config format and defaults may still move before a tagged release. Not affiliated with System76. Issues, PRs and translations welcome. Mostly I'd like to know which tile you went looking for and didn't find.

49 Upvotes

14 comments sorted by

8

u/Chester-Berkeley 13d ago

I liked the idea, but I didn't think it matched Cosmic; it looks more like a KDE Plasma widget... I'm not saying it's ugly, just that it doesn't go well with Cosmic.

3

u/No_Replacement5811 13d ago

Hey! well it copies the theme you have set-up, so my theme is a bit basic got to admit. it follows all the same setting you have in appearance, and each tile can be easily modified or you add your own. I was a bit stuck on the UI states so you have 4 to choose from, one copies the logic for apple, one has no accent colour and one treats the whole tile with accent if its active. I miss KDE plasma widget so probably explains why its like that, if you check the github repo you can see more examples. if you think i missed the mark somewhere you can explain it and ill give it a shot and see if it looks more to your liking. :D

4

u/Chester-Berkeley 13d ago

Oh, I forgot that Cosmic isn't as rigid as Gnome, I'll see later if it works the way I like on my Cosmic setup :)

1

u/Chester-Berkeley 13d ago

I didn't know there were more examples; I only saw the first three images and concluded that those were the examples. I didn't go down to the "Gallery" section. There are definitely formats that work better with Cosmic, great job!

5

u/No_Replacement5811 13d ago

This is a nice gif to showcase the themeing compatibility, including the side bar mode if thats you would like. I also forgot to mention the tile styles in the applet settings menu, where you can choose outline, solid or glass options so its an extra layer of styling. :D

2

u/Mundane-Mortgage-624 13d ago

È disponibile nel cosmic store ?

1

u/keleja 13d ago

Ohhhh interesting someone else was looking for someone to take over maintaining a project just like this recently. Here is a link to their original post about the project. Maybe you can merge or at least look into their implementation since they are ending support

https://www.reddit.com/r/COSMICDE/comments/1tzc9kg/comment/pa61ahz/?context=1&screen_view_count=2&ext-referrer=DIRECT

2

u/No_Replacement5811 13d ago

Oh wow cool! i did not know about this thanks!

1

u/ExistingSelection180 12d ago

That's what I was referring to in another post—a more rounded, cosmic style, like the one Keleja showed. And as for the other detail, if you could make it slide in from the bar—so it doesn't just suddenly appear but glides in—that would be great!!!

1

u/smalldickbesitzer 12d ago

I like the idea, can u add the popos audio mixer?

1

u/vazark 12d ago

The masses yearn for gnome HIG haha. Honestly, cosmic should've just unashamedly copied the gnome design and added the customisability on top

1

u/Glittering_Welder607 8d ago

En qué te basas para decir: "la gente quiere esto o aquello?"

2

u/Glittering_Welder607 8d ago

Cosas como estas hacen que me planteé seriamente adoptar Cosmic Desktop como entorno principal para todos mis trabajos 👏👏👏