Replace flameshot with spectacle
It works under wayland, and has a few other nice features
This commit is contained in:
parent
eda3d23a6f
commit
24451d955c
4 changed files with 1 additions and 19 deletions
|
@ -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
|
|
@ -26,7 +26,6 @@
|
|||
force: true
|
||||
loop:
|
||||
- libinput-gestures
|
||||
- org.flameshot.Flameshot
|
||||
|
||||
- name: Autostart solaar
|
||||
get_url:
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
become_user: aur_builder
|
||||
loop:
|
||||
- arandr
|
||||
- flameshot
|
||||
- rofi
|
||||
- rofi-calc
|
||||
- rofimoji
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
- kdeconnect
|
||||
- okular
|
||||
- print-manager
|
||||
- spectacle
|
||||
|
||||
- name: Install krunner plugins
|
||||
kewlfft.aur.aur:
|
||||
|
|
Loading…
Reference in a new issue