--- - assert: that: "'GNOME' in ansible_env.XDG_CURRENT_DESKTOP" - name: install packages become: true package: name: - gnome-tweaks - gnome-themes-extra state: latest - name: prefer dark mode gsettings: schema: org.gnome.desktop.interface key: color-scheme value: "'prefer-dark'" - name: disable activate-window-menu keybinding gsettings: schema: org.gnome.desktop.wm.keybindings key: activate-window-menu value: '@as []' - 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 # dconf dump / | sed -n '/\[org.gnome.settings-daemon.plugins.media-keys/,/^$/p' # TODO: List of custom-keybindings # [org/gnome/settings-daemon/plugins/media-keys] # custom-keybindings=['/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/'] # TODO: 1Password Quick Access # [org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0] # binding='space' # command='1password --quick-access' # name='1Password Quick Access' # # TODO: Ulauncher Toggle # [org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1] # binding='space' # command='ulauncher-toggle' # name='Ulauncher Toggle'