I want to connect to the WiFi automatically when the computer wake up from sleep or when i start dwm, and i can't figure it out
Networkmanager do it very well
No need to start another post when it is about same issue that was posted
regarding auto connect on wifi it is probably best for you (judging by your wuestion and reactions of others) to truly use NetworkManager (even I use it and I am here)
Steps to follow:
- Install NetowrkManager + the init script for it
- Disable current network setting program/configuration, I think Artix is by default using connman but I have no idea what you use
- enable network manager in you init (so it starts when you turn it on)
- start network manager service manually (or reboot)
- login to cli/tty and start $ nmtui
- configure the network connection and done, now it should connect by itself (or so I hipe)