]>
Commit | Line | Data |
---|---|---|
397c4fed | 1 | --- |
587b6dd6 IB |
2 | - name: Config dirs |
3 | file: | |
4 | state: directory | |
5 | path: "$XDG_CONFIG_HOME/{{ item }}" | |
6 | loop: | |
7 | - autostart | |
8 | - dunst | |
397c4fed | 9 | - name: Config files |
eac82f28 IB |
10 | copy: |
11 | src: "config_files/{{ item }}" | |
12 | dest: "$XDG_CONFIG_HOME/{{ item }}" | |
13 | loop: | |
14 | - redshift.conf | |
15 | - autostart/redshift-gtk.desktop | |
16 | - dunst/dunstrc | |
397c4fed IB |
17 | - name: mimeapps file |
18 | copy: | |
19 | src: mimeapps.list | |
20 | dest: $XDG_DATA_HOME/applications/ | |
21 | - name: Create xorg state dir | |
22 | file: | |
23 | path: $XDG_STATE_HOME/xorg | |
24 | state: directory | |
25 | - name: Link Xorg state dir | |
26 | file: | |
27 | path: "$XDG_DATA_HOME/xorg" | |
28 | src: "$XDG_STATE_HOME/xorg" | |
29 | state: link | |
c32343b4 IB |
30 | - name: fcitx configuration dir |
31 | file: | |
32 | path: "$XDG_CONFIG_HOME/{{ item }}" | |
33 | state: directory | |
34 | loop: | |
35 | - fcitx | |
36 | - fcitx/addon | |
37 | - fcitx/conf | |
38 | - name: fcitx configuration | |
39 | copy: | |
40 | src: "config_files/fcitx/{{ item }}" | |
41 | dest: "$XDG_CONFIG_HOME/fcitx/{{ item }}" | |
42 | loop: | |
43 | - config | |
44 | - conf/fcitx-autoeng.config | |
45 | - conf/fcitx-classic-ui.config | |
46 | - conf/fcitx-keyboard.config | |
47 | - conf/fcitx-m17n.config | |
48 | - conf/fcitx-notify.config | |
49 | - conf/fcitx-spell.config | |
50 | - conf/fcitx-table.config | |
51 | - conf/fcitx-unicode.config | |
52 | - conf/fcitx-xim.config | |
53 | - conf/fcitx-xkb.config | |
54 | - name: fcitx disabled addons | |
55 | ini_file: | |
56 | path: "$XDG_CONFIG_HOME/fcitx/addon/fcitx-{{ item.0 }}.conf" | |
57 | no_extra_spaces: true | |
58 | section: "Addon" | |
59 | option: "Enabled" | |
60 | value: "{{ item.1 }}" | |
61 | # cf /usr/share/fcitx/addon/ | |
62 | loop: | |
63 | - [ "chttrans", "False" ] | |
64 | - [ "clipboard", "False" ] | |
65 | - [ "imselector", "False" ] | |
66 | - [ "kimpanel-ui", "False" ] | |
67 | - [ "pinyin", "False" ] | |
68 | - [ "pinyin-enhance", "False" ] | |
69 | - [ "quickphrase", "False" ] | |
70 | - [ "qw", "False" ] | |
71 | ||
72 | - [ "autoeng", "True" ] | |
73 | - [ "classic-ui", "True" ] | |
74 | - [ "dbus", "True" ] | |
75 | - [ "freedesktop-notify", "True" ] | |
76 | - [ "fullwidth-char", "True" ] | |
77 | - [ "ipc", "True" ] | |
78 | - [ "ipcportal", "True" ] | |
79 | - [ "keyboard", "True" ] | |
80 | - [ "m17n", "True" ] | |
81 | - [ "notificationitem", "True" ] | |
82 | - [ "punc", "True" ] | |
83 | - [ "remote-module", "True" ] | |
84 | - [ "spell", "True" ] | |
85 | - [ "table", "True" ] | |
86 | - [ "unicode", "True" ] | |
87 | - [ "vk", "True" ] | |
88 | - [ "x11", "True" ] | |
89 | - [ "xim", "True" ] | |
90 | - [ "xkb", "True" ] | |
91 | - [ "xkbdbus", "True" ] |