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
|
force: true
|
||||||
loop:
|
loop:
|
||||||
- libinput-gestures
|
- libinput-gestures
|
||||||
- org.flameshot.Flameshot
|
|
||||||
|
|
||||||
- name: Autostart solaar
|
- name: Autostart solaar
|
||||||
get_url:
|
get_url:
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue