Skip to content

Commit

Permalink
Remove leave-a-note
Browse files Browse the repository at this point in the history
I don't really ever use it after all.
  • Loading branch information
dseomn committed Oct 3, 2023
1 parent 25f6088 commit 76c875f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 29 deletions.
28 changes: 0 additions & 28 deletions salt/file/media_center/init.sls
Original file line number Diff line number Diff line change
Expand Up @@ -126,34 +126,6 @@ media-center autologin:
}
/var/local/media-center/.local/bin/leave-a-note:
file.managed:
- user: media-center
- group: media-center
- mode: 0755
- makedirs: true
- contents: |
#!/bin/bash -e
if mail --subject='note from media center' root; then
printf '%s' 'Sent. Press Enter to continue.'
else
printf '%s' "ERROR: mail returned $?."
fi
read -r x
/var/local/media-center/.local/share/applications/leave-a-note.desktop:
file.managed:
- user: media-center
- group: media-center
- makedirs: true
- contents: |
[Desktop Entry]
Type=Application
Name=Leave a Note
Icon=mail-send
Exec=/var/local/media-center/.local/bin/leave-a-note
Terminal=true
/var/local/media-center/.local/share/applications/fix-audio.desktop:
file.managed:
- user: media-center
Expand Down
1 change: 0 additions & 1 deletion salt/file/media_center/map.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
"'com.stepmania.StepMania.desktop'",
"'org.gnome.Nautilus.desktop'",
"'org.gnome.Lollypop.desktop'",
"'leave-a-note.desktop'",
"'fix-audio.desktop'",
"'supertuxkart.desktop'",
),
Expand Down

0 comments on commit 76c875f

Please sign in to comment.