Replace flameshot with spectacle

It works under wayland, and has a few other nice features
This commit is contained in:
Jake Howard 2024-03-14 21:23:14 +00:00
parent eda3d23a6f
commit 24451d955c
Signed by: jake
GPG Key ID: 57AFB45680EDD477
4 changed files with 1 additions and 19 deletions

View File

@ -1,17 +0,0 @@
#!/usr/bin/env bash
filename=$(date '+%s').png
save_path=$HOME/Upload/img/$filename
temp_file=$(mktemp)
flameshot gui -r > "$temp_file"
if grep -Fq "screenshot aborted" "$temp_file"; then
rm "$temp_file"
exit 1
fi
mv "$temp_file" "$save_path"
echo "Saved to $save_path."
echo "https://img.theorangeone.net/$filename" | xclip -i -selection c

View File

@ -26,7 +26,6 @@
force: true
loop:
- libinput-gestures
- org.flameshot.Flameshot
- name: Autostart solaar
get_url:

View File

@ -5,7 +5,6 @@
become_user: aur_builder
loop:
- arandr
- flameshot
- rofi
- rofi-calc
- rofimoji

View File

@ -10,6 +10,7 @@
- kdeconnect
- okular
- print-manager
- spectacle
- name: Install krunner plugins
kewlfft.aur.aur: