replace primary screenshot tool with flameshot

This commit is contained in:
Wryn (yage) Wagner 2024-08-10 08:46:22 -06:00
parent f67e0266b5
commit 8fb43d9754

View File

@ -47,15 +47,7 @@ case $1 in
;;
( screenshot )
command -v deepin-screen-recorder || notify-send "I3 UTILS" "no screenshot application available"
deepin-screen-recorder
DEEPIN_CONFIG="$HOME/.config/deepin/deepin-screen-recorder/deepin-screen-recorder.conf"
: \
&& echo "fixing stupid settings" \
&& mv $DEEPIN_CONFIG $DEEPIN_CONFIG.bak \
&& sed '/specifiedSavepath=.*home.*Pictures/d' $DEEPIN_CONFIG.bak > $DEEPIN_CONFIG \
|| mv $DEEPIN_CONFIG.bak $DEEPIN_CONFIG.conf \
;
command -v flameshot || notify-send "I3 UTILS" "screenshot application 'flameshot' not available"
flameshot gui
;;
esac