aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.shenanigans.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/.shenanigans.sh b/.shenanigans.sh
index 4cb9a1b..e9658e8 100755
--- a/.shenanigans.sh
+++ b/.shenanigans.sh
@@ -4,7 +4,7 @@
4# lm_sensors conky maim xlockmore rofi picom cwm xclip xsetroot st 4# lm_sensors conky maim xlockmore rofi picom cwm xclip xsetroot st
5# xss-lock wmctrl zip mc htop entr ack cifs-utils rsync xdotool jq 5# xss-lock wmctrl zip mc htop entr ack cifs-utils rsync xdotool jq
6# clang clang-tools-extra vim git curl tmux hstr tree make cmake 6# clang clang-tools-extra vim git curl tmux hstr tree make cmake
7# stow newsboat mpv rsync python3-pipx lazygit 7# stow newsboat mpv rsync python3-pipx lazygit fossil
8# Additonal stuff: 8# Additonal stuff:
9# pipx install pyright 9# pipx install pyright
10# go install golang.org/x/tools/gopls@latest 10# go install golang.org/x/tools/gopls@latest
@@ -77,6 +77,13 @@ backup() {
77 rm -Rf /tmp/$SNAPSHOT 77 rm -Rf /tmp/$SNAPSHOT
78} 78}
79 79
80pushcode() {
81 find ~/Projects/ -type f -name "*.fossil" | while read -r file; do
82 s3cmd put "$file" s3://vault/code/
83 s3cmd setacl s3://vault/code/$(basename $file) --acl-public
84 done
85}
86
80screenrecord() { 87screenrecord() {
81 ffmpeg -f x11grab -s 3840x2560 -i :0.0 -r 60 -vcodec h264_nvenc -preset fast ~/Videos/$(date +%Y-%m-%d-%H-%M-%S).mp4 88 ffmpeg -f x11grab -s 3840x2560 -i :0.0 -r 60 -vcodec h264_nvenc -preset fast ~/Videos/$(date +%Y-%m-%d-%H-%M-%S).mp4
82} 89}