mirror of
https://github.com/fergalmoran/flameshot.git
synced 2025-12-22 01:41:19 +00:00
* Handle captures without sigslots Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com> * Set {app,organization}Name and version consistently Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com> * Make 'full' dbus-free Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com> * Move CaptureRequest::exportCapture to Controller We need to wait until the upload widget (or similar widgets) have finished before exiting. This must be done using a signal. The problem is that CaptureRequest can't be guaranteed to survive until the widget has finished what it's doing. Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com> * Use QApplication with the 'full' subcommand Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com> * Do unto 'screen' as we did to 'full' Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com> * Add FlameshotDaemon singleton class Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com> * Support clipboard hosting for both pixmaps and text * Fix upload handling Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com> * Do not show tray icon if not daemon Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com> * Clean up handling of pin task Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com> * Remove annoying Qt warning messages The messages were caused by the color wheel. Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com> * Fix small bug in Controller::exportCapture * Fix --raw output * Make 'gui' dbus-independent Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com> * Fix accept on select bug Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com> * Fix compile error on Windows Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com> * Make it work on Windows * Remove obsolete function in main.cpp Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com> * Make 'launcher' work without dbus Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com> * clang-format, sigh Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com> * Enable CLI parsing on MacOS Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com> * Make 'config' work without dbus Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com> * Small refactor of capture request handling Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com> * Remove obsolete DBusUtils Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com> * Remove unused D-Bus sigslots Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com> * Remove D-Bus methods openConfig, autostartEnabled and trayIconEnabled Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com> * Remove D-Bus method requestCapture Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com> * Remove CaptureRequest id mechanism Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com> * Fix 'launcher' crash Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com> * Handle clipboard notifications properly Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com> * Add 'autoCloseIdleDaemon' option Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com> * Document FlameshotDaemon class Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com> * Make 'flameshot gui' run in single-application mode Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com> * Add `allowmultipleGuiInstances` config option Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com> * Fix endless loop with multiple GUI instances Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com> * Move upload confirmation dialog where it belongs Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com> * Add the new config options to the GUI as well Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com> * Fix failing build on Windows Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com> * Handle persistence on MacOS Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com> * fixed notifications on macos * Fixed display on macos * Reformat tests/action_options.sh Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com> * Fix infinite recursion in tests/action_options.sh Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com> Co-authored-by: Dearsh Oberoi <59907159+deo002@users.noreply.github.com> Co-authored-by: Jeremy Borgman <borgman.jeremy@pm.me>
120 lines
3.1 KiB
INI
120 lines
3.1 KiB
INI
;[General]
|
|
;; Configure which buttons to show after drawing a selection
|
|
;; Not easy to set by hand
|
|
;buttons=@Variant(\0\0\0\x7f\0\0\0\vQList<int>\0\0\0\0\x14\0\0\0\0\0\0\0\x1\0\0\0\x2\0\0\0\x3\0\0\0\x4\0\0\0\x5\0\0\0\x6\0\0\0\x12\0\0\0\xf\0\0\0\x13\0\0\0\a\0\0\0\b\0\0\0\t\0\0\0\x10\0\0\0\n\0\0\0\v\0\0\0\f\0\0\0\r\0\0\0\xe\0\0\0\x11)
|
|
;
|
|
;; List of colors for color picker
|
|
;; The colors are arranged counter-clockwise with the first being set to the right of the cursor
|
|
;; Colors are any valid hex code or W3C color name
|
|
;; "picker" adds a custom color picker
|
|
;userColors=#800000, #ff0000, #ffff00, #00ff00, #008000, #00ffff, #0000ff, #ff00ff, #800080, picker
|
|
;
|
|
;; Image Save Path
|
|
;savePath=/tmp
|
|
;
|
|
;; Whether the savePath is a fixed path (bool)
|
|
;savePathFixed=false
|
|
;
|
|
;; Default file extension for screenshots
|
|
;setSaveAsFileExtension=.png
|
|
;
|
|
;; Main UI color
|
|
;; Color is any valid hex code or W3C color name
|
|
;uiColor=#740096
|
|
;
|
|
;; Contrast UI color
|
|
;; Color is any valid hex code or W3C color name
|
|
;contrastUiColor=#270032
|
|
;
|
|
;; Last used color
|
|
;; Color is any valid hex code or W3C color name
|
|
;drawColor=#ff0000
|
|
;
|
|
;; Show the help screen on startup (bool)
|
|
;showHelp=true
|
|
;
|
|
;; Show the side panel button (bool)
|
|
;showSidePanelButton=true
|
|
;
|
|
;; Ignore updates to versions less than this value
|
|
;ignoreUpdateToVersion=
|
|
;
|
|
;; Show desktop notifications (bool)
|
|
;showDesktopNotification=true
|
|
;
|
|
;; Filename pattern using C++ strftime formatting
|
|
;filenamePattern=%F_%H-%M
|
|
;
|
|
;; Whether the tray icon is disabled (bool)
|
|
;disabledTrayIcon=false
|
|
;
|
|
;; Automatically close daemon when it's not needed (not available on Windows)
|
|
;autoCloseIdleDaemon=false
|
|
;
|
|
;; Allow multiple instances of `flameshot gui` to run at the same time
|
|
;allowMultipleGuiInstances=false
|
|
;
|
|
;; Last used tool thickness (int)
|
|
;drawThickness=1
|
|
;
|
|
;; Keep the App Launcher open after selecting an app (bool)
|
|
;keepOpenAppLauncher=false
|
|
;
|
|
;; Launch at startup (bool)
|
|
;startupLaunch=true
|
|
;
|
|
;; Opacity of area outside selection (int in range 0-255)
|
|
;contrastOpacity=190
|
|
;
|
|
;; Save image after copy (bool)
|
|
;saveAfterCopy=false
|
|
;
|
|
;; Copy path to image after save (bool)
|
|
;copyPathAfterSave=false
|
|
;
|
|
;; On successful upload, close the dialog and copy URL to clipboard.
|
|
;copyAndCloseAfterUpload=true
|
|
;
|
|
;; Anti-aliasing image when zoom the pinned image (bool)
|
|
;antialiasingPinZoom=true
|
|
;
|
|
;; Use JPG format instead of PNG (bool)
|
|
;useJpgForClipboard=false
|
|
;
|
|
;; Upload to imgur without confirmation (bool)
|
|
;uploadWithoutConfirmation=false
|
|
;
|
|
;; Shortcut Settings for all tools
|
|
;[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
|