Finally configure gnome custom keybindings
This commit is contained in:
		
							parent
							
								
									30e2a123c0
								
							
						
					
					
						commit
						1965529cb6
					
				| @ -38,18 +38,28 @@ | ||||
| # 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/'] | ||||
| - name: 1password quick access custom keybinding | ||||
|   dconf: | ||||
|     state: present | ||||
|     key: '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/{{item.key}}' | ||||
|     value: '{{item.value}}' | ||||
|   with_items: | ||||
|     - {key: 'binding', value: "'<Shift><Alt>space'"} | ||||
|     - {key: 'command', value: "'1password --quick-access'"} | ||||
|     - {key: 'name', value: "'1Password Quick Access'"} | ||||
| 
 | ||||
| # TODO: 1Password Quick Access | ||||
| # [org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0] | ||||
| # binding='<Shift><Alt>space' | ||||
| # command='1password --quick-access' | ||||
| # name='1Password Quick Access' | ||||
| # | ||||
| # TODO: Ulauncher Toggle | ||||
| # [org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1] | ||||
| # binding='<Alt>space' | ||||
| # command='ulauncher-toggle' | ||||
| # name='Ulauncher Toggle' | ||||
| - name: ulauncher toggle custom keybinding | ||||
|   dconf: | ||||
|     state: present | ||||
|     key: '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/{{item.key}}' | ||||
|     value: '{{item.value}}' | ||||
|   with_items: | ||||
|     - {key: 'binding', value: "'<Alt>space'"} | ||||
|     - {key: 'command', value: "'ulauncher-toggle'"} | ||||
|     - {key: 'name', value: "'Ulauncher Toggle'"} | ||||
| 
 | ||||
| - name: list of entries defining custom-keybindings | ||||
|   dconf: | ||||
|     state: present | ||||
|     key: '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings' | ||||
|     value: "['/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/']" | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user