diff --git a/copy-all.sls b/copy-all.sls index 6f9a569..5ae8e4c 100644 --- a/copy-all.sls +++ b/copy-all.sls @@ -1,5 +1,5 @@ {# -SPDX-FileCopyrightText: 2023 Benjamin Grande M. S. +SPDX-FileCopyrightText: 2023 - 2024 Benjamin Grande M. S. SPDX-License-Identifier: AGPL-3.0-or-later #} @@ -15,6 +15,7 @@ include: - .copy-tmux - .copy-vim - .copy-x11 + - .copy-xfce {# Unfortunately salt.states.file does not keep permissions when using salt-ssh. diff --git a/copy-xfce.sls b/copy-xfce.sls new file mode 100644 index 0000000..ff2d908 --- /dev/null +++ b/copy-xfce.sls @@ -0,0 +1,27 @@ +{# +SPDX-FileCopyrightText: 2024 Benjamin Grande M. S. + +SPDX-License-Identifier: AGPL-3.0-or-later +#} + +"{{ slsdotpath }}-copy-xfce-home": + file.recurse: + - name: /home/user/ + - source: salt://{{ slsdotpath }}/files/xfce/ + - file_mode: '0644' + - dir_mode: '0700' + - user: user + - group: user + - keep_symlinks: True + - force_symlinks: True + +"{{ slsdotpath }}-copy-xfce-skel": + file.recurse: + - name: /etc/skel + - source: salt://{{ slsdotpath }}/files/xfce/ + - file_mode: '0644' + - dir_mode: '0700' + - user: root + - group: root + - keep_symlinks: True + - force_symlinks: True diff --git a/copy-xfce.top b/copy-xfce.top new file mode 100644 index 0000000..5e9ceca --- /dev/null +++ b/copy-xfce.top @@ -0,0 +1,9 @@ +{# +SPDX-FileCopyrightText: 2024 Benjamin Grande M. S. + +SPDX-License-Identifier: AGPL-3.0-or-later +#} + +base: + '*': + - dotfiles.copy-xfce diff --git a/files/xfce/.config/xfce4/helpers.rc b/files/xfce/.config/xfce4/helpers.rc new file mode 100644 index 0000000..0c1678d --- /dev/null +++ b/files/xfce/.config/xfce4/helpers.rc @@ -0,0 +1,9 @@ +## SPDX-FileCopyrightText: 2024 Benjamin Grande M. S. +## +## SPDX-License-Identifier: AGPL-3.0-or-later +# vim: ft=confini + +FileManager=thunar +MailReaders=thunderbid +WebBrowser=x-www-browser +TerminalEmulator=x-terminal-emulator