Compare commits
9 commits
68a2136e1f
...
22b968a321
Author | SHA1 | Date | |
---|---|---|---|
22b968a321 | |||
ccf13e8780 | |||
381f3957c7 | |||
aa8b777806 | |||
3e854d9b48 | |||
038b19996b | |||
78d5c0cda5 | |||
6a98f2db8d | |||
87ba8f1f44 |
9 changed files with 39 additions and 2 deletions
|
@ -44,6 +44,7 @@ $BORG_BIN create \
|
||||||
--exclude '*/.Trash*' \
|
--exclude '*/.Trash*' \
|
||||||
--exclude '*/Trash*' \
|
--exclude '*/Trash*' \
|
||||||
--exclude '*/build/*' \
|
--exclude '*/build/*' \
|
||||||
|
--exclude '*/target/*' \
|
||||||
--exclude '*Steam*' \
|
--exclude '*Steam*' \
|
||||||
\
|
\
|
||||||
${BORG_REPO}::'{hostname}-{now}' \
|
${BORG_REPO}::'{hostname}-{now}' \
|
||||||
|
|
|
@ -11,7 +11,7 @@ cat /tmp/mail-logger/* >> /tmp/mail-logger-meta/combined.log
|
||||||
cat /tmp/mail-logger-big/* >> /tmp/mail-logger-meta/combined.log
|
cat /tmp/mail-logger-big/* >> /tmp/mail-logger-meta/combined.log
|
||||||
|
|
||||||
echo -e "\
|
echo -e "\
|
||||||
Daily mail report for $(hostname) $(date +"%Y-%m-%dT%H:%M:%S%z").\n\
|
Weekly mail report for $(hostname) $(date +"%Y-%m-%dT%H:%M:%S%z").\n\
|
||||||
A summary of the logs is below.\
|
A summary of the logs is below.\
|
||||||
If you want to see the complete logs, open the attachment of this E-Mail.\n\n\
|
If you want to see the complete logs, open the attachment of this E-Mail.\n\n\
|
||||||
==================================================================================================\
|
==================================================================================================\
|
||||||
|
|
|
@ -9,7 +9,7 @@ cat /tmp/mail-logger/* >> /tmp/mail-logger-meta/combined.log
|
||||||
cat /tmp/mail-logger-big/* >> /tmp/mail-logger-meta/combined.log
|
cat /tmp/mail-logger-big/* >> /tmp/mail-logger-meta/combined.log
|
||||||
|
|
||||||
echo -e "\
|
echo -e "\
|
||||||
Daily mail report for $(hostname) $(date +"%Y-%m-%dT%H:%M:%S%z").\n\
|
Weekly mail report for $(hostname) $(date +"%Y-%m-%dT%H:%M:%S%z").\n\
|
||||||
A summary of the logs is below.\
|
A summary of the logs is below.\
|
||||||
If you want to see the complete logs, open the attachment of this E-Mail.\n\n\
|
If you want to see the complete logs, open the attachment of this E-Mail.\n\n\
|
||||||
==================================================================================================\
|
==================================================================================================\
|
||||||
|
|
3
qemu-spice.sh
Normal file
3
qemu-spice.sh
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/bash
|
||||||
|
# i think this optimizes the display connection to a qemu vm, im not sure honestly
|
||||||
|
qemu-system-x86_64 -vga qxl -device virtio-serial-pci -spice unix=on,addr=/tmp/vm_spice.socket,disable-ticketing=on -device virtserialport,chardev=spicechannel0,name=com.redhat.spice.0 -chardev spicevmc,id=spicechannel0,name=vdagent
|
0
tailscale.sh
Normal file → Executable file
0
tailscale.sh
Normal file → Executable file
2
wakehome.sh
Executable file
2
wakehome.sh
Executable file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/bash
|
||||||
|
wakeonlan d0:17:c2:a8:78:b4
|
9
wanikaliwallpaper-cinnamon.sh
Executable file
9
wanikaliwallpaper-cinnamon.sh
Executable file
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/bash
|
||||||
|
date='date +%Y-%m-%d\ %T'
|
||||||
|
logfile=~/.wkgen.log
|
||||||
|
set -e
|
||||||
|
echo "[$(eval $date)]: starting webrequests..." | tee -a $logfile
|
||||||
|
curl -s -o ~/Pictures/wallpaper/wk-progress.1.png "https://wkgen.homeserver.box/?k=7b98a684-5c91-44ab-86b1-f7023609fe4e&d=1"
|
||||||
|
echo "[$(eval $date)]: setting wallpaper..." | tee -a $logfile
|
||||||
|
gsettings set org.cinnamon.desktop.background picture-uri "file:///home/plex/Pictures/wallpaper/wk-progress.1.png"
|
||||||
|
echo "[$(eval $date)]: done" | tee -a $logfile
|
13
wanikaliwallpaper-plasma.sh
Executable file
13
wanikaliwallpaper-plasma.sh
Executable file
|
@ -0,0 +1,13 @@
|
||||||
|
#!/bin/bash
|
||||||
|
date='date +%Y-%m-%d\ %T'
|
||||||
|
logfile=~/.wkgen.log
|
||||||
|
filelocation=/home/plex/Pictures/wallpaper/wk-progress.1.png
|
||||||
|
set -e
|
||||||
|
echo "[$(eval $date)]: starting webrequests..." | tee -a $logfile
|
||||||
|
curl -s -o $filelocation "https://wkgen.homeserver.box/?k=7b98a684-5c91-44ab-86b1-f7023609fe4e&d=1"
|
||||||
|
echo "[$(eval $date)]: setting wallpaper..." | tee -a $logfile
|
||||||
|
kwriteconfig5 \
|
||||||
|
--file "$HOME/.config/plasma-org.kde.plasma.desktop-appletsrc" \
|
||||||
|
--group 'Containments' --group '1' --group 'Wallpaper' --group 'org.kde.image' \
|
||||||
|
--group 'General' --key 'Image' $filelocation
|
||||||
|
echo "[$(eval $date)]: done" | tee -a $logfile
|
9
wanikaliwallpaper.sh
Executable file
9
wanikaliwallpaper.sh
Executable file
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/bash
|
||||||
|
date='date +%Y-%m-%d\ %T'
|
||||||
|
logfile=~/.wkgen.log
|
||||||
|
set -e
|
||||||
|
echo "[$(eval $date)]: starting webrequests..." | tee -a $logfile
|
||||||
|
curl -s -o ~/Pictures/wallpaper/wk-progress.1.png "https://wkgen.homeserver.box/?k=7b98a684-5c91-44ab-86b1-f7023609fe4e&d=1"
|
||||||
|
echo "[$(eval $date)]: setting wallpaper..." | tee -a $logfile
|
||||||
|
gsettings set org.cinnamon.desktop.background picture-uri "file:///home/plex/Pictures/wallpaper/wk-progress.1.png"
|
||||||
|
echo "[$(eval $date)]: done" | tee -a $logfile
|
Loading…
Add table
Reference in a new issue