Add Fedora support, Qt6 SDDM theme and config fixes - #16
Open
kaidozerotwo wants to merge 5 commits into
Open
kaidozerotwo wants to merge 5 commits into
kaidozerotwo wants to merge 5 commits into
Conversation
- Remove the stray closing brace that ends the root object early and stops waybar from parsing the config. - Point the memory module's right-click at missioncenter instead of the nonexistent missioncontrol.
- Detect Fedora and install packages with dnf, the sdegler/hyprland COPR and per-user Flatpaks. - Add dnfpkgs.lst and flatpakpkgs.lst package lists for each module. - Swap AUR-only apps for Fedora stand-ins and disable the ones with no equivalent. - Keep GDM unless the user opts in to SDDM, and skip the GRUB theme on Fedora. - Write NVIDIA env vars to nvidia.conf and source a local.conf that survives reinstalls. - Stop using sudo for files under the home directory so they stay user-owned. - Make appends idempotent and newline-safe instead of editing the repo's own files. - Install the Vesktop theme under the filename that settings.json enables. - Ask before installing SDDM, Spotify and Vesktop, and default the reboot prompt to no.
Hyprland 0.56 replaced the option with misc:on_focus_under_fullscreen, and the old name now fails config verification.
SDDM 0.21+ runs themes on Qt6, which has no QtQuick.Controls 1, Controls.Styles or the Audio element, so the theme fails to load and SDDM falls back to its embedded theme. - Port Main.qml and the tooltips to Qt6 imports and QtQuick.Controls.Basic. - Play the powerline, welcome and denied sounds with QtMultimedia SoundEffect. - Resolve the session dropdown arrow against the theme directory. - Size the login button without anchors inside a layout. - Show a failed-login message, clear and refocus the password field, and warn when Caps Lock is on, so a rejected password is obvious with sound off. - Show the current keyboard layout and highlight the focused field. - Set QtVersion=6 in metadata.desktop and switch the package lists to Qt6. Checked with sddm-greeter-qt6 --test-mode on Fedora 44: the theme loads with no QML errors, and a deliberately broken copy reports its error.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This adds a Fedora install path to the existing installer and fixes a few things that break on current releases of SDDM, Hyprland and Waybar. The Arch path stays the same apart from the Qt6 package names for SDDM.
Changes
Fedora support for the installer
helper.shdetects Fedora and installs packages withdnf, thesdegler/hyprlandCOPR and per-user Flatpaks. Each module gets its owndnfpkgs.lst/flatpakpkgs.lst.fastfetch,rofimoji,nm-connection-editor,blueman). Apps with no equivalent are disabled.$HOMEare no longer written withsudo, so they stay user-owned.nvidia.conf, and alocal.confis sourced last so user tweaks survive reinstalls.SDDM theme on the Qt6 greeter
SDDM 0.21+ runs themes on Qt6, which has no
QtQuick.Controls 1,Controls.StylesorAudio. Without a port, the theme fails to load and SDDM silently falls back to its embedded theme.QtQuick.Controls.Basic. The background and sounds are kept; the sounds now play throughQtMultimediaSoundEffect.metadata.desktopsetsQtVersion=6, and the package lists now use the Qt6 packages (qt6-declarative,qt6-multimedia,qt6-wayland).Config fixes
},that closed the root object early and stopped the config from parsing. The memory module's right-click now opensmissioncenterinstead of the nonexistentmissioncontrol.misc:new_window_takes_over_fullscreentomisc:on_focus_under_fullscreen.settings.jsonenables.Testing
HYPRLAIN_SKIP_PACKAGES=1, a throwawayHOME, stubbedsudo/curl/flatpak).bash -npasses on every install script.sddm-greeter-qt6 --test-modeloads it with no QML errors. As a control, a deliberately broken copy reports its error, which confirms the check can fail.SoundEffecthas only been load-tested in test mode, not heard on a live login screen.