-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #38 from gabm/configuration
introduce configuration file
- Loading branch information
Showing
15 changed files
with
828 additions
and
168 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
use flake |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name = "satty" | |
version = "0.8.3" | ||
edition = "2021" | ||
authors = ["Matthias Gabriel <[email protected]>"] | ||
description = "A screenshot annotation tool inspired by Swappy and Flameshot." | ||
description = "Modern Screenshot Annotation. A Screenshot Annotation Tool inspired by Swappy and Flameshot." | ||
homepage = "https://github.com/gabm/satty" | ||
repository = "https://github.com/gabm/satty" | ||
license = "MPL-2.0" | ||
|
@@ -25,10 +25,19 @@ gdk-pixbuf = "0.17.2" | |
|
||
# error handling | ||
anyhow = "1.0" | ||
thiserror = "1.0" | ||
|
||
# command line | ||
clap = { version = "4.4.10", features = ["derive"] } | ||
|
||
# configuration file | ||
xdg = "^2.5" | ||
toml = "0.8.8" | ||
serde = "1.0" | ||
serde_derive = "1.0" | ||
hex_color = {version = "3", features = ["serde"]} | ||
chrono = "0.4.31" | ||
|
||
|
||
[dependencies.relm4-icons] | ||
version = "0.6.0" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
[general] | ||
# Start Satty in fullscreen mode | ||
fullscreen = true | ||
# Exit directly after copy/save action | ||
early-exit = true | ||
# Select the tool on startup [possible values: pointer, crop, line, arrow, rectangle, text, marker, blur, brush] | ||
initial-tool = "brush" | ||
# Configure the command to be called on copy, for example `wl-copy` | ||
copy-command = "wl-copy" | ||
# Increase or decrease the size of the annotations | ||
annotation-size-factor = 2 | ||
# Filename to use for saving action. Omit to disable saving to file. Might contain format specifiers: https://docs.rs/chrono/latest/chrono/format/strftime/index.html | ||
output-filename = "/tmp/test-%Y-%m-%d_%H:%M:%S.png" | ||
|
||
# custom colours for the colour palette | ||
[color-palette] | ||
first= "#00ffff" | ||
second= "#a52a2a" | ||
third= "#dc143c" | ||
fourth= "#ff1493" | ||
fifth= "#ffd700" | ||
custom= "#008000" |
Oops, something went wrong.