feat: add sysauth service for Polkit authentication

- Add SysauthService with D-Bus agent registration
- Add AuthDialog with centered overlay password prompt
- Add password utils (PAM verification, keyrings.alt caching)
- Integrate sysauth into main app initialization
- Update WiFi dialog to use sysauth for password prompts
- Add sysauth.css with dialog styling
- Remove standalone WiFi password dialog
This commit is contained in:
sankalp committed 2026-07-26 15:28:09 +05:45
1 parent 7917eea54b
commit eba5827189
11 files changed
+1100 -297

No files matched your search

+5
View File
@@ -17,6 +17,7 @@ from fabric.utils import get_relative_path, logger, monitor_file
from services.config import config
from services.keyboard_layout import KeyboardLayout
from services.sysauth import SysauthService
from shared.data import APP_NAME, load_config
from utils.functions import set_process_name
from utils.gtk_utils import generate_colors_from_wallpaper
@@ -96,6 +97,10 @@ def main():
# Set up styling before creating windows to prevent unstyled flashes
setup_css(app)
# Initialize Polkit authentication agent
sysauth = SysauthService()
sysauth.start()
switcher = ApplicationSwitcher()
panel = Panel()
modusnoti = ModusNoti()