qusal/salt/electrum/configure-common.sls
Ben Grande 0e72ff8716
feat: allow absent dotfiles
Some files had a small impact such as Xft.dpi definition, thus removed.
Files with bigger impact were moved to root directories such as /etc or
were specified with full path such as ~/.local/bin.

In case the dotfiles configuration does extra things, such as verifying
merge commits, it was changed to code or comment when appropriate.

For: https://github.com/ben-grande/dotfiles/pull/1
2025-02-14 15:19:18 +01:00

40 lines
913 B
Plaintext

{#
SPDX-FileCopyrightText: 2024 - 2025 Benjamin Grande M. S. <ben.grande.b@gmail.com>
SPDX-License-Identifier: AGPL-3.0-or-later
#}
{% if grains['nodename'] != 'dom0' -%}
include:
- dev.home-cleanup
- dotfiles.copy-x11
- dotfiles.copy-sh
"{{ slsdotpath }}-do-not-check-for-updates":
cmd.run:
- name: electrum --offline setconfig check_updates false
- runas: user
"{{ slsdotpath }}-show-contacts-tab":
cmd.run:
- name: electrum --offline setconfig show_contacts_tab true
- runas: user
"{{ slsdotpath }}-show-addresses-tab":
cmd.run:
- name: electrum --offline setconfig show_addresses_tab true
- runas: user
"{{ slsdotpath }}-show-utxo-tab":
cmd.run:
- name: electrum --offline setconfig show_utxo_tab true
- runas: user
"{{ slsdotpath }}-show-notes-tab":
cmd.run:
- name: electrum --offline setconfig show_notes_tab true
- runas: user
{% endif -%}