31

thought i'd share my minimal sway setup. It is simply designed with a utility focused in mind, I don't plan to implement UI/UX graphics, although i might add a dark theme to it.

distro: arch linux tty emulator: alacritty file manager: alacritty menu: rofi editor: vim wm bar: swaybar background utility: swaybg etc: swayidle, swaylock

the swaybar configuration is simply a shell script to fetch information such as battery, ram, cpu, and workspace data. again, this won't be modified for asthetics.

top 5 comments
sorted by: hot top new old

Hey, looks great! I'm a Sway user too :3

If you don't mind sharing, I'm curious about the swaybar script: how are you getting the currently focused window?

P.S. You can add backslashes (\) at the ends of lines to do hard linebreaks (e.g. on your list of programs).

[-] iusemybrain@sh.itjust.works 2 points 4 weeks ago* (last edited 4 weeks ago)

The implementation isn't working yet, I'll give you an explanation once I find the time to fix it.

Oh thanks, I'll make note of that in the implementation.

Cool!

Btw, my linebreak comment was referring to the tech stack list in your post :]

[-] wwr@sh.itjust.works 2 points 3 weeks ago

Probably sub to sway's ipc and feed that to the bar every half second or smth. This would benefit from one of those fifo/pipes thingies used in other sh bars to ensure that you don't run every command in your bar every half second

That is an excellent idea. Thanks!

this post was submitted on 06 Nov 2026
31 points (97.0% liked)

Unixporn

20042 readers
3 users here now

Unixporn

Submit screenshots of all your *NIX desktops, themes, and nifty configurations, or submit anything else that will make themers happy. Maybe a server running on an Amiga, or a Thinkpad signed by Bjarne Stroustrup? Show the world how pretty your computer can be!

Rules

  1. Post On-Topic
  2. No Defaults
  3. Busy Screenshots
  4. Use High-Quality Images
  5. Include a Details Comment
  6. No NSFW
  7. No Racism or use of racist terms

founded 7 years ago
MODERATORS