Skip to content

Commit ae9b050

Browse files
committed
vicinae: enable GNOME clipboard integration
1 parent 73d7a4b commit ae9b050

4 files changed

Lines changed: 18 additions & 0 deletions

File tree

ansible/roles/desktop/defaults/main/settings.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
desktop_vicinae_binding_path: >-
33
/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/vicinae/
44
desktop_vicinae_command: /usr/bin/vicinae
5+
desktop_vicinae_blocked_applications:
6+
- 1Password
57
desktop_gnome_workspace_numbers:
68
- 1
79
- 2

ansible/roles/desktop/tasks/settings-gnome.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,3 +116,17 @@
116116
loop_control:
117117
label: "{{ item.key }}"
118118
when: desktop_custom_keybindings is not skipped
119+
120+
- name: Configure Vicinae clipboard monitoring
121+
community.general.dconf:
122+
key: "/org/gnome/shell/extensions/vicinae/{{ item.key }}"
123+
value: "{{ item.value }}"
124+
state: present
125+
loop:
126+
- key: enable-clipboard-monitoring
127+
value: "true"
128+
- key: blocked-applications
129+
value: "{{ desktop_vicinae_blocked_applications | ansible.builtin.to_json }}"
130+
loop_control:
131+
label: "{{ item.key }}"
132+
when: desktop_vicinae_command_file.stat.executable | default(false)

bluebuild/recipes/spectrum/modules/software.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,4 +135,5 @@ modules:
135135
- 4974 # Window Calls Extended
136136
- 5060 # Xremap
137137
- 5592 # Focused Window D-Bus
138+
- 8594 # Vicinae
138139
- 8834 # Copyous

bluebuild/recipes/spectrum/modules/validate.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ modules:
2929
grep -Fq 'Noto Sans Egyptian Hieroglyphs'
3030
- test -f /usr/share/gnome-shell/extensions/hyper-window-tiling@4evy.local/extension.js
3131
- test -f /usr/share/gnome-shell/extensions/hyper-window-tiling@4evy.local/schemas/gschemas.compiled
32+
- test -f /usr/share/gnome-shell/extensions/vicinae@dagimg-dot/extension.js
3233
- test -f /usr/share/kwin/scripts/hyper-window-tiling/contents/code/main.js
3334
- test -f /usr/libexec/dotfiles/kanata/kanata.kbd
3435
- test -x /usr/bin/kanata

0 commit comments

Comments
 (0)