floating satty

This commit is contained in:
Your Name
2026-08-14 12:44:01 +00:00
parent bac0151865
commit f5fea497c9
3 changed files with 6 additions and 3 deletions
+2 -1
View File
@@ -25,7 +25,8 @@ fi
# Esc/Enter here) and exits immediately. # Esc/Enter here) and exits immediately.
if command -v satty >/dev/null 2>&1; then if command -v satty >/dev/null 2>&1; then
satty --filename "$dir/$file" --output-filename "$dir/$file" \ satty --filename "$dir/$file" --output-filename "$dir/$file" \
--copy-command wl-copy --actions-on-escape save-to-file --early-exit --copy-command wl-copy --actions-on-escape save-to-file --early-exit \
--floating-hack
wl-copy -t image/png < "$dir/$file" wl-copy -t image/png < "$dir/$file"
fi fi
+2 -1
View File
@@ -26,7 +26,8 @@ fi
# Esc/Enter here) and exits immediately. # Esc/Enter here) and exits immediately.
if command -v satty >/dev/null 2>&1; then if command -v satty >/dev/null 2>&1; then
satty --filename "$dir/$file" --output-filename "$dir/$file" \ satty --filename "$dir/$file" --output-filename "$dir/$file" \
--copy-command wl-copy --actions-on-escape save-to-file --early-exit --copy-command wl-copy --actions-on-escape save-to-file --early-exit \
--floating-hack
wl-copy -t image/png < "$dir/$file" wl-copy -t image/png < "$dir/$file"
fi fi
+2 -1
View File
@@ -45,7 +45,8 @@ fi
# Esc/Enter here) and exits immediately. # Esc/Enter here) and exits immediately.
if command -v satty >/dev/null 2>&1; then if command -v satty >/dev/null 2>&1; then
satty --filename "$dir/$file" --output-filename "$dir/$file" \ satty --filename "$dir/$file" --output-filename "$dir/$file" \
--copy-command wl-copy --actions-on-escape save-to-file --early-exit --copy-command wl-copy --actions-on-escape save-to-file --early-exit \
--floating-hack
wl-copy -t image/png < "$dir/$file" wl-copy -t image/png < "$dir/$file"
fi fi