Compare commits

..

No commits in common. "e76a49fd30773b544b216c8e313ec064cfa27cc9" and "130d637598638909fadc15fab3f00a699db9fba6" have entirely different histories.

3 changed files with 10 additions and 42 deletions

View file

@ -37,6 +37,12 @@ base0D = "#''+config.lib.stylix.colors.base0D+''"
base0E = "#''+config.lib.stylix.colors.base0E+''"
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', 'devtools://*')
@ -90,30 +96,16 @@ config.set('fileselect.single_file.command', ['kitty','-e','ranger','--choosefil
config.set('fileselect.multiple_files.command', ['kitty','-e','ranger','--choosefiles={}'])
config.set('fileselect.folder.command', ['kitty','-e','ranger','--choosedir={}'])
# bindings from doom emacs
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('x', 'tab-close')
config.bind('yf', 'hint links yank')
# spawn external programs
config.bind(',m', 'hint links spawn mpv {hint-url}')
config.bind(',co', 'spawn 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 '+current_stylesheet_path)
# theming
c.colors.completion.fg = base05
c.colors.completion.odd.bg = base01
c.colors.completion.even.bg = base00

View file

@ -777,7 +777,6 @@ same directory as the org-buffer and insert a link to this file."
(setq org-agenda-files (append org-agenda-files (org-roam-list-notes-by-tag "todos")))
)
;; Refreshing org roam agenda
(defun org-roam-refresh-agenda-list ()
(interactive)
(setq prev-org-roam-db-choice org-roam-db-choice)
@ -789,19 +788,8 @@ same directory as the org-buffer and insert a link to this file."
(org-roam-switch-db prev-org-roam-db-choice 1)
)
;; Build agenda only when org agenda first opened for session
(setq org-roam-agenda-initialized nil)
(defun org-roam-refresh-agenda-list-init ()
(if (not org-roam-agenda-initialized)
(funcall
(lambda ()
(org-roam-refresh-agenda-list)
(setq org-roam-agenda-initialized t)
)
)
)
)
(add-hook 'org-agenda-mode-hook 'org-roam-refresh-agenda-list-init)
;; Build agenda for first time during this session
(org-roam-refresh-agenda-list)
(map! :leader
:prefix ("o a")

View file

@ -910,7 +910,6 @@ exit
(setq org-agenda-files (append org-agenda-files (org-roam-list-notes-by-tag "todos")))
)
;; Refreshing org roam agenda
(defun org-roam-refresh-agenda-list ()
(interactive)
(setq prev-org-roam-db-choice org-roam-db-choice)
@ -922,19 +921,8 @@ exit
(org-roam-switch-db prev-org-roam-db-choice 1)
)
;; Build agenda only when org agenda first opened for session
(setq org-roam-agenda-initialized nil)
(defun org-roam-refresh-agenda-list-init ()
(if (not org-roam-agenda-initialized)
(funcall
(lambda ()
(org-roam-refresh-agenda-list)
(setq org-roam-agenda-initialized t)
)
)
)
)
(add-hook 'org-agenda-mode-hook 'org-roam-refresh-agenda-list-init)
;; Build agenda for first time during this session
(org-roam-refresh-agenda-list)
(map! :leader
:prefix ("o a")