From f99cee0e90b14cbf3851bee485a13141a8469f6e Mon Sep 17 00:00:00 2001 From: Mylloon Date: Thu, 23 Dec 2021 15:11:06 +0100 Subject: [PATCH] Use custom configuration for Flameshot --- .config/flameshot/flameshot.ini | 46 +++++++++++++++++++++++++++++++++ README.md | 2 +- installFlameshot.sh | 7 +++++ installGlobalScript.sh | 2 +- 4 files changed, 55 insertions(+), 2 deletions(-) create mode 100644 .config/flameshot/flameshot.ini create mode 100644 installFlameshot.sh diff --git a/.config/flameshot/flameshot.ini b/.config/flameshot/flameshot.ini new file mode 100644 index 0000000..c73bd4e --- /dev/null +++ b/.config/flameshot/flameshot.ini @@ -0,0 +1,46 @@ +[General] +contrastOpacity=188 +disabledTrayIcon=true +drawColor=#ff0000 +drawThickness=0 +historyConfirmationToDelete=false +savePath=/home/anri/Pictures +savePathFixed=false +showDesktopNotification=false +showHelp=false +showSidePanelButton=false +showStartupLaunchMessage=false +startupLaunch=true + +[Shortcuts] +TYPE_ARROW=A +TYPE_CIRCLE=C +TYPE_CIRCLECOUNT= +TYPE_COMMIT_CURRENT_TOOL=Ctrl+Return +TYPE_COPY=Ctrl+C +TYPE_DRAWER=D +TYPE_EXIT=Ctrl+Q +TYPE_IMAGEUPLOADER=Return +TYPE_MARKER=M +TYPE_MOVESELECTION=Ctrl+M +TYPE_MOVE_DOWN=Down +TYPE_MOVE_LEFT=Left +TYPE_MOVE_RIGHT=Right +TYPE_MOVE_UP=Up +TYPE_OPEN_APP=Ctrl+O +TYPE_PENCIL=P +TYPE_PIN= +TYPE_PIXELATE=B +TYPE_RECTANGLE=R +TYPE_REDO=Ctrl+Shift+Z +TYPE_RESIZE_DOWN=Shift+Down +TYPE_RESIZE_LEFT=Shift+Left +TYPE_RESIZE_RIGHT=Shift+Right +TYPE_RESIZE_UP=Shift+Up +TYPE_SAVE=Ctrl+S +TYPE_SELECTION=S +TYPE_SELECTIONINDICATOR= +TYPE_SELECT_ALL=Ctrl+A +TYPE_TEXT=T +TYPE_TOGGLE_PANEL=Space +TYPE_UNDO=Ctrl+Z diff --git a/README.md b/README.md index b9da86e..2d745a9 100644 --- a/README.md +++ b/README.md @@ -98,7 +98,7 @@ Mon guide à suivre lors d'une réinstallation d'Ubuntu - Installe Flameshot ```bash - sudo apt update && sudo apt install flameshot -y + wget -q --show-progress https://git.kennel.ml/Anri/myLinuxConfiguration/raw/branch/main/installFlameshot.sh -O tmp.sh && bash tmp.sh; rm tmp.sh ``` - Installe Parsec diff --git a/installFlameshot.sh b/installFlameshot.sh new file mode 100644 index 0000000..5bddd2d --- /dev/null +++ b/installFlameshot.sh @@ -0,0 +1,7 @@ +# Install flameshot +sudo apt update +sudo apt install flameshot -y + +# Apply custom configuration +rm $HOME/.config/flameshot/flameshot.ini 2>/dev/null +wget https://git.kennel.ml/Anri/myLinuxConfiguration/raw/branch/main/.config/flameshot/flameshot.ini -P $HOME/.config/flameshot/ diff --git a/installGlobalScript.sh b/installGlobalScript.sh index 57063d2..8898470 100644 --- a/installGlobalScript.sh +++ b/installGlobalScript.sh @@ -60,7 +60,7 @@ then bash installObsidian.sh # Install Flameshot - sudo apt install flameshot -y + bash installFlameshot.sh # Install Parsec bash installParsec.sh