summaryrefslogtreecommitdiff
path: root/roles/graphical/tasks
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@fretlink.com>2018-11-21 21:28:09 +0100
committerIsmaël Bouya <ismael.bouya@fretlink.com>2018-11-21 21:28:09 +0100
commitc32343b4e0a4066527d60ec4e51eefb6cd4eab67 (patch)
tree6579f2549791bb3331b23cf9522935a7821d6602 /roles/graphical/tasks
parentba49638af92aaa5349c5476db8136caec4b0166d (diff)
downloadAnsible-c32343b4e0a4066527d60ec4e51eefb6cd4eab67.tar.gz
Ansible-c32343b4e0a4066527d60ec4e51eefb6cd4eab67.tar.zst
Ansible-c32343b4e0a4066527d60ec4e51eefb6cd4eab67.zip
Add fcitx configuration
Diffstat (limited to 'roles/graphical/tasks')
-rw-r--r--roles/graphical/tasks/main.yml62
1 files changed, 62 insertions, 0 deletions
diff --git a/roles/graphical/tasks/main.yml b/roles/graphical/tasks/main.yml
index f73623e..f79f1c4 100644
--- a/roles/graphical/tasks/main.yml
+++ b/roles/graphical/tasks/main.yml
@@ -27,3 +27,65 @@
27 path: "$XDG_DATA_HOME/xorg" 27 path: "$XDG_DATA_HOME/xorg"
28 src: "$XDG_STATE_HOME/xorg" 28 src: "$XDG_STATE_HOME/xorg"
29 state: link 29 state: link
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" ]