You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat(ui): add transparency feature
It is sometimes better if the drawing is not fully covering the picture
but is semi-transparent. This patch adds a simple button to enable
transparency. When this button is enabled, everything will be drawn with
50% alpha channel.
* feat(ui): make transparency configurable
This commit adds UI elements and config option for configuring the
transparency value. The default value is 50% but it can be changed in
the 5% - 95% range in 10% steps.
* docs(readme): update README with transparency feature
The previous commit added this info to the man page but README was not
updated. Lets fix this.
Copy file name to clipboardExpand all lines: README.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,6 +53,8 @@ early_exit=false
53
53
fill_shape=false
54
54
auto_save=false
55
55
custom_color=rgba(193,125,17,1)
56
+
transparent=false
57
+
transparency=50
56
58
```
57
59
58
60
-`save_dir` is where swappshots will be saved, can contain env variables, when it does not exist, swappy attempts to create it first, but does not abort if directory creation fails
@@ -66,6 +68,8 @@ custom_color=rgba(193,125,17,1)
66
68
-`fill_shape` is used to toggle shape filling (for the rectangle and ellipsis tools) on or off upon startup
67
69
-`auto_save` is used to toggle auto saving of final buffer to `save_dir` upon exit
68
70
-`custom_color` is used to set a default value for the custom color
71
+
-`transparency` is used to set transparency of everything that is drawn during startup
72
+
-`transparent` is used to toggle transparency during startup
0 commit comments