feat: add portal host override script and update portal configuration
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
# Hyprland Dotfiles (portable portal setup)
|
||||
|
||||
Diese Konfiguration ist für den Einsatz via `stow` auf unterschiedlichen Systemen vorbereitet.
|
||||
|
||||
## Portal-Backends
|
||||
|
||||
Die Portal-Priorität steht in `.config/xdg-desktop-portal/portals.conf` auf:
|
||||
|
||||
- `hyprland` für Hyprland-spezifische Portale
|
||||
- `gtk` als primärer, host-unabhängiger Backend für OpenURI/FileChooser/Settings
|
||||
- `kde` als Fallback
|
||||
|
||||
Damit funktioniert der Dateizuordnungs-Dialog auch ohne komplette GNOME- oder KDE-Session.
|
||||
|
||||
## Host-Override
|
||||
|
||||
`.config/hypr/scripts/portal-host-override.sh` setzt `XDG_MENU_PREFIX=plasma-` nur dann,
|
||||
wenn KDE-Portal + Plasma-Menüdatei vorhanden sind. Ohne diese Voraussetzungen wird nichts erzwungen.
|
||||
|
||||
## Pakete auf Zielsystemen
|
||||
|
||||
Empfohlen (mindestens):
|
||||
|
||||
- `xdg-desktop-portal`
|
||||
- `xdg-desktop-portal-hyprland`
|
||||
- `xdg-desktop-portal-gtk`
|
||||
|
||||
Optional (Fallback):
|
||||
|
||||
- `xdg-desktop-portal-kde`
|
||||
Reference in New Issue
Block a user