qutebrowser: add bitwarden integration & polish
+ Add bitwarden integration + Polish xkcd userstyle (to better match the alucard theme) + Rethink qutebrowser keybinds. Some were redundant, others misplaced.
This commit is contained in:
		
							parent
							
								
									54058c7e47
								
							
						
					
					
						commit
						8d39061f48
					
				|  | @ -105,15 +105,24 @@ c.window.title_format = '{current_title} - {host} - qutebrowser' | |||
| # | ||||
| ## Keybindings | ||||
| 
 | ||||
| config.bind('zz', 'close') | ||||
| config.bind(';m', 'tab-mute') | ||||
| config.bind(';v', 'spawn mpv {url}') | ||||
| config.bind(';V', 'hint links spawn mpv {hint-url}') | ||||
| 
 | ||||
| # Universal Emacsien C-g alias for Escape | ||||
| config.bind('<Ctrl-g>', 'clear-keychain ;; search ;; fullscreen --leave') | ||||
| for mode in ['caret', 'command', 'hint', 'insert', 'passthrough', 'prompt', 'register']: | ||||
|     config.bind('<Ctrl-g>', 'leave-mode', mode=mode) | ||||
|     config.bind('<Ctrl-g>', 'mode-leave', mode=mode) | ||||
| 
 | ||||
| # ... | ||||
| config.bind('zz', 'close') | ||||
| config.bind('tm', 'tab-mute') | ||||
| config.bind('wi', 'devtools bottom') | ||||
| # ;v already bound to 'spawn mpv {url}' | ||||
| config.bind(';V', 'hint links spawn mpv {hint-url}') | ||||
| 
 | ||||
| # Bitwarden integration | ||||
| config.bind(";p", ':spawn -u qute-bwmenu') | ||||
| config.bind(";P", 'spawn bwmenu') | ||||
| 
 | ||||
| ## Ex-commands | ||||
| 
 | ||||
| 
 | ||||
| ## Bindings for normal mode | ||||
| # config.bind("'", 'enter-mode jump_mark') | ||||
|  | @ -375,9 +384,6 @@ config.bind('<Ctrl-F>', 'rl-forward-word', mode='prompt') | |||
| ## Bindings for register mode | ||||
| # config.bind('<Escape>', 'leave-mode', mode='register') | ||||
| 
 | ||||
| ## Ex-commands | ||||
| # c.aliases["m"] = ":tab-mute" | ||||
| 
 | ||||
| ## Per-domain settings | ||||
| c.content.user_stylesheets = glob.glob(os.path.expanduser('~/.local/share/qutebrowser/userstyles.css')) | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,7 +1,7 @@ | |||
| [qb-domain$="xkcd.com"] { | ||||
|     body { | ||||
|         background: #161616 !important; | ||||
|         color: #FAFAFA !important; | ||||
|         background: #282a36 !important; | ||||
|         color: #f8f8f2 !important; | ||||
|     } | ||||
| 
 | ||||
|     img, div[class="self"] { | ||||
|  | @ -16,11 +16,11 @@ | |||
|     } | ||||
| 
 | ||||
|     .box { | ||||
|         background: #000 !important; | ||||
|         background: #1E2029 !important; | ||||
|     } | ||||
| 
 | ||||
|     #topLeft a { | ||||
|         color: #CCCCCC !important; | ||||
|         color: #e0e0e0 !important; | ||||
|     } | ||||
| 
 | ||||
|     ul.comicNav li a { | ||||
|  | @ -49,7 +49,7 @@ | |||
| 
 | ||||
| [qb-domain="m-xkcd.com"] { | ||||
|     body { | ||||
|         background: #161616 !important; | ||||
|         background: #282a36 !important; | ||||
|     } | ||||
| 
 | ||||
|     #title { | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue