Add gsettings module & use it
Disable switch-input-source & switch-input-source-backward keybindings.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
- assert:
|
||||
that: "'GNOME' in ansible_env.XDG_CURRENT_DESKTOP"
|
||||
|
||||
- name: install gnome extra packages
|
||||
- name: install packages
|
||||
become: true
|
||||
package:
|
||||
name:
|
||||
@@ -10,6 +10,23 @@
|
||||
- gnome-themes-extra
|
||||
state: latest
|
||||
|
||||
- name: prefer dark mode
|
||||
gsettings:
|
||||
schema: org.gnome.desktop.interface
|
||||
key: color-scheme
|
||||
value: "'prefer-dark'"
|
||||
|
||||
- name: disable switch-input-source keybinding
|
||||
gsettings:
|
||||
schema: org.gnome.desktop.wm.keybindings
|
||||
key: switch-input-source
|
||||
value: '@as []'
|
||||
- name: disable switch-input-source-backward keybinding
|
||||
gsettings:
|
||||
schema: org.gnome.desktop.wm.keybindings
|
||||
key: switch-input-source-backward
|
||||
value: '@as []'
|
||||
|
||||
# NOTE: Use this command to see default keybindings
|
||||
# gsettings list-recursively | grep -i -E 'media-keys|keybindings'
|
||||
# NOTE: Use this command to inspect the current state of the custom keybindings
|
||||
|
||||
Reference in New Issue
Block a user