mirror of
https://github.com/librephoenix/nixos-config
synced 2025-01-19 07:05:51 +05:30
Organization + C-p C-n nav in qutebrowser
This commit is contained in:
parent
130d637598
commit
6557989bbb
|
@ -37,12 +37,6 @@ base0D = "#''+config.lib.stylix.colors.base0D+''"
|
||||||
base0E = "#''+config.lib.stylix.colors.base0E+''"
|
base0E = "#''+config.lib.stylix.colors.base0E+''"
|
||||||
base0F = "#''+config.lib.stylix.colors.base0F+''"
|
base0F = "#''+config.lib.stylix.colors.base0F+''"
|
||||||
|
|
||||||
# TODO stylix user CSS
|
|
||||||
# current_stylesheet_directory = '~/.config/qutebrowser/themes/'
|
|
||||||
# current_stylesheet = base16_theme+'-all-sites.css'
|
|
||||||
# current_stylesheet_path = current_stylesheet_directory + current_stylesheet
|
|
||||||
# config.set('content.user_stylesheets', current_stylesheet_path)
|
|
||||||
|
|
||||||
config.set('content.cookies.accept', 'no-3rdparty', 'chrome-devtools://*')
|
config.set('content.cookies.accept', 'no-3rdparty', 'chrome-devtools://*')
|
||||||
config.set('content.cookies.accept', 'no-3rdparty', 'devtools://*')
|
config.set('content.cookies.accept', 'no-3rdparty', 'devtools://*')
|
||||||
|
|
||||||
|
@ -96,16 +90,30 @@ config.set('fileselect.single_file.command', ['kitty','-e','ranger','--choosefil
|
||||||
config.set('fileselect.multiple_files.command', ['kitty','-e','ranger','--choosefiles={}'])
|
config.set('fileselect.multiple_files.command', ['kitty','-e','ranger','--choosefiles={}'])
|
||||||
config.set('fileselect.folder.command', ['kitty','-e','ranger','--choosedir={}'])
|
config.set('fileselect.folder.command', ['kitty','-e','ranger','--choosedir={}'])
|
||||||
|
|
||||||
|
# bindings from doom emacs
|
||||||
config.bind('<Alt-x>', 'cmd-set-text :')
|
config.bind('<Alt-x>', 'cmd-set-text :')
|
||||||
|
config.bind('<Ctrl-p>', 'completion-item-focus prev', mode='command')
|
||||||
|
config.bind('<Ctrl-n>', 'completion-item-focus next', mode='command')
|
||||||
|
|
||||||
|
# bindings from vimium
|
||||||
config.bind('t', 'open -t')
|
config.bind('t', 'open -t')
|
||||||
config.bind('x', 'tab-close')
|
config.bind('x', 'tab-close')
|
||||||
config.bind('yf', 'hint links yank')
|
config.bind('yf', 'hint links yank')
|
||||||
|
|
||||||
|
# spawn external programs
|
||||||
config.bind(',m', 'hint links spawn mpv {hint-url}')
|
config.bind(',m', 'hint links spawn mpv {hint-url}')
|
||||||
config.bind(',co', 'spawn container-open')
|
config.bind(',co', 'spawn container-open')
|
||||||
config.bind(',cf', 'hint links userscript container-open')
|
config.bind(',cf', 'hint links userscript container-open')
|
||||||
|
|
||||||
|
# TODO stylix user CSS
|
||||||
|
# current_stylesheet_directory = '~/.config/qutebrowser/themes/'
|
||||||
|
# current_stylesheet = base16_theme+'-all-sites.css'
|
||||||
|
# current_stylesheet_path = current_stylesheet_directory + current_stylesheet
|
||||||
|
# config.set('content.user_stylesheets', current_stylesheet_path)
|
||||||
#config.bind(',s', 'set content.user_stylesheets \'\' ')
|
#config.bind(',s', 'set content.user_stylesheets \'\' ')
|
||||||
#config.bind(',S', 'set content.user_stylesheets '+current_stylesheet_path)
|
#config.bind(',S', 'set content.user_stylesheets '+current_stylesheet_path)
|
||||||
|
|
||||||
|
# theming
|
||||||
c.colors.completion.fg = base05
|
c.colors.completion.fg = base05
|
||||||
c.colors.completion.odd.bg = base01
|
c.colors.completion.odd.bg = base01
|
||||||
c.colors.completion.even.bg = base00
|
c.colors.completion.even.bg = base00
|
||||||
|
|
Loading…
Reference in a new issue