From ffde9c98f50b7040300f6a73dc43b2cba3681bc3 Mon Sep 17 00:00:00 2001 From: ewy Date: Thu, 21 May 2026 23:18:06 +0200 Subject: add colored notifications for mako and rely on systemd service instead of sway starting mako --- .local/bin/dotfiles | 2 -- .local/bin/pik | Bin 0 -> 6730699 bytes .local/bin/uwuload | 6 +++--- .local/bin/uwushot | 2 +- 4 files changed, 4 insertions(+), 6 deletions(-) delete mode 100755 .local/bin/dotfiles create mode 100755 .local/bin/pik (limited to '.local') diff --git a/.local/bin/dotfiles b/.local/bin/dotfiles deleted file mode 100755 index 193a019..0000000 --- a/.local/bin/dotfiles +++ /dev/null @@ -1,2 +0,0 @@ -#!/usr/bin/env bash -git --git-dir="$HOME/.dotfiles/" --work-tree="$HOME" $@ diff --git a/.local/bin/pik b/.local/bin/pik new file mode 100755 index 0000000..1663b8d Binary files /dev/null and b/.local/bin/pik differ diff --git a/.local/bin/uwuload b/.local/bin/uwuload index 7589958..effdb39 100755 --- a/.local/bin/uwuload +++ b/.local/bin/uwuload @@ -1,8 +1,8 @@ #!/usr/bin/env bash set -euox pipefail -filename="$1" -input='$(abs "$1")' -rsync -r --progress --stats $1 "ewout@ewy.one:/srv/uwu/$filename" +file=$1 +filename="$(basename $1)" +rsync -r --progress --stats "$file" "ewout@ewy.one:/srv/uwu/$filename" url="https://uwu.ewy.one/$filename" echo "$url" | wl-copy message="Uploaded $filename to uwu; copied result URL to clipboard." diff --git a/.local/bin/uwushot b/.local/bin/uwushot index 59aed24..625c4d5 100755 --- a/.local/bin/uwushot +++ b/.local/bin/uwushot @@ -5,4 +5,4 @@ path="$HOME/Pictures/Screenshots/" filename="satty-$DATE.png" grim -g "$(slurp -o -r -c '#ff0000ff')" -t ppm - | satty --actions-on-right-click=save-to-file --filename - --disable-notifications --corner-roundness 12 --output-filename "$path$filename" cd "$path" -uwuload "$filename" +uwuload "$path/$filename" -- cgit v1.3.1