From fe0454d3e60646bb2725f3ec7df1ffd07159c17a Mon Sep 17 00:00:00 2001 From: unman Date: Sat, 6 May 2023 12:20:47 +0000 Subject: [PATCH] Mutt - update the menus --- mutt/clone.sls | 14 ++++++++++++++ mutt/menu.sls | 6 ++++++ mutt/start.sls | 6 ++++++ mutt/start.top | 4 ++++ mutt/stop.sls | 7 +++++++ mutt/stop.top | 4 ++++ 6 files changed, 41 insertions(+) create mode 100644 mutt/menu.sls create mode 100644 mutt/start.sls create mode 100644 mutt/start.top create mode 100644 mutt/stop.sls create mode 100644 mutt/stop.top diff --git a/mutt/clone.sls b/mutt/clone.sls index 2f6fc5a..9d0cb69 100644 --- a/mutt/clone.sls +++ b/mutt/clone.sls @@ -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 diff --git a/mutt/menu.sls b/mutt/menu.sls new file mode 100644 index 0000000..b70be4c --- /dev/null +++ b/mutt/menu.sls @@ -0,0 +1,6 @@ +# vim: set syntax=yaml ts=2 sw=2 et : +# + +'qvm-sync-appmenus template-mutt': + cmd.run: + - runas: user diff --git a/mutt/start.sls b/mutt/start.sls new file mode 100644 index 0000000..33d0dce --- /dev/null +++ b/mutt/start.sls @@ -0,0 +1,6 @@ +# vim: set syntax=yaml ts=2 sw=2 sts=2 et : +# + +start-template-mutt: + qvm.start: + - name: template-mutt diff --git a/mutt/start.top b/mutt/start.top new file mode 100644 index 0000000..0f54b81 --- /dev/null +++ b/mutt/start.top @@ -0,0 +1,4 @@ +base: + dom0: + - match: nodegroup + - mutt.start diff --git a/mutt/stop.sls b/mutt/stop.sls new file mode 100644 index 0000000..899b9e6 --- /dev/null +++ b/mutt/stop.sls @@ -0,0 +1,7 @@ +# vim: set syntax=yaml ts=2 sw=2 sts=2 et : +# + +stop-template-mutt: + qvm.shutdown: + - name: template-mutt + diff --git a/mutt/stop.top b/mutt/stop.top new file mode 100644 index 0000000..f609dda --- /dev/null +++ b/mutt/stop.top @@ -0,0 +1,4 @@ +base: + dom0: + - match: nodegroup + - mutt.configure