never going ro try niri again for sure

This commit is contained in:
2025-09-30 16:43:59 +02:00
parent 012ff152c6
commit 0711646e38
7 changed files with 17 additions and 13 deletions

View File

@@ -12,7 +12,7 @@ ext=${image##*.}
current_dir="$HOME/.config/wallpaper-chooser/current"
image_copied="$current_dir/wallpaper.$ext"
temp_img=$(mktemp --suffix=.$ext) || exit 1
temp_img=$(mktemp --suffix=."$ext") || exit 1
cp "$image" "$temp_img" || exit 1
rm -f "$current_dir"/wallpaper.*
cp -f "$temp_img" "$image_copied" || (

View File

@@ -1,6 +1,6 @@
#!/bin/sh
"issu" && {
issu && {
echo "Do not run this script in sudo mode."
exit 1
}

View File

@@ -1,5 +1,9 @@
#!/bin/sh
# shellcheck disable=SC1091
# shellcheck disable=SC1091,SC1090
# `eval "$(ssh-init)"` to set up environment
# variables for ssh agent in the current shell.
# TIPS: `bass "$(ssh-init)"` case in fish
mkdir -p "$HOME/.local/state"
agent_file="$HOME/.local/state/ssh-agent"
@@ -18,10 +22,5 @@ if [ -z "$SSH_AUTH_SOCK" ]; then
eval "$(ssh-agent -s | tee "$agent_file")" > /dev/null 2>&1
fi
[ -f "$agent_file" ] && (
cat "$agent_file"
exit 0
)
fi
echo "true"
[ -f "$agent_file" ] && cat "$agent_file"
fi

View File

@@ -1,6 +1,6 @@
#!/bin/sh
"issu" && {
issu && {
echo "Do not run this script in sudo mode."
exit 1
}

5
fish/post.d/.gitignore vendored Normal file
View File

@@ -0,0 +1,5 @@
*
!.gitignore
!fetch.fish
!fetch.fish.template
!sshs.fish

View File

@@ -30,7 +30,7 @@ button:focus,
button:active,
button:hover {
background-size: 20%;
background-color: alpha(#1e1e2e, 0.6);
background-color: alpha(#1e1e2e, 1);
animation: gradient_f 20s ease-in infinite;
transition: all 0.3s cubic-bezier(0.55, 0, 0.28, 1.682);
}

View File

@@ -30,7 +30,7 @@ button:focus,
button:active,
button:hover {
background-size: 20%;
background-color: alpha(#1e1e2e, 0.6);
background-color: alpha(#1e1e2e, 1);
animation: gradient_f 20s ease-in infinite;
transition: all 0.3s cubic-bezier(0.55, 0, 0.28, 1.682);
}