Compare commits

...

2 Commits

Author SHA1 Message Date
c6aa3e1bce
.local/bin: remove useless scripts 2023-06-14 19:55:29 -04:00
a98a3acd0d
revert "fish: run identity file if profile hasn't run"
This reverts commit 705e52ccd2b1759884b4506b804fbcd4bd402562.

apparently i'm dumb and restarting my computer fixed all the environment
variables issues in tmux
2023-06-14 15:09:53 -04:00
6 changed files with 0 additions and 70 deletions

View File

@ -21,10 +21,6 @@ set -gx MANPATH "$MANPATH:/home/dogeystamp/.cache/cppman/"
# Disable fish greeting # Disable fish greeting
set fish_greeting "" set fish_greeting ""
if test -z "$PROFILE_RAN"
source "$XDG_CONFIG_HOME"/identity
end
if status --is-interactive if status --is-interactive
# Enable Vi bindings # Enable Vi bindings
fish_hybrid_key_bindings fish_hybrid_key_bindings

View File

@ -1,5 +0,0 @@
#!/bin/bash
# Run mpv on the output files of minrss
mpvs $(extractlink.sh "$@")

View File

@ -1,10 +0,0 @@
#!/bin/sh
# Custom mpv settings
# passed to yt-dl
FORMAT="bestvideo[height<=?1080]+bestaudio/best"
mpv \
--ytdl-format="$FORMAT" \
$@

View File

@ -1,46 +0,0 @@
#!/bin/sh
# Edit a file that requires superuser permissions without running the editor as root
# Substitute for sudo -e that uses doas instead.
set -e
if [ -z $1 ]
then
exit
fi
DNAME=$(mktemp -d)
FNAME=$(basename $1)
FPATH="$DNAME/$FNAME"
if [ -e $1 ]
then
cp "$1" "$FPATH"
else
touch "$FPATH"
fi
$EDITOR "$FPATH"
DIFF=""
if [ ! -e $FPATH ]
then
exit
fi
if [ -e $1 ]
then
DIFF=$(diff "$FPATH" "$1")
else
DIFF=$(cat "$FPATH")
fi
if [ -n "$DIFF" ]
then
doas cp "$FPATH" "$1"
fi
rm "$FPATH"
rmdir $DNAME

View File

@ -1,3 +0,0 @@
#!/bin/sh
gpg --batch --yes --delete-secret-keys A3A5FA72F8E5E54FBEE425057225FE3592EFFA38

View File

@ -67,6 +67,4 @@ else
. "$XDG_CONFIG_HOME"/dot_profile . "$XDG_CONFIG_HOME"/dot_profile
fi fi
export PROFILE_RAN=yes
. .config/bashrc . .config/bashrc