qusal/salt/sys-audio/configure-dvm.sls

49 lines
1.3 KiB
Plaintext
Raw Normal View History

2024-01-02 17:01:58 -05:00
{#
SPDX-FileCopyrightText: 2023 - 2024 Benjamin Grande M. S. <ben.grande.b@gmail.com>
2024-01-02 17:01:58 -05:00
SPDX-License-Identifier: AGPL-3.0-or-later
#}
{% if grains['nodename'] != 'dom0' -%}
2024-01-22 12:42:54 -05:00
include:
- dev.home-cleanup
"{{ slsdotpath }}-desktop-volumeicon":
2024-01-02 17:01:58 -05:00
file.managed:
- name: /home/user/.local/share/applications/volumeicon.desktop
- source: salt://{{ slsdotpath }}/files/dvm/volumeicon.desktop
- mode: '0644'
- user: user
- group: user
- makedirs: True
"{{ slsdotpath }}-autostart-volumeicon":
2024-01-02 17:01:58 -05:00
file.symlink:
- name: /home/user/.config/autostart/volumeicon.desktop
- target: /home/user/.local/share/applications/volumeicon.desktop
- user: user
- group: user
- force: True
- makedirs: True
"{{ slsdotpath }}-desktop-qvm-start-daemon":
file.managed:
- name: /home/user/.local/share/applications/qvm-start-daemon.desktop
- source: salt://{{ slsdotpath }}/files/dvm/qvm-start-daemon.desktop
- mode: '0644'
- user: user
- group: user
- makedirs: True
"{{ slsdotpath }}-autostart-qvm-start-daemon":
file.symlink:
- name: /home/user/.config/autostart/qvm-start-daemon.desktop
- target: /home/user/.local/share/applications/qvm-start-daemon.desktop
- user: user
- group: user
- force: True
- makedirs: True
2024-01-02 17:01:58 -05:00
{% endif -%}