No description provided.
Merging changes from git.sj #1
Merged
superjaded
merged 49 commits from 2026年03月01日 15:45:05 +01:00
cb into main
superjaded
commented 2026年03月01日 15:44:23 +01:00
superjaded
added 49 commits 2026年03月01日 15:44:23 +01:00
mpv and XCURSOR_SIZE has different behavior in different environments. Now will look for a MPVSHUFFLE_XCURSOR_SIZE environment variable and set XCURSOR_SIZE based on that variable.
Companion to clip.sh and LosslessCut. Export segments from LosslessCut and then call autoseg.sh which uses clip.sh to create segments from the original movie.
The xcursor thing in mpv-shuffle.sh wasn't properly referencing MPVSHUFFLE_XCURSOR_SIZE. Fixed that. Created studio-sort.sh to help sort certain things.
mpv-sh-newest.sh didn't sort based on timestamp properly because it wasn't treating the timestamp as a number. Adjusted the sort call so it treats it as a number.
Added autosort.sh Modified mpv-sh-newest.sh to have the main find command in multiple lines instead of a single long line
Updated ssh-agent-autostart to remove the auto-expire parameter Created update-podman-container.sh which is a way to do semi-in-place upgrades of container images kinda similar to the experience of docker-compose. This script is also the first thing written primarily by an LLM. Fun stuff.
Created a shell script for when I'm passing my GPU through to a VM. I'll start the ollama container in the VM and then set OLLAMA_URL to the container in the VM.
Moving the descriptions for video-scripts to the README.md in the video-scripts directory.
When openwebui-restart.sh was created, I had mostly created it to streamline restarting containers when i was in a VM with GPU passthrough, so when I wasn't in a VM, the script wasn't particularly useful. Adjusted the script such that when an IP isn't provided, it recreates the open-webui container for the default url and then starts the ollama container locally
Added more conditions for aliases that rely on programs that need to be installed Removed an old and unneeded comment
Adjusted openwebui-restart.sh to automatically infer OLLAMA_URL when arugment isn't specified based on $SSH_CLIENT.
I had added some conditions to more intelligently set aliases based on whether or not certain programs on which those aliases rely. After using aliases.sh in different systems, I realized the conditions weren't working properly. I adjusted the conditions to work better on the systems where those dependent programs weren't installed.
I had created a tmux-project-session that gave me a streamlined way to create a tmux session based on a directory in ~/src. Over time while using that script, there were a few different ways I wanted to navigate between sessions, so instead of just being a single shell script, I created a tmux-funcs.sh which contains a bunch of bash functions that allows me to be more specific in how I navigate between sessions.
Added a condition in tmux_project_session that if $projDir is null, it exits early rather than outputting an error.
In addition to the functions that create sessions based on subdirs in the src dir, now we also have functions that do the same for directories under ~/.config Renamed existing functions to be able to distinguish between the two tmux_project_session is now just tmux_project.
Was trying to look at some code from github that had dots in them with these functions and there were some disconnects since it looks like tmux swaps dots with underscores. I created a function tmux_sesion_format_name() to consolidate how we handle the session name. Modified the functions that infer session name based on the basedir of the directory to replace dots with underscores.
Created a new function that is a shortcut for creating an arbitrary tmux session in an arbitrary directory
In tmux-funcs.sh, fixed a logic error in tmux_session where I was setting sessionDir to pwd and then trying to set sessionDir to 2ドル if was empty. Had the logic backwards so now it's setting sessionDir to pwd if 2ドル is emtpy. Now that I'm experimenting with ghostty a bit more, I removed the alias that used the ssh kitten and had it use ssh directly
I had started rewriting some of the functions to take more specific command line arguments and went down a rabbit hole. Ended up creating a whole new set of scripts that provide a bit more of a unified "api" for working with sessions.
Renamed previously committed scripts. Now it's tmf.sh instead of tmux_my_fzf.sh.
When -n is specified on the command line, the created session should now be set based on the provided name rather than inferred by the directory. Formatted the script as well.
I had a situation where I wanted to create a tmux session in the pwd by just calling "-d $(pwd) --no-fzf" and have tmf infer the session name by the basename of the directory. Turns out the way I was processing the paramters, it would only go down that path if I specified the session name as well. I changed that behavior now that -n is optional and if empty it sets the session name based on the basename of the directory.
Just added some comments to tmf.sh to each of the main command line argument parsing blocks to indicate when each block would be called.
superjaded
merged commit 77736d386b into main 2026年03月01日 15:45:05 +01:00
superjaded
deleted branch cb 2026年03月01日 15:45:07 +01:00
Sign in to join this conversation.
No reviewers
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Dependencies
No dependencies set.
Reference
superjaded/bash!1
Loading...
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "cb"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?