Get the latest tech news
Lowering resource usage with foot and systemd
Melding systemd and foot for reduced memory consumption in sway Background Since I often work in strong sunlight, I often want to reconfigure my terminal to use a light or a dark scheme depending on the time of day. In the process, I decided to fiddle around with custom systemd targets, since sway isn’t really good at managing long running processes like my terminal (foot) server. Starting point Some years ago I ended up with a rather ad-hoc scratchpad configuration, reproduced for clarity (current config here):
Put a scratchpad in the upper left bound to F1 and resize it to a long thin window Attach or start a tmux session here called mS Having to reload the sway configuration just because changes needed to be propagated is asinine, and finally annoyed me enough to make the switch to a real service manager. Moreover, this setup greatly facilitates changing themes, a feature that is particularly useful for those who work in varying lighting conditions, like moving between indoor and outdoor environments.
Or read this on Hacker News