Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions bin/omarchy-tailscale-receive
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,9 @@ announce() {
local name="${path##*/}"
# Taildrop only accepts files from your own devices, so an image previews like
# any other app's notification image. The send glyph stays as the fallback for
# an image that doesn't load and the mark for everything else.
local args=("$(omarchy-i18n tailscale.received "$name")" "$(omarchy-i18n tailscale.savedTo "${dir/#$HOME/"~"}")" -u critical -g 󰒊)
# an image that doesn't load and the mark for everything else. Naming the app
# stacks a batch of files into one deck rather than a toast apiece.
local args=("$(omarchy-i18n tailscale.received "$name")" "$(omarchy-i18n tailscale.savedTo "${dir/#$HOME/"~"}")" --app-name Taildrop -u critical -g 󰒊)

case "${name,,}" in
*.png | *.jpg | *.jpeg | *.gif | *.webp | *.avif | *.bmp | *.tif | *.tiff)
Expand Down
Loading