fix: thunar uses xfce helper to find terminal

This commit is contained in:
Ben Grande 2024-01-31 14:39:37 +01:00
parent 165dd238d6
commit 5634910c97
No known key found for this signature in database
GPG Key ID: 00C64E14F51F9E56
4 changed files with 47 additions and 1 deletions

View File

@ -1,5 +1,5 @@
{#
SPDX-FileCopyrightText: 2023 Benjamin Grande M. S. <ben.grande.b@gmail.com>
SPDX-FileCopyrightText: 2023 - 2024 Benjamin Grande M. S. <ben.grande.b@gmail.com>
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.

27
copy-xfce.sls Normal file
View File

@ -0,0 +1,27 @@
{#
SPDX-FileCopyrightText: 2024 Benjamin Grande M. S. <ben.grande.b@gmail.com>
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

9
copy-xfce.top Normal file
View File

@ -0,0 +1,9 @@
{#
SPDX-FileCopyrightText: 2024 Benjamin Grande M. S. <ben.grande.b@gmail.com>
SPDX-License-Identifier: AGPL-3.0-or-later
#}
base:
'*':
- dotfiles.copy-xfce

View File

@ -0,0 +1,9 @@
## SPDX-FileCopyrightText: 2024 Benjamin Grande M. S. <ben.grande.b@gmail.com>
##
## SPDX-License-Identifier: AGPL-3.0-or-later
# vim: ft=confini
FileManager=thunar
MailReaders=thunderbid
WebBrowser=x-www-browser
TerminalEmulator=x-terminal-emulator