maximbaz/dotfiles

One more question

NegativeFeedback opened this issue · 2 comments

Can you help me better understand the setup script where it is looking for "Desktop-"? I dont understand what the use case is for this.
Thanks!

Hey, the idea is that I need slightly different configs on different computers, and to make it simple I decided to make all my computers follow naming conventions, for example all desktop computer hostnames would start from "desktop-", all VM hostnames would start from "vm-", and so forth.

In my particular case I only have two types, "desktop-" and something else, so all I need is "if hostname starts from desktop-, then do that", but you can extend this logic if needed.

Does it make sense?

Makes sense thanks!