diff options
author | Ismaël Bouya <ismael.bouya@fretlink.com> | 2018-11-02 17:03:49 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@fretlink.com> | 2018-11-02 17:03:49 +0100 |
commit | 397c4fed757d201af627636822981e85e84ea572 (patch) | |
tree | d6733d4022bf04784be84581f6c16e96a1b229e8 /roles/graphical | |
download | Ansible-397c4fed757d201af627636822981e85e84ea572.tar.gz Ansible-397c4fed757d201af627636822981e85e84ea572.tar.zst Ansible-397c4fed757d201af627636822981e85e84ea572.zip |
Validation initiale
Diffstat (limited to 'roles/graphical')
-rw-r--r-- | roles/graphical/files/config_files/autostart/redshift-gtk.desktop | 7 | ||||
-rw-r--r-- | roles/graphical/files/config_files/dunst/dunstrc | 368 | ||||
-rw-r--r-- | roles/graphical/files/config_files/redshift.conf | 8 | ||||
-rw-r--r-- | roles/graphical/files/mimeapps.list | 147 | ||||
-rw-r--r-- | roles/graphical/tasks/main.yml | 21 |
5 files changed, 551 insertions, 0 deletions
diff --git a/roles/graphical/files/config_files/autostart/redshift-gtk.desktop b/roles/graphical/files/config_files/autostart/redshift-gtk.desktop new file mode 100644 index 0000000..3fc7814 --- /dev/null +++ b/roles/graphical/files/config_files/autostart/redshift-gtk.desktop | |||
@@ -0,0 +1,7 @@ | |||
1 | [Desktop Entry] | ||
2 | Name=Redshift | ||
3 | GenericName=Redshift | ||
4 | Exec=/usr/bin/redshift-gtk | ||
5 | Icon=redshift | ||
6 | Terminal=false | ||
7 | Type=Application | ||
diff --git a/roles/graphical/files/config_files/dunst/dunstrc b/roles/graphical/files/config_files/dunst/dunstrc new file mode 100644 index 0000000..c8e55b5 --- /dev/null +++ b/roles/graphical/files/config_files/dunst/dunstrc | |||
@@ -0,0 +1,368 @@ | |||
1 | [global] | ||
2 | ### Display ### | ||
3 | |||
4 | # Which monitor should the notifications be displayed on. | ||
5 | monitor = 0 | ||
6 | |||
7 | # Display notification on focused monitor. Possible modes are: | ||
8 | # mouse: follow mouse pointer | ||
9 | # keyboard: follow window with keyboard focus | ||
10 | # none: don't follow anything | ||
11 | # | ||
12 | # "keyboard" needs a window manager that exports the | ||
13 | # _NET_ACTIVE_WINDOW property. | ||
14 | # This should be the case for almost all modern window managers. | ||
15 | # | ||
16 | # If this option is set to mouse or keyboard, the monitor option | ||
17 | # will be ignored. | ||
18 | follow = mouse | ||
19 | |||
20 | # The geometry of the window: | ||
21 | # [{width}]x{height}[+/-{x}+/-{y}] | ||
22 | # The geometry of the message window. | ||
23 | # The height is measured in number of notifications everything else | ||
24 | # in pixels. If the width is omitted but the height is given | ||
25 | # ("-geometry x2"), the message window expands over the whole screen | ||
26 | # (dmenu-like). If width is 0, the window expands to the longest | ||
27 | # message displayed. A positive x is measured from the left, a | ||
28 | # negative from the right side of the screen. Y is measured from | ||
29 | # the top and down respectively. | ||
30 | # The width can be negative. In this case the actual width is the | ||
31 | # screen width minus the width defined in within the geometry option. | ||
32 | geometry = "300x5-30+20" | ||
33 | |||
34 | # Show how many messages are currently hidden (because of geometry). | ||
35 | indicate_hidden = yes | ||
36 | |||
37 | # Shrink window if it's smaller than the width. Will be ignored if | ||
38 | # width is 0. | ||
39 | shrink = no | ||
40 | |||
41 | # The transparency of the window. Range: [0; 100]. | ||
42 | # This option will only work if a compositing window manager is | ||
43 | # present (e.g. xcompmgr, compiz, etc.). | ||
44 | transparency = 0 | ||
45 | |||
46 | # The height of the entire notification. If the height is smaller | ||
47 | # than the font height and padding combined, it will be raised | ||
48 | # to the font height and padding. | ||
49 | notification_height = 0 | ||
50 | |||
51 | # Draw a line of "separator_height" pixel height between two | ||
52 | # notifications. | ||
53 | # Set to 0 to disable. | ||
54 | separator_height = 2 | ||
55 | |||
56 | # Padding between text and separator. | ||
57 | padding = 8 | ||
58 | |||
59 | # Horizontal padding. | ||
60 | horizontal_padding = 8 | ||
61 | |||
62 | # Defines width in pixels of frame around the notification window. | ||
63 | # Set to 0 to disable. | ||
64 | frame_width = 3 | ||
65 | |||
66 | # Defines color of the frame around the notification window. | ||
67 | frame_color = "#aaaaaa" | ||
68 | |||
69 | # Define a color for the separator. | ||
70 | # possible values are: | ||
71 | # * auto: dunst tries to find a color fitting to the background; | ||
72 | # * foreground: use the same color as the foreground; | ||
73 | # * frame: use the same color as the frame; | ||
74 | # * anything else will be interpreted as a X color. | ||
75 | separator_color = frame | ||
76 | |||
77 | # Sort messages by urgency. | ||
78 | sort = yes | ||
79 | |||
80 | # Don't remove messages, if the user is idle (no mouse or keyboard input) | ||
81 | # for longer than idle_threshold seconds. | ||
82 | # Set to 0 to disable. | ||
83 | # Transient notifications ignore this setting. | ||
84 | idle_threshold = 120 | ||
85 | |||
86 | ### Text ### | ||
87 | |||
88 | font = Monospace 8 | ||
89 | |||
90 | # The spacing between lines. If the height is smaller than the | ||
91 | # font height, it will get raised to the font height. | ||
92 | line_height = 0 | ||
93 | |||
94 | # Possible values are: | ||
95 | # full: Allow a small subset of html markup in notifications: | ||
96 | # <b>bold</b> | ||
97 | # <i>italic</i> | ||
98 | # <s>strikethrough</s> | ||
99 | # <u>underline</u> | ||
100 | # | ||
101 | # For a complete reference see | ||
102 | # <http://developer.gnome.org/pango/stable/PangoMarkupFormat.html>. | ||
103 | # | ||
104 | # strip: This setting is provided for compatibility with some broken | ||
105 | # clients that send markup even though it's not enabled on the | ||
106 | # server. Dunst will try to strip the markup but the parsing is | ||
107 | # simplistic so using this option outside of matching rules for | ||
108 | # specific applications *IS GREATLY DISCOURAGED*. | ||
109 | # | ||
110 | # no: Disable markup parsing, incoming notifications will be treated as | ||
111 | # plain text. Dunst will not advertise that it has the body-markup | ||
112 | # capability if this is set as a global setting. | ||
113 | # | ||
114 | # It's important to note that markup inside the format option will be parsed | ||
115 | # regardless of what this is set to. | ||
116 | markup = full | ||
117 | |||
118 | # The format of the message. Possible variables are: | ||
119 | # %a appname | ||
120 | # %s summary | ||
121 | # %b body | ||
122 | # %i iconname (including its path) | ||
123 | # %I iconname (without its path) | ||
124 | # %p progress value if set ([ 0%] to [100%]) or nothing | ||
125 | # %n progress value if set without any extra characters | ||
126 | # %% Literal % | ||
127 | # Markup is allowed | ||
128 | format = "<span size='small'>%a</span>\n<b>%s</b>\n%b\n%p" | ||
129 | |||
130 | # Alignment of message text. | ||
131 | # Possible values are "left", "center" and "right". | ||
132 | alignment = left | ||
133 | |||
134 | # Show age of message if message is older than show_age_threshold | ||
135 | # seconds. | ||
136 | # Set to -1 to disable. | ||
137 | show_age_threshold = 60 | ||
138 | |||
139 | # Split notifications into multiple lines if they don't fit into | ||
140 | # geometry. | ||
141 | word_wrap = yes | ||
142 | |||
143 | # When word_wrap is set to no, specify where to make an ellipsis in long lines. | ||
144 | # Possible values are "start", "middle" and "end". | ||
145 | ellipsize = middle | ||
146 | |||
147 | # Ignore newlines '\n' in notifications. | ||
148 | ignore_newline = no | ||
149 | |||
150 | # Merge multiple notifications with the same content | ||
151 | stack_duplicates = true | ||
152 | |||
153 | # Hide the count of merged notifications with the same content | ||
154 | hide_duplicate_count = false | ||
155 | |||
156 | # Display indicators for URLs (U) and actions (A). | ||
157 | show_indicators = yes | ||
158 | |||
159 | ### Icons ### | ||
160 | |||
161 | # Align icons left/right/off | ||
162 | icon_position = left | ||
163 | |||
164 | # Scale larger icons down to this size, set to 0 to disable | ||
165 | max_icon_size = 32 | ||
166 | |||
167 | # Paths to default icons. | ||
168 | icon_path = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/ | ||
169 | |||
170 | ### History ### | ||
171 | |||
172 | # Should a notification popped up from history be sticky or timeout | ||
173 | # as if it would normally do. | ||
174 | sticky_history = yes | ||
175 | |||
176 | # Maximum amount of notifications kept in history | ||
177 | history_length = 20 | ||
178 | |||
179 | ### Misc/Advanced ### | ||
180 | |||
181 | # dmenu path. | ||
182 | dmenu = /usr/bin/dmenu -p dunst: | ||
183 | |||
184 | # Browser for opening urls in context menu. | ||
185 | browser = /usr/bin/firefox -new-tab | ||
186 | |||
187 | # Always run rule-defined scripts, even if the notification is suppressed | ||
188 | always_run_script = true | ||
189 | |||
190 | # Define the title of the windows spawned by dunst | ||
191 | title = Dunst | ||
192 | |||
193 | # Define the class of the windows spawned by dunst | ||
194 | class = Dunst | ||
195 | |||
196 | # Print a notification on startup. | ||
197 | # This is mainly for error detection, since dbus (re-)starts dunst | ||
198 | # automatically after a crash. | ||
199 | startup_notification = true | ||
200 | |||
201 | # Manage dunst's desire for talking | ||
202 | # Can be one of the following values: | ||
203 | # crit: Critical features. Dunst aborts | ||
204 | # warn: Only non-fatal warnings | ||
205 | # mesg: Important Messages | ||
206 | # info: all unimportant stuff | ||
207 | # debug: all less than unimportant stuff | ||
208 | verbosity = mesg | ||
209 | |||
210 | # Define the corner radius of the notification window | ||
211 | # in pixel size. If the radius is 0, you have no rounded | ||
212 | # corners. | ||
213 | # The radius will be automatically lowered if it exceeds half of the | ||
214 | # notification height to avoid clipping text and/or icons. | ||
215 | corner_radius = 0 | ||
216 | |||
217 | ### Legacy | ||
218 | |||
219 | # Use the Xinerama extension instead of RandR for multi-monitor support. | ||
220 | # This setting is provided for compatibility with older nVidia drivers that | ||
221 | # do not support RandR and using it on systems that support RandR is highly | ||
222 | # discouraged. | ||
223 | # | ||
224 | # By enabling this setting dunst will not be able to detect when a monitor | ||
225 | # is connected or disconnected which might break follow mode if the screen | ||
226 | # layout changes. | ||
227 | force_xinerama = false | ||
228 | |||
229 | # Experimental features that may or may not work correctly. Do not expect them | ||
230 | # to have a consistent behaviour across releases. | ||
231 | [experimental] | ||
232 | # Calculate the dpi to use on a per-monitor basis. | ||
233 | # If this setting is enabled the Xft.dpi value will be ignored and instead | ||
234 | # dunst will attempt to calculate an appropriate dpi value for each monitor | ||
235 | # using the resolution and physical size. This might be useful in setups | ||
236 | # where there are multiple screens with very different dpi values. | ||
237 | per_monitor_dpi = false | ||
238 | |||
239 | [shortcuts] | ||
240 | |||
241 | # Shortcuts are specified as [modifier+][modifier+]...key | ||
242 | # Available modifiers are "ctrl", "mod1" (the alt-key), "mod2", | ||
243 | # "mod3" and "mod4" (windows-key). | ||
244 | # Xev might be helpful to find names for keys. | ||
245 | |||
246 | # Close notification. | ||
247 | close = ctrl+space | ||
248 | |||
249 | # Close all notifications. | ||
250 | close_all = ctrl+mod1+space | ||
251 | |||
252 | # Redisplay last message(s). | ||
253 | # On the US keyboard layout "grave" is normally above TAB and left | ||
254 | # of "1". Make sure this key actually exists on your keyboard layout, | ||
255 | # e.g. check output of 'xmodmap -pke' | ||
256 | history = ctrl+shift+space | ||
257 | |||
258 | # Context menu. | ||
259 | context = shift+space | ||
260 | |||
261 | [urgency_low] | ||
262 | # IMPORTANT: colors have to be defined in quotation marks. | ||
263 | # Otherwise the "#" and following would be interpreted as a comment. | ||
264 | background = "#222222" | ||
265 | foreground = "#888888" | ||
266 | timeout = 10 | ||
267 | # Icon for notifications with low urgency, uncomment to enable | ||
268 | #icon = /path/to/icon | ||
269 | |||
270 | [urgency_normal] | ||
271 | background = "#285577" | ||
272 | foreground = "#ffffff" | ||
273 | timeout = 10 | ||
274 | # Icon for notifications with normal urgency, uncomment to enable | ||
275 | #icon = /path/to/icon | ||
276 | |||
277 | [urgency_critical] | ||
278 | background = "#900000" | ||
279 | foreground = "#ffffff" | ||
280 | frame_color = "#ff0000" | ||
281 | timeout = 0 | ||
282 | # Icon for notifications with critical urgency, uncomment to enable | ||
283 | #icon = /path/to/icon | ||
284 | |||
285 | # Every section that isn't one of the above is interpreted as a rules to | ||
286 | # override settings for certain messages. | ||
287 | # Messages can be matched by "appname", "summary", "body", "icon", "category", | ||
288 | # "msg_urgency" and you can override the "timeout", "urgency", "foreground", | ||
289 | # "background", "frame_color", "new_icon" and "format", "fullscreen". | ||
290 | # Shell-like globbing will get expanded. | ||
291 | # | ||
292 | # SCRIPTING | ||
293 | # You can specify a script that gets run when the rule matches by | ||
294 | # setting the "script" option. | ||
295 | # The script will be called as follows: | ||
296 | # script appname summary body icon urgency | ||
297 | # where urgency can be "LOW", "NORMAL" or "CRITICAL". | ||
298 | # | ||
299 | # NOTE: if you don't want a notification to be displayed, set the format | ||
300 | # to "". | ||
301 | # NOTE: It might be helpful to run dunst -print in a terminal in order | ||
302 | # to find fitting options for rules. | ||
303 | |||
304 | # fullscreen values | ||
305 | # show: show the notifications, regardless if there is a fullscreen window opened | ||
306 | # delay: displays the new notification, if there is no fullscreen window active | ||
307 | # If the notification is already drawn, it won't get undrawn. | ||
308 | # pushback: same as delay, but when switching into fullscreen, the notification will get | ||
309 | # withdrawn from screen again and will get delayed like a new notification | ||
310 | |||
311 | #[fullscreen_delay_everything] | ||
312 | # fullscreen = delay | ||
313 | #[fullscreen_show_critical] | ||
314 | # msg_urgency = critical | ||
315 | # fullscreen = show | ||
316 | |||
317 | [volume] | ||
318 | summary = "Volume" | ||
319 | appname = "Openbox-volume" | ||
320 | format = "Volume %p" | ||
321 | fullscreen = show | ||
322 | |||
323 | [volume-mute] | ||
324 | appname = "Openbox-mute" | ||
325 | format = "%s" | ||
326 | fullscreen = show | ||
327 | background = "#00ff00" | ||
328 | foreground = "#000000" | ||
329 | |||
330 | #[espeak] | ||
331 | # summary = "*" | ||
332 | # script = dunst_espeak.sh | ||
333 | |||
334 | #[script-test] | ||
335 | # summary = "*script*" | ||
336 | # script = dunst_test.sh | ||
337 | |||
338 | #[ignore] | ||
339 | # # This notification will not be displayed | ||
340 | # summary = "foobar" | ||
341 | # format = "" | ||
342 | |||
343 | #[history-ignore] | ||
344 | # # This notification will not be saved in history | ||
345 | # summary = "foobar" | ||
346 | # history_ignore = yes | ||
347 | |||
348 | #[signed_on] | ||
349 | # appname = Pidgin | ||
350 | # summary = "*signed on*" | ||
351 | # urgency = low | ||
352 | # | ||
353 | #[signed_off] | ||
354 | # appname = Pidgin | ||
355 | # summary = *signed off* | ||
356 | # urgency = low | ||
357 | # | ||
358 | #[says] | ||
359 | # appname = Pidgin | ||
360 | # summary = *says* | ||
361 | # urgency = critical | ||
362 | # | ||
363 | #[twitter] | ||
364 | # appname = Pidgin | ||
365 | # summary = *twitter.com* | ||
366 | # urgency = normal | ||
367 | # | ||
368 | # vim: ft=cfg | ||
diff --git a/roles/graphical/files/config_files/redshift.conf b/roles/graphical/files/config_files/redshift.conf new file mode 100644 index 0000000..da26fa2 --- /dev/null +++ b/roles/graphical/files/config_files/redshift.conf | |||
@@ -0,0 +1,8 @@ | |||
1 | [redshift] | ||
2 | temp-day=4500 | ||
3 | temp-night=4500 | ||
4 | location-provider=manual | ||
5 | |||
6 | [manual] | ||
7 | lat=48.8566 | ||
8 | lon=2.3522 | ||
diff --git a/roles/graphical/files/mimeapps.list b/roles/graphical/files/mimeapps.list new file mode 100644 index 0000000..1f35b04 --- /dev/null +++ b/roles/graphical/files/mimeapps.list | |||
@@ -0,0 +1,147 @@ | |||
1 | [Added Associations] | ||
2 | text/html=firefox.desktop | ||
3 | text/xml=firefox.desktop | ||
4 | application/xhtml+xml=firefox.desktop | ||
5 | application/vnd.mozilla.xul+xml=firefox.desktop | ||
6 | text/mml=firefox.desktop | ||
7 | x-scheme-handler/http=firefox.desktop | ||
8 | x-scheme-handler/https=firefox.desktop | ||
9 | inode/directory=pcmanfm.desktop | ||
10 | image/bmp=gpicview.desktop | ||
11 | image/gif=gpicview.desktop | ||
12 | image/jpeg=gpicview.desktop | ||
13 | image/jpg=gpicview.desktop | ||
14 | image/png=gpicview.desktop | ||
15 | image/tiff=org.gnome.Evince.desktop | ||
16 | image/x-bmp=gpicview.desktop | ||
17 | image/x-pcx=gpicview.desktop | ||
18 | image/x-tga=gpicview.desktop | ||
19 | image/x-portable-pixmap=gpicview.desktop | ||
20 | image/x-portable-bitmap=gpicview.desktop | ||
21 | image/x-targa=gpicview.desktop | ||
22 | image/x-portable-greymap=gpicview.desktop | ||
23 | application/pcx=gpicview.desktop | ||
24 | image/svg+xml=gpicview.desktop | ||
25 | image/svg-xml=gpicview.desktop | ||
26 | text/english=vim.desktop | ||
27 | text/plain=vim.desktop | ||
28 | text/x-makefile=vim.desktop | ||
29 | text/x-c++hdr=vim.desktop | ||
30 | text/x-c++src=vim.desktop | ||
31 | text/x-chdr=vim.desktop | ||
32 | text/x-csrc=vim.desktop | ||
33 | text/x-java=vim.desktop | ||
34 | text/x-moc=vim.desktop | ||
35 | text/x-pascal=vim.desktop | ||
36 | text/x-tcl=vim.desktop | ||
37 | text/x-tex=vim.desktop | ||
38 | application/x-shellscript=vim.desktop | ||
39 | text/x-c=vim.desktop | ||
40 | text/x-c++=vim.desktop | ||
41 | application/pdf=org.gnome.Evince.desktop | ||
42 | application/x-bzpdf=org.gnome.Evince.desktop | ||
43 | application/x-gzpdf=org.gnome.Evince.desktop | ||
44 | application/x-xzpdf=org.gnome.Evince.desktop | ||
45 | application/x-ext-pdf=org.gnome.Evince.desktop | ||
46 | application/postscript=org.gnome.Evince.desktop | ||
47 | application/x-bzpostscript=org.gnome.Evince.desktop | ||
48 | application/x-gzpostscript=org.gnome.Evince.desktop | ||
49 | image/x-eps=org.gnome.Evince.desktop | ||
50 | image/x-bzeps=org.gnome.Evince.desktop | ||
51 | image/x-gzeps=org.gnome.Evince.desktop | ||
52 | application/x-ext-ps=org.gnome.Evince.desktop | ||
53 | application/x-ext-eps=org.gnome.Evince.desktop | ||
54 | application/illustrator=org.gnome.Evince.desktop | ||
55 | application/x-dvi=org.gnome.Evince.desktop | ||
56 | application/x-bzdvi=org.gnome.Evince.desktop | ||
57 | application/x-gzdvi=org.gnome.Evince.desktop | ||
58 | application/x-ext-dvi=org.gnome.Evince.desktop | ||
59 | image/vnd.djvu+multipage=org.gnome.Evince.desktop | ||
60 | application/x-ext-djv=org.gnome.Evince.desktop | ||
61 | application/x-ext-djvu=org.gnome.Evince.desktop | ||
62 | application/x-cbr=org.gnome.Evince.desktop | ||
63 | application/x-cbz=org.gnome.Evince.desktop | ||
64 | application/x-cb7=org.gnome.Evince.desktop | ||
65 | application/x-cbt=org.gnome.Evince.desktop | ||
66 | application/x-ext-cbr=org.gnome.Evince.desktop | ||
67 | application/x-ext-cbz=org.gnome.Evince.desktop | ||
68 | application/x-ext-cb7=org.gnome.Evince.desktop | ||
69 | application/x-ext-cbt=org.gnome.Evince.desktop | ||
70 | application/vnd.comicbook+zip=org.gnome.Evince.desktop | ||
71 | application/vnd.comicbook-rar=org.gnome.Evince.desktop | ||
72 | application/oxps=org.gnome.Evince.desktop | ||
73 | application/vnd.ms-xpsdocument=org.gnome.Evince.desktop | ||
74 | |||
75 | [Default Applications] | ||
76 | text/html=firefox.desktop | ||
77 | text/xml=firefox.desktop | ||
78 | application/xhtml+xml=firefox.desktop | ||
79 | application/vnd.mozilla.xul+xml=firefox.desktop | ||
80 | text/mml=firefox.desktop | ||
81 | x-scheme-handler/http=firefox.desktop | ||
82 | x-scheme-handler/https=firefox.desktop | ||
83 | inode/directory=pcmanfm.desktop | ||
84 | image/bmp=gpicview.desktop | ||
85 | image/gif=gpicview.desktop | ||
86 | image/jpeg=gpicview.desktop | ||
87 | image/jpg=gpicview.desktop | ||
88 | image/png=gpicview.desktop | ||
89 | image/tiff=org.gnome.Evince.desktop | ||
90 | image/x-bmp=gpicview.desktop | ||
91 | image/x-pcx=gpicview.desktop | ||
92 | image/x-tga=gpicview.desktop | ||
93 | image/x-portable-pixmap=gpicview.desktop | ||
94 | image/x-portable-bitmap=gpicview.desktop | ||
95 | image/x-targa=gpicview.desktop | ||
96 | image/x-portable-greymap=gpicview.desktop | ||
97 | application/pcx=gpicview.desktop | ||
98 | image/svg+xml=gpicview.desktop | ||
99 | image/svg-xml=gpicview.desktop | ||
100 | text/english=vim.desktop | ||
101 | text/plain=vim.desktop | ||
102 | text/x-makefile=vim.desktop | ||
103 | text/x-c++hdr=vim.desktop | ||
104 | text/x-c++src=vim.desktop | ||
105 | text/x-chdr=vim.desktop | ||
106 | text/x-csrc=vim.desktop | ||
107 | text/x-java=vim.desktop | ||
108 | text/x-moc=vim.desktop | ||
109 | text/x-pascal=vim.desktop | ||
110 | text/x-tcl=vim.desktop | ||
111 | text/x-tex=vim.desktop | ||
112 | application/x-shellscript=vim.desktop | ||
113 | text/x-c=vim.desktop | ||
114 | text/x-c++=vim.desktop | ||
115 | application/pdf=org.gnome.Evince.desktop | ||
116 | application/x-bzpdf=org.gnome.Evince.desktop | ||
117 | application/x-gzpdf=org.gnome.Evince.desktop | ||
118 | application/x-xzpdf=org.gnome.Evince.desktop | ||
119 | application/x-ext-pdf=org.gnome.Evince.desktop | ||
120 | application/postscript=org.gnome.Evince.desktop | ||
121 | application/x-bzpostscript=org.gnome.Evince.desktop | ||
122 | application/x-gzpostscript=org.gnome.Evince.desktop | ||
123 | image/x-eps=org.gnome.Evince.desktop | ||
124 | image/x-bzeps=org.gnome.Evince.desktop | ||
125 | image/x-gzeps=org.gnome.Evince.desktop | ||
126 | application/x-ext-ps=org.gnome.Evince.desktop | ||
127 | application/x-ext-eps=org.gnome.Evince.desktop | ||
128 | application/illustrator=org.gnome.Evince.desktop | ||
129 | application/x-dvi=org.gnome.Evince.desktop | ||
130 | application/x-bzdvi=org.gnome.Evince.desktop | ||
131 | application/x-gzdvi=org.gnome.Evince.desktop | ||
132 | application/x-ext-dvi=org.gnome.Evince.desktop | ||
133 | image/vnd.djvu+multipage=org.gnome.Evince.desktop | ||
134 | application/x-ext-djv=org.gnome.Evince.desktop | ||
135 | application/x-ext-djvu=org.gnome.Evince.desktop | ||
136 | application/x-cbr=org.gnome.Evince.desktop | ||
137 | application/x-cbz=org.gnome.Evince.desktop | ||
138 | application/x-cb7=org.gnome.Evince.desktop | ||
139 | application/x-cbt=org.gnome.Evince.desktop | ||
140 | application/x-ext-cbr=org.gnome.Evince.desktop | ||
141 | application/x-ext-cbz=org.gnome.Evince.desktop | ||
142 | application/x-ext-cb7=org.gnome.Evince.desktop | ||
143 | application/x-ext-cbt=org.gnome.Evince.desktop | ||
144 | application/vnd.comicbook+zip=org.gnome.Evince.desktop | ||
145 | application/vnd.comicbook-rar=org.gnome.Evince.desktop | ||
146 | application/oxps=org.gnome.Evince.desktop | ||
147 | application/vnd.ms-xpsdocument=org.gnome.Evince.desktop | ||
diff --git a/roles/graphical/tasks/main.yml b/roles/graphical/tasks/main.yml new file mode 100644 index 0000000..96c70b9 --- /dev/null +++ b/roles/graphical/tasks/main.yml | |||
@@ -0,0 +1,21 @@ | |||
1 | --- | ||
2 | - name: Config files | ||
3 | synchronize: | ||
4 | recursive: yes | ||
5 | archive: no | ||
6 | checksum: yes | ||
7 | src: config_files/ | ||
8 | dest: /$XDG_CONFIG_HOME/ | ||
9 | - name: mimeapps file | ||
10 | copy: | ||
11 | src: mimeapps.list | ||
12 | dest: $XDG_DATA_HOME/applications/ | ||
13 | - name: Create xorg state dir | ||
14 | file: | ||
15 | path: $XDG_STATE_HOME/xorg | ||
16 | state: directory | ||
17 | - name: Link Xorg state dir | ||
18 | file: | ||
19 | path: "$XDG_DATA_HOME/xorg" | ||
20 | src: "$XDG_STATE_HOME/xorg" | ||
21 | state: link | ||