I had used sway for a year or so and liked it
Then a switched to river ( https://github.com/riverwm/river ) a few months ago, it’s also fine
I’m on a very slow mission to remove C/C++ from my setup, otherwise I’d still be on sway
Why removing C?
I prefer Zig, Rust, Go, and every other programming language that isn’t the cause of 70% of CVEs
Humans are just bad at managing memory safety, so why encourage the use of such tools?
Removing C from your setup sounds interesting. Please tell me more about your setup and the different ways you have removed C.
It’s far from complete, but it’s mostly about increasing my awareness of what tools I use, and every now and then taking a look to see if there’s an alternative
I’m not extreme about it, after all, I’m still using the Linux kernel, Firefox, a whole bunch of Electron apps (which internally include Chromium) all of which are mostly C/C++
But so far, what I’ve got is:
- agetty -> https://git.sr.ht/~kennylevinsen/greetd
- bash/zsh -> https://www.nushell.sh/
- coreutils -> https://github.com/uutils/coreutils
- curl -> https://github.com/ducaale/xh
- df -> https://github.com/muesli/duf
- dmenu -> https://github.com/nwg-piotr/nwg-drawer
- dig -> https://github.com/ogham/dog
- du -> https://github.com/bootandy/dust
- find -> https://github.com/sharkdp/fd/
- grep -> https://github.com/BurntSushi/ripgrep
- ping -> https://github.com/orf/gping
- ps -> https://github.com/dalance/procs
- sed -> https://github.com/chmln/sd
- sway -> https://github.com/riverwm/river ( both use wlroots underneath which is C )
- swaylock -> https://github.com/ifreund/waylock
- terminal -> https://github.com/alacritty/alacritty
- tmux -> https://github.com/zellij-org/zellij
- top -> https://github.com/ClementTsang/bottom
- waybar -> https://github.com/elkowar/eww
Thanks for sharing your setup. Looks interesting. Maybe one day we’ll have the ability to run a full software stack without any memory unsafe programs, but I wouldn’t hold my breath on it happening too soon unfortunately.
Yeah, I don’t see any of the memory-safe open-source OS kernels reaching the popularity and compatibility of the Linux kernel anytime soon, but they are interesting to keep an eye on: https://www.redox-os.org/
Meanwhile, Firefox is gradually shifting to using Rust more and more (I believe its WebRender engine is already Rust, as well its SVG implementation, and probably other parts by now)
I’d love to switch to sway from i3. However, things like lock screen and screen saver, display sleep, etc, seem hard to figure out in a diy WM. Not to say those things weren’t hard to figure out in xorg world, but I’ve already invested the effort and I’m older and significantly lazier now.
Same boat, there are still too many things i rely on with xorg to do the switch yet to sway.
My experience was the other way round: DIY in i3, bit in sway just copy-paste the example with sway-idle and all of that works out of the box. Try it out
Have you ever tried XMonad?
Yep, along with DWM, BSPWM, and Qtile. I really liked it.