-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathperdyshot.conf
196 lines (174 loc) · 6.36 KB
/
perdyshot.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
#############################################
# This is the Perdyshot Configuration File #
# ========================================= #
# These settings were carefully crafted for #
# Elementary OS 0.3 Freya. If something #
# doesn't work on your distro, try modify #
# this file. Chances are with a few modi- #
# fications, you can get it to work on your #
# distro, too. #
#############################################
# General settings
[Settings]
# The background colour
# Values:
# ImageMagick colour (see http://www.imagemagick.org/script/color.php#models)
background = "#ffffff"
# The colour of the shadow
# Values:
# ImageMagick colour (see http://www.imagemagick.org/script/color.pgp#models)
shadowColour = "#949494"
# The filename of the output screenshot
# For formatting options, please refer to https://docs.python.org/2/library/time.html#time.strftime
filename = "screenshot.png"
# The paths to the images used for border perfection
# This is super theme and WM-specific, so if something in the border looks really, really bad, this
# is probably the reason. Either supply your own images, or just set these to an empty string, if
# you wish to disable it.
#
# The settings with names ending in "DM" are deletion maps. A transparent pixel represents a pixel
# to be left untouched, and any other colour will result in the pixel being deleted, before the
# corresponding overlay image is applied.
cornerImage = "assets/elementary_corner.png"
cornerImageDM = "assets/elementary_corner_dm.png"
borderImage = "assets/elementary_border.png"
borderImageDM = "assets/elementary_border_dm.png"
# GUI Settings
[GUI]
[[CaptureModes]]
# The name of the capture mode as shown in the GUI menu
[[["Capture Active Window"]]]
# The type of capture
# Values:
# simple: Simple options. Should get the most common operations done
# script: Executes a script. Full control
type = "simple"
# All the below settings are for type = "simple" only.
# For type = "script", simply use file = "/path/to/script.sh". That's all you need
# The capture mode
# Values:
# window: Captures the active window
# selection: Custom rectangle selection
mode = "window"
# The file to save the resulting picture to
# I.e. "~/Pictures/screenshot.png"
# For formatting options, please refer to https://docs.python.org/2/library/time.html#time.strftime
# By default (None) doesn't save the image
#file = None
# A shell command to execute after capturing
# I.e. "gimp '%s'"
# %s is replaced by `file` if one is set (otherwise uses the tempfile)
# If left out, no command is executed
# Defaults to None
#program = ""
# Whether to copy the image (after `program` terminates) to the clipboard
# Type: boolean
# Defaults to False
copy = True
# Whether to display a notification when everything's done
# Type: boolean
# Defaults to False
notification = True
# The image used for the notificatin
# Either a path to a custom picture or a system image provided by lib-notify
# Please note that custom pictures are broken on Elementary OS and will always use the info icon
# Defaults to the Perdyshot logo
#notificationImage = None
# The title of the notification
# Defaults to "Screenshot taken!"
notificationTitle = "Screenshot taken!"
# The description of the notification
# Defaults to an empty string
notificationDescription = ""
[[["Capture Selection"]]]
type = "simple"
mode = "selection"
copy = True
notification = True
[[["Capture Selection in 2 seconds"]]]
type = "script"
file = "./waitselection.sh"
# Application-specific settings
[Applications]
# The WM_CLASS of the application
[["pantheon-terminal"]]
# Whether to remove a bugged margin around the application
# Values:
# 2: True, except in dialogs
# 1: True
# 0: False
# Defaults to 0
sizeBugged = 1
# Whether to round the top corners
# Values:
# True
# False
# Defaults to True for applications with native titlebars, false for custom
roundTop = True
# Whether to round the bottom corners
# Values:
# 0: Never
# 1: Always
# 2: Only when maximised or dialog
# Defaults to 2 for applications with native titlebars, 0 for custom
roundBottom = 2
[["files"]]
sizeBugged = 1
roundTop = True
roundBottom = 2
[["switchboard"]]
sizeBugged = 1
roundTop = True
roundBottom = 2
[["evince"]]
sizeBugged = 1
roundTop = True
roundBottom = 2
[["file-roller"]]
sizeBugged = 1
roundTop = True
roundBottom = 2
[["pantheon-calculator"]]
sizeBugged = 1
roundTop = True
roundBottom = 1
[["shotwell"]]
sizeBugged = 1
roundTop = True
roundBottom = 2
[["noise"]]
sizeBugged = 1
roundTop = True
roundBottom = 1
[["audience"]]
sizeBugged = 1
roundTop = True
roundBottom = 2
[["maya-calendar"]]
sizeBugged = 1
roundTop = True
roundBottom = 2
[["sublime_text"]]
sizeBugged = 0
roundTop = True
roundBottom = 0
[["snap-photobooth"]]
sizeBugged = 1
roundTop = True
roundBottom = 2
[["gnome-system-monitor"]]
sizeBugged = 1
roundTop = True
roundBottom = 2
[["update-manager"]]
sizeBugged = 1
roundTop = True
roundBottom = 2
[["gcm-viewer"]]
sizeBugged = 1
roundTop = True
roundBottom = 2
[["gnome-font-viewer"]]
sizeBugged = 1
roundTop = True
roundBottom = 2