replace primary screenshot tool with flameshot
This commit is contained in:
parent
f67e0266b5
commit
8fb43d9754
12
bin/i3-utils
12
bin/i3-utils
@ -47,15 +47,7 @@ case $1 in
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
( screenshot )
|
( screenshot )
|
||||||
command -v deepin-screen-recorder || notify-send "I3 UTILS" "no screenshot application available"
|
command -v flameshot || notify-send "I3 UTILS" "screenshot application 'flameshot' not available"
|
||||||
deepin-screen-recorder
|
flameshot gui
|
||||||
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 \
|
|
||||||
;
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
Reference in New Issue
Block a user