;; Copyright (C) 2025 John Turner ;; This program is free software: you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by ;; the Free Software Foundation, either version 3 of the License, or ;; (at your option) any later version. ;; This program is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License ;; along with this program. If not, see . (block xdg (block config (block user (block home (macro user_home_file_type_transition_file ((type ARG1) (class ARG2) (name ARG3)) (call .user.home.home_file_type_transition_file (ARG1 file ARG2 ARG3))) (blockinherit .file.home.user.template) (filecon "HOME_DIR/\.config" dir file_context) (filecon "HOME_DIR/\.config/.*" any file_context)))) (block cache (block user (block home (macro user_home_file_type_transition_file ((type ARG1) (class ARG2) (name ARG3)) (call .user.home.home_file_type_transition_file (ARG1 file ARG2 ARG3))) (blockinherit .file.home.user.template) (filecon "HOME_DIR/\.cache" dir file_context) (filecon "HOME_DIR/\.cache/.*" any file_context)))) (block share (block user (block home (macro user_home_file_type_transition_file ((type ARG1) (class ARG2) (name ARG3)) (call .user.home.home_file_type_transition_file (ARG1 file ARG2 ARG3))) (blockinherit .file.home.user.template) (filecon "HOME_DIR/\.local/share" dir file_context) (filecon "HOME_DIR/\.local/share/.*" any file_context)))) (block state (block user (block home (macro user_home_file_type_transition_file ((type ARG1) (class ARG2) (name ARG3)) (call .user.home.home_file_type_transition_file (ARG1 file ARG2 ARG3))) (blockinherit .file.home.user.template) (filecon "HOME_DIR/\.local/state" dir file_context) (filecon "HOME_DIR/\.local/state/.*" any file_context)))) (block bin (block user (block home (macro user_home_file_type_transition_file ((type ARG1) (class ARG2) (name ARG3)) (call .user.home.home_file_type_transition_file (ARG1 file ARG2 ARG3))) (blockinherit .file.exec.template) (filecon "HOME_DIR/\.local/bin" dir file_context) (filecon "HOME_DIR/\.local/bin" any file_context)))))