syncrclone-mail

This commit is contained in:
rileyrg 2023-11-21 08:57:48 +01:00
parent 22c4a8e6d9
commit ae49ffc4ae
6 changed files with 25 additions and 4 deletions

3
.gitignore vendored
View file

@ -68,6 +68,8 @@
!/DotFiles/.profile
!/DotFiles/.ignore
!/DotFiles/.syncrclone
!/DotFiles/.syncrclone/crontab.t14s
!/DotFiles/.syncrclone/crontab.x1c6
!/DotFiles/.syncrclone/excludes.txt
!/DotFiles/.syncrclone/config.py
!/DotFiles/.syncrclone/gdrive-config.py
@ -145,6 +147,7 @@
!/directories/bin/sharemouse
!/directories/bin/stm32cubeide
!/directories/bin/stm32cubeide-uninstall
!/directories/bin/syncrclone-mail
!/directories/bin/sys-logger
!/directories/bin/tmux-pane-tty
!/directories/bin/wifi-toggle

View file

@ -0,0 +1 @@
0 */2 * * * bash -lc syncrclone-mail

View file

@ -0,0 +1 @@
0 1-23/2 * * * bash -lc syncrclone-mail

View file

@ -2037,7 +2037,7 @@ but in both cases we check if it exists in the sway tree, and, if not, set it it
notify-send -t 3000 "${@}" || true
<a id="orgecb5ce9"></a>
<a id="orgba0a58a"></a>
### ~/bin/sway/sway-screen
@ -2083,7 +2083,7 @@ See <https://www.reddit.com/r/swaywm/comments/10ys0oy/comment/j80lu88/?context=3
### ~/bin/sway/sway-screen-menu
Gui to select a display and enable/disable it. Calls down to [~/bin/sway/sway-screen](#orgecb5ce9).
Gui to select a display and enable/disable it. Calls down to [~/bin/sway/sway-screen](#orgba0a58a).
:ID: 82455cae-1c48-48b2-a8b3-cb5d44eeaee9
@ -3368,7 +3368,7 @@ strip debug info and store elsewhere
pulse/pipeline volume control.
Pass in a volume string to change the volume (man pactl) or on/off/toggle. It wont allow larger than 100% volume. Always returns the current volume volume/status.
See [examples](#org4c0c6af).
See [examples](#orga96e5d2).
#!/usr/bin/env bash
# Maintained in linux-config.org
@ -3402,7 +3402,7 @@ See [examples](#org4c0c6af).
echo "$(getVolume)"
<a id="org4c0c6af"></a>
<a id="orga96e5d2"></a>
### Examples:
@ -3697,6 +3697,13 @@ See [XMGNeo 15 keyboard backlight controller](https://github.com/pobrn/ite8291r3
rclone-mount hetzner
### ~/bin/syncrclone-mail
#!/usr/bin/env bash
# Maintained in linux-config.org
syncrclone | mail -s "syncrclone: $(date +'%Y-%m-%d %H:%M:%S')" "$USER"
## Power Monitoring

View file

@ -0,0 +1,3 @@
#!/usr/bin/env bash
# Maintained in linux-config.org
syncrclone | mail -s "syncrclone: $(date +'%Y-%m-%d %H:%M:%S')" "$USER"

View file

@ -4485,6 +4485,12 @@ https://github.com/Jwink3101/syncrclone
# Maintained in linux-config.org
rclone-mount hetzner
#+end_src
*** ~/bin/syncrclone-mail
#+begin_src bash :tangle "~/bin/syncrclone-mail"
#!/usr/bin/env bash
# Maintained in linux-config.org
syncrclone | mail -s "syncrclone: $(date +'%Y-%m-%d %H:%M:%S')" "$USER"
#+end_src
** Power Monitoring
*** ~/bin/acpi-powerstate
#+begin_src bash :tangle "~/bin/acpi-powerstate"