Modifications for qbittorrent profile and qt5.d abstractions

This modifications allow read system and user qt5ct configs for better
integrations with other DEs (not-KDE).
This commit is contained in:
Jose Maldonado aka Yukiteru 2024-04-25 01:21:19 -04:00 committed by Alex
parent e4c3f1f076
commit c733d6b9c2
2 changed files with 5 additions and 1 deletions

View file

@ -4,3 +4,7 @@
/usr/share/qt{,5,6}/qtlogging.ini r, /usr/share/qt{,5,6}/qtlogging.ini r,
/usr/share/qt{,5,6}/translations/*.qm r, /usr/share/qt{,5,6}/translations/*.qm r,
# Qt5CT
/usr/share/qt5ct/{,**} r,
owner @{HOME}/.config/qt5ct/{,**} r,

View file

@ -23,6 +23,7 @@ profile qbittorrent @{exec_path} {
include <abstractions/ibus> include <abstractions/ibus>
include <abstractions/nameservice-strict> include <abstractions/nameservice-strict>
include <abstractions/private-files-strict> include <abstractions/private-files-strict>
include <abstractions/qt5>
include <abstractions/qt5-compose-cache-write> include <abstractions/qt5-compose-cache-write>
include <abstractions/qt5-settings-write> include <abstractions/qt5-settings-write>
include <abstractions/ssl_certs> include <abstractions/ssl_certs>
@ -90,7 +91,6 @@ profile qbittorrent @{exec_path} {
owner @{user_config_dirs}/qBittorrent/ rw, owner @{user_config_dirs}/qBittorrent/ rw,
owner @{user_config_dirs}/qBittorrent/** rwkl -> @{user_config_dirs}/qBittorrent/#@{int}, owner @{user_config_dirs}/qBittorrent/** rwkl -> @{user_config_dirs}/qBittorrent/#@{int},
owner @{user_config_dirs}/qt5ct/{,**} r,
owner @{user_share_dirs}/{,data/}qBittorrent/ rw, owner @{user_share_dirs}/{,data/}qBittorrent/ rw,
owner @{user_share_dirs}/{,data/}qBittorrent/** rwl -> @{user_share_dirs}/{,data/}qBittorrent/**/#@{int}, owner @{user_share_dirs}/{,data/}qBittorrent/** rwl -> @{user_share_dirs}/{,data/}qBittorrent/**/#@{int},