Mutt - update the menus

This commit is contained in:
unman 2023-05-06 12:20:47 +00:00
parent cd7ff0f4f6
commit fe0454d3e6
No known key found for this signature in database
GPG Key ID: FDD1B8244731B36C
6 changed files with 41 additions and 0 deletions

View File

@ -1,3 +1,6 @@
# vim: set syntax=yaml ts=2 sw=2 sts=2 et :
#
mutt_precursor:
qvm.template_installed:
- name: debian-11-minimal
@ -6,3 +9,14 @@ qvm-clone-id:
qvm.clone:
- name: template-mutt
- source: debian-11-minimal
mutt_menu:
qvm.features:
- name: template-mutt
- set:
- menu-items: "mutt.desktop mutt_setup.desktop debian-xterm.desktop"
- default-menu-items: "mutt.desktop mutt_setup.desktop debian-xterm.desktop"
start-template-mutt:
qvm.start:
- name: template-mutt

6
mutt/menu.sls Normal file
View File

@ -0,0 +1,6 @@
# vim: set syntax=yaml ts=2 sw=2 et :
#
'qvm-sync-appmenus template-mutt':
cmd.run:
- runas: user

6
mutt/start.sls Normal file
View File

@ -0,0 +1,6 @@
# vim: set syntax=yaml ts=2 sw=2 sts=2 et :
#
start-template-mutt:
qvm.start:
- name: template-mutt

4
mutt/start.top Normal file
View File

@ -0,0 +1,4 @@
base:
dom0:
- match: nodegroup
- mutt.start

7
mutt/stop.sls Normal file
View File

@ -0,0 +1,7 @@
# vim: set syntax=yaml ts=2 sw=2 sts=2 et :
#
stop-template-mutt:
qvm.shutdown:
- name: template-mutt

4
mutt/stop.top Normal file
View File

@ -0,0 +1,4 @@
base:
dom0:
- match: nodegroup
- mutt.configure