From 4c9f784a1c1475ab95cd8f6eb98a7556a77ce92e Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Sat, 2 Aug 2025 20:39:43 +0200 Subject: Update --- .shenanigans.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.shenanigans.sh b/.shenanigans.sh index 4cb9a1b..e9658e8 100755 --- a/.shenanigans.sh +++ b/.shenanigans.sh @@ -4,7 +4,7 @@ # lm_sensors conky maim xlockmore rofi picom cwm xclip xsetroot st # xss-lock wmctrl zip mc htop entr ack cifs-utils rsync xdotool jq # clang clang-tools-extra vim git curl tmux hstr tree make cmake -# stow newsboat mpv rsync python3-pipx lazygit +# stow newsboat mpv rsync python3-pipx lazygit fossil # Additonal stuff: # pipx install pyright # go install golang.org/x/tools/gopls@latest @@ -77,6 +77,13 @@ backup() { rm -Rf /tmp/$SNAPSHOT } +pushcode() { + find ~/Projects/ -type f -name "*.fossil" | while read -r file; do + s3cmd put "$file" s3://vault/code/ + s3cmd setacl s3://vault/code/$(basename $file) --acl-public + done +} + screenrecord() { ffmpeg -f x11grab -s 3840x2560 -i :0.0 -r 60 -vcodec h264_nvenc -preset fast ~/Videos/$(date +%Y-%m-%d-%H-%M-%S).mp4 } -- cgit v1.2.3