my sway setup, explained part by part (so you can steal the good bits)
dotfiles on github, opinions about my font still not welcome
Contents
people keep asking what my setup is so here is the whole thing, in parts, so you can take what you want and ignore the rest. this is arch + sway (wayland tiling compositor) on a thinkpad. dotfiles are linked at the bottom, PRs welcome, font comments are not.
the compositor: sway
sway is i3 but for wayland, same config syntax, so if you know i3 you already know sway. the config lives in ~/.config/sway/config. the parts that matter:
- workspaces bound to super+1 through super+0, apps assigned to fixed workspaces so my brain always knows where firefox is (workspace 2, always).
gaps inner 8because i am not a monster, but no outer gaps because that is just wasted pixels.- a single keybind to reload the config so i can tweak it 40 times an evening, which i do.
the bar: waybar
waybar across the top. cpu, memory, network, battery, clock, and a tiny module that shows my current workspace name. styled with css because waybar takes a real stylesheet, which is either lovely or cursed depending on your mood. the whole look is one font and two accent colours, that is it. restraint is a ricing skill nobody talks about.
terminal + shell
foot as the terminal (wayland native, fast, boring in the good way), fish as the shell because i got tired of writing bash functions, and starship for the prompt so it looks the same on every machine. neovim for everything else, config split into lua files so it does not become one 2000 line horror.
the part everyone gets wrong
do not copy a 3000 line dotfiles repo from someone else and wonder why nothing works. build it up one piece at a time, understand each line, and when something breaks you will know where to look. a config you do not understand is just someone else's problem living on your machine. start with a bare sway config, add one thing, use it for a week, add the next thing.
dotfiles: github.com/arch-btw-lena/dotfiles (not a real repo, do not @ me). take the waybar css, it is the good part. leave the font debate at the door, or.
Written by
Lena Hoffmann
i use arch btw. sway, neovim, too many dotfiles. backend dev (go) by day, ricing by night. leipzig. dotfiles on github, PRs welcome, opinions about my font not welcome
Get the best of #linux_desktop_year weekly
One email each Monday with the most useful posts. No spam; unsubscribe in one click.
Comments
Sign in to join the conversation.
Sign in to comment