scripts

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 5fcda9356f79517fbd5b6957e3ef58a6fa15d272
parent 7f06e4008521a69c2d132a9a0b98aec3b66840c8
Author: AndrewLockVI <andrew@laack.co>
Date:   Tue, 25 Feb 2025 08:28:07 -0600

Added script for editing in tmux like dvtm

Diffstat:
Aedit-tmux-output.sh | 6++++++
Minit-screen.sh | 4++--
Minstall.sh | 6+++---
Mtmux.sh | 4++--
4 files changed, 13 insertions(+), 7 deletions(-)

diff --git a/edit-tmux-output.sh b/edit-tmux-output.sh @@ -0,0 +1,6 @@ +#!/bin/bash + + +file=`mktemp`.sh +tmux capture-pane -pS -32768 > $file +tmux new-window -n vim "vim '+ normal G $' $file" diff --git a/init-screen.sh b/init-screen.sh @@ -40,5 +40,5 @@ qutebrowser --target window "uws.instructure.com" # wait long enough for browser to load in sleep .5s dirWO=$(echo $directory | sed "s/\// /g"| cut -c 2- | awk '{print $NF}') -st -e abduco -A "$dirWO" dvtm -#st -e tmux new-session -A -s $directory & +#st -e abduco -A "$dirWO" dvtm +st -e tmux new-session -A -s $dirWO & diff --git a/install.sh b/install.sh @@ -212,10 +212,10 @@ doas apk add librewolf #doas apk add flatpak #flatpak install flathub app.zen_browser.zen -doas apk add emacs -doas apk add emacs-x11 +#doas apk add emacs +#doas apk add emacs-x11 +#doas apk add fzf # Kakoune (not worth it for me, maybe for you though!) #doas apk add kakoune #doas apk add kakoune-lsp -#doas apk add fzf diff --git a/tmux.sh b/tmux.sh @@ -30,6 +30,6 @@ if [ ! -d "$directory" ]; then exit 1 fi +dirWO=$(echo $directory | sed "s/\// /g"| cut -c 2- | awk '{print $NF}') cd "$directory" -st -e tmux new-session -A -s $directory - +st -e tmux new-session -A -s $dirWO