feat(abs): redeine the DE users paths.

This commit is contained in:
Alexandre Pujol 2024-03-18 01:03:44 +00:00
parent 25c2dc3399
commit 437bef18ca
No known key found for this signature in database
GPG Key ID: C5469996F0DF68EC
2 changed files with 13 additions and 18 deletions

View File

@ -2,18 +2,10 @@
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
# Extra Mesa rules for GDM
/var/lib/gdm{3,}/.cache/ w,
/var/lib/gdm{3,}/.cache/mesa_shader_cache/ rw,
/var/lib/gdm{3,}/.cache/mesa_shader_cache/index rw,
/var/lib/gdm{3,}/.cache/mesa_shader_cache/@{h}@{h}/ rw,
/var/lib/gdm{3,}/.cache/mesa_shader_cache/@{h}@{h}/@{hex} rw,
/var/lib/gdm{3,}/.cache/mesa_shader_cache/@{h}@{h}/@{hex}.tmp rwk,
# Extra Mesa rules for SDDM
/var/lib/sddm/.cache/ w,
/var/lib/sddm/.cache/mesa_shader_cache/ rw,
/var/lib/sddm/.cache/mesa_shader_cache/index rw,
/var/lib/sddm/.cache/mesa_shader_cache/@{h}@{h}/ rw,
/var/lib/sddm/.cache/mesa_shader_cache/@{h}@{h}/@{hex} rw,
/var/lib/sddm/.cache/mesa_shader_cache/@{h}@{h}/@{hex}.tmp rwk,
# Extra Mesa rules for desktop environments
owner @{desktop_cache_dirs}/ w,
owner @{desktop_cache_dirs}/mesa_shader_cache/ rw,
owner @{desktop_cache_dirs}/mesa_shader_cache/index rw,
owner @{desktop_cache_dirs}/mesa_shader_cache/@{h}@{h}/ rw,
owner @{desktop_cache_dirs}/mesa_shader_cache/@{h}@{h}/@{hex} rw,
owner @{desktop_cache_dirs}/mesa_shader_cache/@{h}@{h}/@{hex}.tmp rwk,

View File

@ -8,16 +8,19 @@
@{GDM_HOME}=/var/lib/gdm{,3}/
@{gdm_cache_dirs}=@{GDM_HOME}/.cache/
@{gdm_config_dirs}=@{GDM_HOME}/.config/
@{gdm_local_dirs}=@{GDM_HOME}/.local/
@{gdm_share_dirs}=@{GDM_HOME}/.local/share/
# Full path of the SDDM configuration directories
@{SDDM_HOME}=/var/lib/sddm/
@{sddm_cache_dirs}=@{SDDM_HOME}/.cache/
@{sddm_config_dirs}=@{SDDM_HOME}/.config/
@{sddm__local_dirs}=@{SDDM_HOME}/.local/
@{sddm_share_dirs}=@{SDDM_HOME}/.local/share/
# Full path of all DE configuration directories
@{DESKTOP_HOME}=@{GDM_HOME} @{SDDM_HOME}
@{desktop_cache_dirs}=@{DESKTOP_HOME}/.cache/
@{desktop_config_dirs}=@{DESKTOP_HOME}/.config/
@{desktop_share_dirs}=@{DESKTOP_HOME}/.local/share/
@{desktop_cache_dirs}=@{gdm_cache_dirs} @{sddm_cache_dirs}
@{desktop_config_dirs}=@{gdm_config_dirs} @{sddm_config_dirs}
@{desktop_local_dirs}=@{gdm_local_dirs} @{sddm__local_dirs}
@{desktop_share_dirs}=@{gdm_share_dirs} @{gdm_share_dirs}