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 force: true
loop: loop:
- libinput-gestures - libinput-gestures
- org.flameshot.Flameshot
- name: Autostart solaar - name: Autostart solaar
get_url: get_url:

View file

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

View file

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