Hello I am trying to edit a config file in vs code, and when I try to save it first comes up with an error box that says "Failed to save ‘init.lua’: Insufficient permissions. Select “Retry as Sudo’ to retry as superuser.” when I click retry as superuser it then says "Failed to save “init.lua: No polkit authentication agent found.” I am running tumbleweed with qtile.
Ask on the
qtile support channels whether they implement polkit authentication agent. It is required to let user to authorize actions that need elevated privileges. Normally such agent is part of Desktop Environment, is started when you log in and registers as session-wide agent.
This ArchLinux page has an overview of polkit agent implementations if your DE lacks one.