This commit is contained in:
Pavel Korytov 2020-11-24 18:47:13 +03:00
parent a83efdaec5
commit 707ddaddfe
8 changed files with 2376 additions and 1146 deletions

1176
config/.emacs.d/emacs.org Normal file

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -1,12 +0,0 @@
(setq org-latex-compiler "xelatex")
(add-to-list 'org-latex-classes
'("extarticle"
"\\documentclass[a4paper, 14pt]{extarticle}"
("\\section{%s}" . "\\section*{%s}")
("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" . "\\subsubsection*{%s}")
("\\paragraph{%s}" . "\\paragraph*{%s}")
("\\subparagraph{%s}" . "\\subparagraph*{%s}"))
)
;; (setq org-latex-packages-alist (list))

View file

@ -1,60 +0,0 @@
(defun org-babel-tangle-collect-blocks-handle-tangle-list (&optional language tangle-file)
"Can be used as :override advice for `org-babel-tangle-collect-blocks'.
Handles lists of :tangle files."
(let ((counter 0) last-heading-pos blocks)
(org-babel-map-src-blocks (buffer-file-name)
(let ((current-heading-pos
(org-with-wide-buffer
(org-with-limited-levels (outline-previous-heading)))))
(if (eq last-heading-pos current-heading-pos) (cl-incf counter)
(setq counter 1)
(setq last-heading-pos current-heading-pos)))
(unless (org-in-commented-heading-p)
(let* ((info (org-babel-get-src-block-info 'light))
(src-lang (nth 0 info))
(src-tfiles (cdr (assq :tangle (nth 2 info))))) ; Tobias: accept list for :tangle
(unless (consp src-tfiles) ; Tobias: unify handling of strings and lists for :tangle
(setq src-tfiles (list src-tfiles))) ; Tobias: unify handling
(dolist (src-tfile src-tfiles) ; Tobias: iterate over list
(unless (or (string= src-tfile "no")
(and tangle-file (not (equal tangle-file src-tfile)))
(and language (not (string= language src-lang))))
;; Add the spec for this block to blocks under its
;; language.
(let ((by-lang (assoc src-lang blocks))
(block (org-babel-tangle-single-block counter)))
(setcdr (assoc :tangle (nth 4 block)) src-tfile) ; Tobias:
(if by-lang (setcdr by-lang (cons block (cdr by-lang)))
(push (cons src-lang (list block)) blocks)))))))) ; Tobias: just ()
;; Ensure blocks are in the correct order.
(mapcar (lambda (b) (cons (car b) (nreverse (cdr b)))) blocks)))
(defun org-babel-tangle-single-block-handle-tangle-list (oldfun block-counter &optional only-this-block)
"Can be used as :around advice for `org-babel-tangle-single-block'.
If the :tangle header arg is a list of files. Handle all files"
(let* ((info (org-babel-get-src-block-info))
(params (nth 2 info))
(tfiles (cdr (assoc :tangle params))))
(if (null (and only-this-block (consp tfiles)))
(funcall oldfun block-counter only-this-block)
(cl-assert (listp tfiles) nil
":tangle only allows a tangle file name or a list of tangle file names")
(let ((ret (mapcar
(lambda (tfile)
(let (old-get-info)
(cl-letf* (((symbol-function 'old-get-info) (symbol-function 'org-babel-get-src-block-info))
((symbol-function 'org-babel-get-src-block-info)
`(lambda (&rest get-info-args)
(let* ((info (apply 'old-get-info get-info-args))
(params (nth 2 info))
(tfile-cons (assoc :tangle params)))
(setcdr tfile-cons ,tfile)
info))))
(funcall oldfun block-counter only-this-block))))
tfiles)))
(if only-this-block
(list (cons (cl-caaar ret) (mapcar #'cadar ret)))
ret)))))
(advice-add 'org-babel-tangle-collect-blocks :override #'org-babel-tangle-collect-blocks-handle-tangle-list)
(advice-add 'org-babel-tangle-single-block :around #'org-babel-tangle-single-block-handle-tangle-list)

View file

@ -1,233 +0,0 @@
(deftheme palenight
"Created 2018-05-02.")
(custom-theme-set-variables
'palenight
'(ansi-color-names-vector ["#181A1F" "#ff5370" "#C3E88D" "#ffcb6b" "#82b1ff" "#c792ea" "#C3E88D" "#f8f8f2"])
'(fci-rule-color "#292D3E")
'(web-mode-enable-css-colorization t))
(custom-theme-set-faces
'palenight
'(bold ((((class color) (min-colors 257)) (:weight bold :foreground nil)) (((class color) (min-colors 256)) (:weight bold :foreground nil)) (((class color) (min-colors 16)) (:weight bold :foreground nil))))
'(italic ((t (:slant italic))))
'(bold-italic ((t (:inherit (bold italic)))))
'(fringe ((((class color) (min-colors 257)) (:inherit default :foreground "#565761")) (((class color) (min-colors 256)) (:inherit default :foreground "#3f3f3f")) (((class color) (min-colors 16)) (:inherit default :foreground "brightblack"))))
'(region ((((class color) (min-colors 257)) (:background "#4B5263" :foreground nil :distant-foreground "#989faa")) (((class color) (min-colors 256)) (:background "#262626" :foreground nil :distant-foreground "#242424")) (((class color) (min-colors 16)) (:background "brightblack" :foreground nil :distant-foreground "white"))))
'(highlight ((t (:background "#ff5370" :distant-foreground "#f8f8f2" :foreground "#181A1F"))))
'(cursor ((((class color) (min-colors 257)) (:background "#ff869a")) (((class color) (min-colors 256)) (:background "#ff869a")) (((class color) (min-colors 16)) (:background "brightmagenta"))))
'(shadow ((((class color) (min-colors 257)) (:foreground "#697098")) (((class color) (min-colors 256)) (:foreground "#525252")) (((class color) (min-colors 16)) (:foreground "brightblack"))))
'(minibuffer-prompt ((t (:foreground "#82b1ff"))))
'(tooltip ((((class color) (min-colors 257)) (:background "#4B5263" :foreground "#bfc7d5")) (((class color) (min-colors 256)) (:background "#262626" :foreground "#2d2d2d")) (((class color) (min-colors 16)) (:background "brightblack" :foreground "white"))))
'(secondary-selection ((((class color) (min-colors 257)) (:background "#565761")) (((class color) (min-colors 256)) (:background "#3f3f3f")) (((class color) (min-colors 16)) (:background "brightblack"))))
'(lazy-highlight ((t (:background "#697098" :distant-foreground "#181A1F" :foreground "#f8f8f2" :weight bold))))
'(match ((((class color) (min-colors 257)) (:foreground "#C3E88D" :background "#181A1F" :weight bold)) (((class color) (min-colors 256)) (:foreground "#89DDFF" :background "black" :weight bold)) (((class color) (min-colors 16)) (:foreground "green" :background "black" :weight bold))))
'(trailing-whitespace ((((class color) (min-colors 257)) (:background "#ff5370")) (((class color) (min-colors 256)) (:background "#ff869a")) (((class color) (min-colors 16)) (:background "red"))))
'(nobreak-space ((t (:inherit default :underline nil))))
'(vertical-border ((t (:background "#181A1F" :foreground "#181A1F"))))
'(link ((((class color) (min-colors 257)) (:foreground "#ff869a" :underline t :weight bold)) (((class color) (min-colors 256)) (:foreground "#ff869a" :underline t :weight bold)) (((class color) (min-colors 16)) (:foreground "brightmagenta" :underline t :weight bold))))
'(error ((t (:foreground "#ff5370"))))
'(warning ((((class color) (min-colors 257)) (:foreground "#ffcb6b")) (((class color) (min-colors 256)) (:foreground "#ffcb6b")) (((class color) (min-colors 16)) (:foreground "yellow"))))
'(success ((((class color) (min-colors 257)) (:foreground "#C3E88D")) (((class color) (min-colors 256)) (:foreground "#89DDFF")) (((class color) (min-colors 16)) (:foreground "green"))))
'(font-lock-builtin-face ((t (:foreground "##ff5370"))))
'(font-lock-comment-delimiter-face ((t (:inherit font-lock-comment-face))))
'(font-lock-constant-face ((((class color) (min-colors 257)) (:foreground "#ffcb6b")) (((class color) (min-colors 256)) (:foreground "#F78C6C")) (((class color) (min-colors 16)) (:foreground "brightred"))))
'(font-lock-function-name-face ((t (:foreground "#82b1ff"))))
'(font-lock-keyword-face ((t (:foreground "#c792ea"))))
'(font-lock-string-face ((((class color) (min-colors 257)) (:foreground "#C3E88D")) (((class color) (min-colors 256)) (:foreground "#89DDFF")) (((class color) (min-colors 16)) (:foreground "green"))))
'(font-lock-type-face ((((class color) (min-colors 257)) (:foreground "#ff5370")) (((class color) (min-colors 256)) (:foreground "#ff869a")) (((class color) (min-colors 16)) (:foreground "red"))))
'(font-lock-variable-name-face ((((class color) (min-colors 257)) (:foreground "#f8f8f2")) (((class color) (min-colors 256)) (:foreground "#dfdfdf")) (((class color) (min-colors 16)) (:foreground "white"))))
'(font-lock-warning-face ((t (:inherit warning))))
'(font-lock-negation-char-face ((((class color) (min-colors 257)) (:inherit bold :foreground "#82b1ff")) (((class color) (min-colors 256)) (:inherit bold :foreground "#82b1ff")) (((class color) (min-colors 16)) (:inherit bold :foreground "brightblue"))))
'(font-lock-preprocessor-face ((((class color) (min-colors 257)) (:inherit bold :foreground "#82b1ff")) (((class color) (min-colors 256)) (:inherit bold :foreground "#82b1ff")) (((class color) (min-colors 16)) (:inherit bold :foreground "brightblue"))))
'(font-lock-regexp-grouping-backslash ((((class color) (min-colors 257)) (:inherit bold :foreground "#82b1ff")) (((class color) (min-colors 256)) (:inherit bold :foreground "#82b1ff")) (((class color) (min-colors 16)) (:inherit bold :foreground "brightblue"))))
'(font-lock-regexp-grouping-construct ((((class color) (min-colors 257)) (:inherit bold :foreground "#82b1ff")) (((class color) (min-colors 256)) (:inherit bold :foreground "#82b1ff")) (((class color) (min-colors 16)) (:inherit bold :foreground "brightblue"))))
'(mode-line-highlight ((((class color) (min-colors 257)) (:inherit highlight :distant-foreground "#292D3E")) (((class color) (min-colors 256)) (:inherit highlight :distant-foreground nil)) (((class color) (min-colors 16)) (:inherit highlight :distant-foreground nil))))
'(mode-line-buffer-id ((t (:weight bold))))
'(header-line ((((class color) (min-colors 257)) (:inherit mode-line :distant-foreground "#292D3E")) (((class color) (min-colors 256)) (:inherit mode-line :distant-foreground nil)) (((class color) (min-colors 16)) (:inherit mode-line :distant-foreground nil))))
'(custom-button ((((class color) (min-colors 257)) (:foreground "#82b1ff" :background "#292D3E" :box (:line-width 1 :style none))) (((class color) (min-colors 256)) (:foreground "#82b1ff" :background nil :box (:line-width 1 :style none))) (((class color) (min-colors 16)) (:foreground "brightblue" :background nil :box (:line-width 1 :style none)))))
'(custom-button-unraised ((((class color) (min-colors 257)) (:foreground "#ff869a" :background "#292D3E" :box (:line-width 1 :style none))) (((class color) (min-colors 256)) (:foreground "#ff869a" :background nil :box (:line-width 1 :style none))) (((class color) (min-colors 16)) (:foreground "brightmagenta" :background nil :box (:line-width 1 :style none)))))
'(custom-button-pressed-unraised ((((class color) (min-colors 257)) (:foreground "#292D3E" :background "#ff869a" :box (:line-width 1 :style none))) (((class color) (min-colors 256)) (:foreground nil :background "#ff869a" :box (:line-width 1 :style none))) (((class color) (min-colors 16)) (:foreground nil :background "brightmagenta" :box (:line-width 1 :style none)))))
'(custom-button-pressed ((((class color) (min-colors 257)) (:foreground "#292D3E" :background "#82b1ff" :box (:line-width 1 :style none))) (((class color) (min-colors 256)) (:foreground nil :background "#82b1ff" :box (:line-width 1 :style none))) (((class color) (min-colors 16)) (:foreground nil :background "brightblue" :box (:line-width 1 :style none)))))
'(custom-button-mouse ((((class color) (min-colors 257)) (:foreground "#292D3E" :background "#82b1ff" :box (:line-width 1 :style none))) (((class color) (min-colors 256)) (:foreground nil :background "#82b1ff" :box (:line-width 1 :style none))) (((class color) (min-colors 16)) (:foreground nil :background "brightblue" :box (:line-width 1 :style none)))))
'(custom-variable-button ((((class color) (min-colors 257)) (:foreground "#C3E88D" :underline t)) (((class color) (min-colors 256)) (:foreground "#89DDFF" :underline t)) (((class color) (min-colors 16)) (:foreground "green" :underline t))))
'(custom-saved ((((class color) (min-colors 257)) (:foreground "#C3E88D" :background "#47524d" :bold t)) (((class color) (min-colors 256)) (:foreground "#89DDFF" :background nil :bold t)) (((class color) (min-colors 16)) (:foreground "green" :background nil :bold t))))
'(custom-comment ((((class color) (min-colors 257)) (:foreground "#bfc7d5" :background "#4B5263")) (((class color) (min-colors 256)) (:foreground "#2d2d2d" :background "#262626")) (((class color) (min-colors 16)) (:foreground "white" :background "brightblack"))))
'(custom-comment-tag ((((class color) (min-colors 257)) (:foreground "#565761")) (((class color) (min-colors 256)) (:foreground "#3f3f3f")) (((class color) (min-colors 16)) (:foreground "brightblack"))))
'(custom-modified ((((class color) (min-colors 257)) (:foreground "#82b1ff" :background "#3a4764")) (((class color) (min-colors 256)) (:foreground "#82b1ff" :background nil)) (((class color) (min-colors 16)) (:foreground "brightblue" :background nil))))
'(custom-variable-tag ((((class color) (min-colors 257)) (:foreground "#c792ea")) (((class color) (min-colors 256)) (:foreground "#c792ea")) (((class color) (min-colors 16)) (:foreground "magenta"))))
'(custom-visibility ((((class color) (min-colors 257)) (:foreground "#82b1ff" :underline nil)) (((class color) (min-colors 256)) (:foreground "#82b1ff" :underline nil)) (((class color) (min-colors 16)) (:foreground "brightblue" :underline nil))))
'(custom-group-subtitle ((((class color) (min-colors 257)) (:foreground "#ff5370")) (((class color) (min-colors 256)) (:foreground "#ff869a")) (((class color) (min-colors 16)) (:foreground "red"))))
'(custom-group-tag ((((class color) (min-colors 257)) (:foreground "#ff869a")) (((class color) (min-colors 256)) (:foreground "#ff869a")) (((class color) (min-colors 16)) (:foreground "brightmagenta"))))
'(custom-group-tag-1 ((t (:foreground "#ff5370"))))
'(custom-set ((((class color) (min-colors 257)) (:foreground "#ffcb6b" :background "#292D3E")) (((class color) (min-colors 256)) (:foreground "#ffcb6b" :background nil)) (((class color) (min-colors 16)) (:foreground "yellow" :background nil))))
'(custom-themed ((((class color) (min-colors 257)) (:foreground "#ffcb6b" :background "#292D3E")) (((class color) (min-colors 256)) (:foreground "#ffcb6b" :background nil)) (((class color) (min-colors 16)) (:foreground "yellow" :background nil))))
'(custom-invalid ((((class color) (min-colors 257)) (:foreground "#ff5370" :background "#533448")) (((class color) (min-colors 256)) (:foreground "#ff869a" :background nil)) (((class color) (min-colors 16)) (:foreground "red" :background nil))))
'(custom-state ((((class color) (min-colors 257)) (:foreground "#C3E88D" :background "#47524d")) (((class color) (min-colors 256)) (:foreground "#89DDFF" :background nil)) (((class color) (min-colors 16)) (:foreground "green" :background nil))))
'(custom-changed ((((class color) (min-colors 257)) (:foreground "#82b1ff" :background "#292D3E")) (((class color) (min-colors 256)) (:foreground "#82b1ff" :background nil)) (((class color) (min-colors 16)) (:foreground "brightblue" :background nil))))
'(dired-directory ((((class color) (min-colors 257)) (:foreground "#C3E88D")) (((class color) (min-colors 256)) (:foreground "#89DDFF")) (((class color) (min-colors 16)) (:foreground "green"))))
'(dired-ignored ((((class color) (min-colors 257)) (:foreground "#697098")) (((class color) (min-colors 256)) (:foreground "#525252")) (((class color) (min-colors 16)) (:foreground "brightblack"))))
'(dired-flagged ((((class color) (min-colors 257)) (:foreground "#ff5370")) (((class color) (min-colors 256)) (:foreground "#ff869a")) (((class color) (min-colors 16)) (:foreground "red"))))
'(dired-header ((((class color) (min-colors 257)) (:foreground "#82b1ff" :weight bold)) (((class color) (min-colors 256)) (:foreground "#82b1ff" :weight bold)) (((class color) (min-colors 16)) (:foreground "brightblue" :weight bold))))
'(dired-mark ((((class color) (min-colors 257)) (:foreground "#ffcb6b" :weight bold)) (((class color) (min-colors 256)) (:foreground "#F78C6C" :weight bold)) (((class color) (min-colors 16)) (:foreground "brightred" :weight bold))))
'(dired-marked ((((class color) (min-colors 257)) (:foreground "#c792ea" :weight bold)) (((class color) (min-colors 256)) (:foreground "#c792ea" :weight bold)) (((class color) (min-colors 16)) (:foreground "magenta" :weight bold))))
'(dired-perm-write ((((class color) (min-colors 257)) (:foreground "#bfc7d5" :underline t)) (((class color) (min-colors 256)) (:foreground "#2d2d2d" :underline t)) (((class color) (min-colors 16)) (:foreground "white" :underline t))))
'(dired-symlink ((((class color) (min-colors 257)) (:foreground "#C3E88D" :weight bold)) (((class color) (min-colors 256)) (:foreground "#C3E88D" :weight bold)) (((class color) (min-colors 16)) (:foreground "brightcyan" :weight bold))))
'(dired-warning ((((class color) (min-colors 257)) (:foreground "#ffcb6b")) (((class color) (min-colors 256)) (:foreground "#ffcb6b")) (((class color) (min-colors 16)) (:foreground "yellow"))))
'(flx-highlight-face ((((class color) (min-colors 257)) (:weight bold :foreground "#ffcb6b" :underline nil)) (((class color) (min-colors 256)) (:weight bold :foreground "#ffcb6b" :underline nil)) (((class color) (min-colors 16)) (:weight bold :foreground "yellow" :underline nil))))
'(hl-line ((t (:background "#3E4452"))))
'(ido-first-match ((((class color) (min-colors 257)) (:foreground "#ffcb6b")) (((class color) (min-colors 256)) (:foreground "#F78C6C")) (((class color) (min-colors 16)) (:foreground "brightred"))))
'(ido-indicator ((((class color) (min-colors 257)) (:foreground "#ff5370" :background "#292D3E")) (((class color) (min-colors 256)) (:foreground "#ff869a" :background nil)) (((class color) (min-colors 16)) (:foreground "red" :background nil))))
'(ido-only-match ((((class color) (min-colors 257)) (:foreground "#C3E88D")) (((class color) (min-colors 256)) (:foreground "#89DDFF")) (((class color) (min-colors 16)) (:foreground "green"))))
'(ido-subdir ((((class color) (min-colors 257)) (:foreground "#ff869a")) (((class color) (min-colors 256)) (:foreground "#ff869a")) (((class color) (min-colors 16)) (:foreground "brightmagenta"))))
'(ido-virtual ((((class color) (min-colors 257)) (:foreground "#697098")) (((class color) (min-colors 256)) (:foreground "#525252")) (((class color) (min-colors 16)) (:foreground "brightblack"))))
'(isearch ((((class color) (min-colors 257)) (:background "#ff869a" :foreground "#181A1F" :weight bold)) (((class color) (min-colors 256)) (:background "#ff869a" :foreground "black" :weight bold)) (((class color) (min-colors 16)) (:background "brightmagenta" :foreground "black" :weight bold))))
'(linum ((((class color) (min-colors 257)) (:inherit default :foreground "#565761" :distant-foreground nil :weight normal :italic nil :underline nil :strike-through nil)) (((class color) (min-colors 256)) (:inherit default :foreground "#3f3f3f" :distant-foreground nil :weight normal :italic nil :underline nil :strike-through nil)) (((class color) (min-colors 16)) (:inherit default :foreground "brightblack" :distant-foreground nil :weight normal :italic nil :underline nil :strike-through nil))))
'(message-header-subject ((((class color) (min-colors 257)) (:foreground "#f8f8f2")) (((class color) (min-colors 256)) (:foreground "#dfdfdf")) (((class color) (min-colors 16)) (:foreground "white"))))
'(message-header-name ((((class color) (min-colors 257)) (:foreground "#C3E88D")) (((class color) (min-colors 256)) (:foreground "#89DDFF")) (((class color) (min-colors 16)) (:foreground "green"))))
'(message-header-to ((((class color) (min-colors 257)) (:foreground "#697098")) (((class color) (min-colors 256)) (:foreground "#525252")) (((class color) (min-colors 16)) (:foreground "brightblack"))))
'(message-header-other ((((class color) (min-colors 257)) (:foreground "#697098")) (((class color) (min-colors 256)) (:foreground "#525252")) (((class color) (min-colors 16)) (:foreground "brightblack"))))
'(window-divider ((t (:inherit vertical-border))))
'(window-divider-first-pixel ((t (:inherit window-divider))))
'(window-divider-last-pixel ((t (:inherit window-divider))))
'(diff-added ((((class color) (min-colors 257)) (:inherit hl-line :foreground "#C3E88D")) (((class color) (min-colors 256)) (:inherit hl-line :foreground "#89DDFF")) (((class color) (min-colors 16)) (:inherit hl-line :foreground "green"))))
'(diff-changed ((((class color) (min-colors 257)) (:foreground "#ff869a")) (((class color) (min-colors 256)) (:foreground "#ff869a")) (((class color) (min-colors 16)) (:foreground "brightmagenta"))))
'(diff-removed ((((class color) (min-colors 257)) (:foreground "#ff5370" :background "#4B5263")) (((class color) (min-colors 256)) (:foreground "#ff869a" :background "#262626")) (((class color) (min-colors 16)) (:foreground "red" :background "brightblack"))))
'(diff-header ((((class color) (min-colors 257)) (:foreground "#C3E88D" :background nil)) (((class color) (min-colors 256)) (:foreground "#C3E88D" :background nil)) (((class color) (min-colors 16)) (:foreground "brightcyan" :background nil))))
'(diff-file-header ((((class color) (min-colors 257)) (:foreground "#82b1ff" :background nil)) (((class color) (min-colors 256)) (:foreground "#82b1ff" :background nil)) (((class color) (min-colors 16)) (:foreground "brightblue" :background nil))))
'(diff-hunk-header ((((class color) (min-colors 257)) (:foreground "#ff869a")) (((class color) (min-colors 256)) (:foreground "#ff869a")) (((class color) (min-colors 16)) (:foreground "brightmagenta"))))
'(diff-refine-added ((t (:inherit diff-added :inverse-video t))))
'(diff-refine-changed ((t (:inherit diff-changed :inverse-video t))))
'(diff-refine-removed ((t (:inherit diff-removed :inverse-video t))))
'(evil-ex-info ((((class color) (min-colors 257)) (:foreground "#ff5370" :slant italic)) (((class color) (min-colors 256)) (:foreground "#ff869a" :slant italic)) (((class color) (min-colors 16)) (:foreground "red" :slant italic))))
'(evil-ex-substitute-matches ((((class color) (min-colors 257)) (:background "#181A1F" :foreground "#ff5370" :strike-through t :weight bold)) (((class color) (min-colors 256)) (:background "black" :foreground "#ff869a" :strike-through t :weight bold)) (((class color) (min-colors 16)) (:background "black" :foreground "red" :strike-through t :weight bold))))
'(evil-ex-substitute-replacement ((((class color) (min-colors 257)) (:background "#181A1F" :foreground "#C3E88D" :weight bold)) (((class color) (min-colors 256)) (:background "black" :foreground "#89DDFF" :weight bold)) (((class color) (min-colors 16)) (:background "black" :foreground "green" :weight bold))))
'(evil-search-highlight-persist-highlight-face ((t (:inherit lazy-highlight))))
'(flyspell-incorrect ((((class color) (min-colors 257)) (:underline (:style wave :color "#ff5370") :inherit unspecified)) (((class color) (min-colors 256)) (:underline (:style wave :color "#ff869a") :inherit unspecified)) (((class color) (min-colors 16)) (:underline (:style wave :color "red") :inherit unspecified))))
'(helm-selection ((((class color) (min-colors 257) (background dark)) (:inherit bold :background "#32374D" :distant-foreground "#181A1F")) (((class color) (min-colors 256) (background dark)) (:inherit bold :background "#82b1ff" :distant-foreground "#ff869a")) (((class color) (min-colors 16) (background dark)) (:inherit bold :background "blue" :distant-foreground "brightmagenta")) (((class color) (min-colors 257) (background light)) (:inherit bold :background "#82b1ff" :distant-foreground "#181A1F")) (((class color) (min-colors 256) (background light)) (:inherit bold :background "#82b1ff" :distant-foreground "black")) (((class color) (min-colors 16) (background light)) (:inherit bold :background "blue" :distant-foreground "black"))))
'(helm-match ((t (:distant-foreground "#f8f8f2" :foreground "#ff5370" :underline t))))
'(helm-source-header ((((class color) (min-colors 257)) (:background "#3B4048" :foreground "#697098")) (((class color) (min-colors 256)) (:background "#2e2e2e" :foreground "#525252")) (((class color) (min-colors 16)) (:background "brightblack" :foreground "brightblack"))))
'(helm-visible-mark ((t (:inherit (bold highlight)))))
'(helm-ff-file ((((class color) (min-colors 257)) (:foreground "#bfc7d5")) (((class color) (min-colors 256)) (:foreground "#2d2d2d")) (((class color) (min-colors 16)) (:foreground "white"))))
'(helm-ff-prefix ((((class color) (min-colors 257)) (:foreground "#82b1ff")) (((class color) (min-colors 256)) (:foreground "#44b9b1")) (((class color) (min-colors 16)) (:foreground "brightgreen"))))
'(helm-ff-dotted-directory ((((class color) (min-colors 257)) (:foreground "#565761")) (((class color) (min-colors 256)) (:foreground "#3f3f3f")) (((class color) (min-colors 16)) (:foreground "brightblack"))))
'(helm-ff-directory ((((class color) (min-colors 257)) (:foreground "#f8f8f2")) (((class color) (min-colors 256)) (:foreground "#dfdfdf")) (((class color) (min-colors 16)) (:foreground "white"))))
'(helm-ff-executable ((((class color) (min-colors 257)) (:foreground "#f8f8f2" :inherit italic)) (((class color) (min-colors 256)) (:foreground "#dfdfdf" :inherit italic)) (((class color) (min-colors 16)) (:foreground "white" :inherit italic))))
'(helm-grep-match ((t (:distant-foreground "#ff5370" :foreground "#FF5370"))))
'(helm-grep-file ((((class color) (min-colors 257)) (:foreground "#82b1ff")) (((class color) (min-colors 256)) (:foreground "#44b9b1")) (((class color) (min-colors 16)) (:foreground "brightgreen"))))
'(helm-grep-lineno ((((class color) (min-colors 257)) (:foreground "#697098")) (((class color) (min-colors 256)) (:foreground "#525252")) (((class color) (min-colors 16)) (:foreground "brightblack"))))
'(helm-grep-finish ((((class color) (min-colors 257)) (:foreground "#C3E88D")) (((class color) (min-colors 256)) (:foreground "#89DDFF")) (((class color) (min-colors 16)) (:foreground "green"))))
'(highlight-numbers-number ((((class color) (min-colors 257)) (:inherit bold :foreground "#ff5370")) (((class color) (min-colors 256)) (:inherit bold :foreground "#ff869a")) (((class color) (min-colors 16)) (:inherit bold :foreground "red"))))
'(hl-todo ((((class color) (min-colors 257)) (:foreground "#ff5370" :weight bold)) (((class color) (min-colors 256)) (:foreground "#ff869a" :weight bold)) (((class color) (min-colors 16)) (:foreground "red" :weight bold))))
'(hydra-face-red ((((class color) (min-colors 257)) (:foreground "#ff5370" :weight bold)) (((class color) (min-colors 256)) (:foreground "#ff869a" :weight bold)) (((class color) (min-colors 16)) (:foreground "red" :weight bold))))
'(hydra-face-blue ((((class color) (min-colors 257)) (:foreground "#82b1ff" :weight bold)) (((class color) (min-colors 256)) (:foreground "#82b1ff" :weight bold)) (((class color) (min-colors 16)) (:foreground "brightblue" :weight bold))))
'(hydra-face-amaranth ((((class color) (min-colors 257)) (:foreground "#c792ea" :weight bold)) (((class color) (min-colors 256)) (:foreground "#c792ea" :weight bold)) (((class color) (min-colors 16)) (:foreground "magenta" :weight bold))))
'(hydra-face-pink ((((class color) (min-colors 257)) (:foreground "#ff869a" :weight bold)) (((class color) (min-colors 256)) (:foreground "#ff869a" :weight bold)) (((class color) (min-colors 16)) (:foreground "brightmagenta" :weight bold))))
'(hydra-face-teal ((((class color) (min-colors 257)) (:foreground "#82b1ff" :weight bold)) (((class color) (min-colors 256)) (:foreground "#44b9b1" :weight bold)) (((class color) (min-colors 16)) (:foreground "brightgreen" :weight bold))))
'(imenu-list-entry-face-0 ((((class color) (min-colors 257)) (:foreground "#ff869a")) (((class color) (min-colors 256)) (:foreground "#ff869a")) (((class color) (min-colors 16)) (:foreground "brightmagenta"))))
'(imenu-list-entry-subalist-face-0 ((t (:inherit imenu-list-entry-face-0 :weight bold))))
'(imenu-list-entry-face-1 ((((class color) (min-colors 257)) (:foreground "#C3E88D")) (((class color) (min-colors 256)) (:foreground "#89DDFF")) (((class color) (min-colors 16)) (:foreground "green"))))
'(imenu-list-entry-subalist-face-1 ((t (:inherit imenu-list-entry-face-1 :weight bold))))
'(imenu-list-entry-face-2 ((((class color) (min-colors 257)) (:foreground "#ffcb6b")) (((class color) (min-colors 256)) (:foreground "#ffcb6b")) (((class color) (min-colors 16)) (:foreground "yellow"))))
'(imenu-list-entry-subalist-face-2 ((t (:inherit imenu-list-entry-face-2 :weight bold))))
'(linum-relative-current-face ((((class color) (min-colors 257)) (:inherit hl-line :foreground "#bfc7d5" :distant-foreground nil :weight normal :italic nil :underline nil :strike-through nil)) (((class color) (min-colors 256)) (:inherit hl-line :foreground "#2d2d2d" :distant-foreground nil :weight normal :italic nil :underline nil :strike-through nil)) (((class color) (min-colors 16)) (:inherit hl-line :foreground "white" :distant-foreground nil :weight normal :italic nil :underline nil :strike-through nil))))
'(rainbow-delimiters-depth-1-face ((((class color) (min-colors 257)) (:foreground "#82b1ff")) (((class color) (min-colors 256)) (:foreground "#82b1ff")) (((class color) (min-colors 16)) (:foreground "brightblue"))))
'(rainbow-delimiters-depth-2-face ((((class color) (min-colors 257)) (:foreground "#c792ea")) (((class color) (min-colors 256)) (:foreground "#c792ea")) (((class color) (min-colors 16)) (:foreground "magenta"))))
'(rainbow-delimiters-depth-3-face ((((class color) (min-colors 257)) (:foreground "#C3E88D")) (((class color) (min-colors 256)) (:foreground "#89DDFF")) (((class color) (min-colors 16)) (:foreground "green"))))
'(rainbow-delimiters-depth-4-face ((((class color) (min-colors 257)) (:foreground "#ffcb6b")) (((class color) (min-colors 256)) (:foreground "#F78C6C")) (((class color) (min-colors 16)) (:foreground "brightred"))))
'(rainbow-delimiters-depth-5-face ((((class color) (min-colors 257)) (:foreground "#ff869a")) (((class color) (min-colors 256)) (:foreground "#ff869a")) (((class color) (min-colors 16)) (:foreground "brightmagenta"))))
'(rainbow-delimiters-depth-6-face ((((class color) (min-colors 257)) (:foreground "#ffcb6b")) (((class color) (min-colors 256)) (:foreground "#ffcb6b")) (((class color) (min-colors 16)) (:foreground "yellow"))))
'(rainbow-delimiters-depth-7-face ((((class color) (min-colors 257)) (:foreground "#82b1ff")) (((class color) (min-colors 256)) (:foreground "#44b9b1")) (((class color) (min-colors 16)) (:foreground "brightgreen"))))
'(rainbow-delimiters-unmatched-face ((t (:foreground "#ff5370" :inverse-video t :weight bold))))
'(rainbow-delimiters-mismatched-face ((t (:inherit rainbow-delimiters-unmatched-face))))
'(reb-match-0 ((((class color) (min-colors 257)) (:foreground "#ffcb6b" :inverse-video t)) (((class color) (min-colors 256)) (:foreground "#F78C6C" :inverse-video t)) (((class color) (min-colors 16)) (:foreground "brightred" :inverse-video t))))
'(reb-match-1 ((((class color) (min-colors 257)) (:foreground "#c792ea" :inverse-video t)) (((class color) (min-colors 256)) (:foreground "#c792ea" :inverse-video t)) (((class color) (min-colors 16)) (:foreground "magenta" :inverse-video t))))
'(reb-match-2 ((((class color) (min-colors 257)) (:foreground "#C3E88D" :inverse-video t)) (((class color) (min-colors 256)) (:foreground "#89DDFF" :inverse-video t)) (((class color) (min-colors 16)) (:foreground "green" :inverse-video t))))
'(reb-match-3 ((((class color) (min-colors 257)) (:foreground "#ffcb6b" :inverse-video t)) (((class color) (min-colors 256)) (:foreground "#ffcb6b" :inverse-video t)) (((class color) (min-colors 16)) (:foreground "yellow" :inverse-video t))))
'(show-paren-match ((((class color) (min-colors 257)) (:foreground "#ff5370" :background "#181A1F" :weight ultra-bold)) (((class color) (min-colors 256)) (:foreground "#ff869a" :background "black" :weight ultra-bold)) (((class color) (min-colors 16)) (:foreground "red" :background "black" :weight ultra-bold))))
'(show-paren-mismatch ((((class color) (min-colors 257)) (:foreground "#181A1F" :background "#ff5370" :weight ultra-bold)) (((class color) (min-colors 256)) (:foreground "black" :background "#ff869a" :weight ultra-bold)) (((class color) (min-colors 16)) (:foreground "black" :background "red" :weight ultra-bold))))
'(sp-pair-overlay-face ((((class color) (min-colors 257)) (:background "#4B5263")) (((class color) (min-colors 256)) (:background "#262626")) (((class color) (min-colors 16)) (:background "brightblack"))))
'(sp-show-pair-match-face ((((class color) (min-colors 257)) (:foreground "#ff5370" :background "#181A1F" :weight ultra-bold)) (((class color) (min-colors 256)) (:foreground "#ff869a" :background "black" :weight ultra-bold)) (((class color) (min-colors 16)) (:foreground "red" :background "black" :weight ultra-bold))))
'(sp-show-pair-mismatch-face ((((class color) (min-colors 257)) (:foreground "#181A1F" :background "#ff5370" :weight ultra-bold)) (((class color) (min-colors 256)) (:foreground "black" :background "#ff869a" :weight ultra-bold)) (((class color) (min-colors 16)) (:foreground "black" :background "red" :weight ultra-bold))))
'(undo-tree-visualizer-default-face ((((class color) (min-colors 257)) (:foreground "#697098")) (((class color) (min-colors 256)) (:foreground "#525252")) (((class color) (min-colors 16)) (:foreground "brightblack"))))
'(undo-tree-visualizer-current-face ((((class color) (min-colors 257)) (:foreground "#C3E88D" :weight bold)) (((class color) (min-colors 256)) (:foreground "#89DDFF" :weight bold)) (((class color) (min-colors 16)) (:foreground "green" :weight bold))))
'(undo-tree-visualizer-unmodified-face ((((class color) (min-colors 257)) (:foreground "#697098")) (((class color) (min-colors 256)) (:foreground "#525252")) (((class color) (min-colors 16)) (:foreground "brightblack"))))
'(undo-tree-visualizer-active-branch-face ((((class color) (min-colors 257)) (:foreground "#82b1ff")) (((class color) (min-colors 256)) (:foreground "#82b1ff")) (((class color) (min-colors 16)) (:foreground "brightblue"))))
'(undo-tree-visualizer-register-face ((((class color) (min-colors 257)) (:foreground "#ffcb6b")) (((class color) (min-colors 256)) (:foreground "#ffcb6b")) (((class color) (min-colors 16)) (:foreground "yellow"))))
'(vhl/default-face ((((class color) (min-colors 257)) (:background "#565761")) (((class color) (min-colors 256)) (:background "#3f3f3f")) (((class color) (min-colors 16)) (:background "brightblack"))))
'(which-key-key-face ((((class color) (min-colors 257)) (:foreground "#C3E88D")) (((class color) (min-colors 256)) (:foreground "#89DDFF")) (((class color) (min-colors 16)) (:foreground "green"))))
'(which-key-group-description-face ((((class color) (min-colors 257)) (:foreground "#ff869a")) (((class color) (min-colors 256)) (:foreground "#ff869a")) (((class color) (min-colors 16)) (:foreground "brightmagenta"))))
'(which-key-command-description-face ((((class color) (min-colors 257)) (:foreground "#82b1ff")) (((class color) (min-colors 256)) (:foreground "#82b1ff")) (((class color) (min-colors 16)) (:foreground "brightblue"))))
'(which-key-local-map-description-face ((((class color) (min-colors 257)) (:foreground "#c792ea")) (((class color) (min-colors 256)) (:foreground "#c792ea")) (((class color) (min-colors 16)) (:foreground "magenta"))))
'(outline-1 ((t (:inherit org-level-1))))
'(outline-2 ((t (:inherit org-level-2))))
'(outline-3 ((t (:inherit org-level-3))))
'(outline-4 ((t (:inherit org-level-4))))
'(outline-5 ((t (:inherit org-level-5))))
'(outline-6 ((t (:inherit org-level-6))))
'(outline-7 ((t (:inherit org-level-7))))
'(outline-8 ((t (:inherit org-level-8))))
'(web-mode-doctype-face ((((class color) (min-colors 257)) (:foreground "#697098")) (((class color) (min-colors 256)) (:foreground "#525252")) (((class color) (min-colors 16)) (:foreground "brightblack"))))
'(web-mode-html-tag-face ((t (:foreground "#ff5370"))))
'(web-mode-html-attr-name-face ((t (:foreground "#ffcb6b"))))
'(web-mode-html-entity-face ((((class color) (min-colors 257)) (:foreground "#C3E88D" :inherit italic)) (((class color) (min-colors 256)) (:foreground "#C3E88D" :inherit italic)) (((class color) (min-colors 16)) (:foreground "brightcyan" :inherit italic))))
'(web-mode-block-control-face ((((class color) (min-colors 257)) (:foreground "#ffcb6b")) (((class color) (min-colors 256)) (:foreground "#F78C6C")) (((class color) (min-colors 16)) (:foreground "brightred"))))
'(web-mode-html-tag-bracket-face ((((class color) (min-colors 257)) (:foreground "#82b1ff")) (((class color) (min-colors 256)) (:foreground "#82b1ff")) (((class color) (min-colors 16)) (:foreground "brightblue"))))
'(font-lock-comment-face ((((class color) (min-colors 257)) (:slant italic :background nil :foreground "#697098")) (((class color) (min-colors 256)) (:background nil :foreground "#525252")) (((class color) (min-colors 16)) (:background nil :foreground "brightblack"))))
'(font-lock-doc-face ((((class color) (min-colors 257)) (:slant italic :foreground "#8e93b1" :inherit font-lock-comment-face)) (((class color) (min-colors 256)) (:foreground "#7d7d7d" :inherit font-lock-comment-face)) (((class color) (min-colors 16)) (:foreground "brightblack" :inherit font-lock-comment-face))))
'(mode-line ((((class color) (min-colors 257)) (:box nil :foreground nil :background "#181A1F")) (((class color) (min-colors 256)) (:box nil :foreground nil :background "black")) (((class color) (min-colors 16)) (:box nil :foreground nil :background "black"))))
'(mode-line-inactive ((t (:background "#292D3E" :foreground "#697098" :box nil))))
'(mode-line-emphasis ((((class color) (min-colors 257)) (:foreground "#ff869a")) (((class color) (min-colors 256)) (:foreground "#ff869a")) (((class color) (min-colors 16)) (:foreground "brightmagenta"))))
'(web-mode-css-property-name-face ((t (:foreground "#ffcb6b" :inherit font-lock-variable-name-face))))
'(web-mode-css-selector-face ((t (:inherit font-lock-keyword-face :foreground "#ff5370"))))
'(web-mode-css-variable-face ((t (:inherit web-mode-variable-name-face :foreground "#bfc7d5" :slant italic))))
'(web-mode-css-function-face ((t (:inherit font-lock-builtin-face :foreground "#82b1ff"))))
'(web-mode-css-priority-face ((t (:inherit (font-lock-builtin-face)))))
'(js2-function-call ((t (:foreground "#89DDFF"))))
'(js2-external-variable ((t (:foreground "#bfc7d5"))))
'(js2-jsdoc-tag ((t (:foreground "#697098" :slant italic))))
'(js2-jsdoc-value ((t (:foreground "PeachPuff3" :slant italic))))
'(js2-jsdoc-type ((t (:foreground "#697098" :slant italic))))
'(js2-jsdoc-html-tag-delimiter ((((class color) (min-colors 88) (background light)) (:foreground "dark khaki")) (((class color) (min-colors 8) (background dark)) (:foreground "green")) (((class color) (min-colors 8) (background light)) (:foreground "green"))))
'(js2-jsdoc-html-tag-name ((((class color) (min-colors 88) (background light)) (:foreground "rosybrown")) (((class color) (min-colors 8) (background dark)) (:foreground "yellow")) (((class color) (min-colors 8) (background light)) (:foreground "magenta"))))
'(underline ((t (:underline (:color foreground-color :style line)))))
'(spaceline-evil-normal ((t (:background "#ffcb6b" :foreground "#3E3D31" :inherit (quote mode-line)))))
'(spaceline-read-only ((t (:inherit (quote mode-line) :foreground "#3E3D31" :background "plum3"))))
'(spaceline-evil-visual ((t (:inherit (quote mode-line) :foreground "#3E3D31" :background "gray"))))
'(spaceline-flycheck-info ((t (:distant-foreground "#21889B" :foreground "#8DE6F7"))))
'(spaceline-evil-emacs ((t (:inherit (quote mode-line) :foreground "#3E3D31" :background "SkyBlue2"))))
'(spaceline-modified ((t (:inherit (quote mode-line) :foreground "#3E3D31" :background "SkyBlue2"))))
'(spaceline-flycheck-error ((t (:distant-foreground "#A20C41" :foreground "#FC5C94"))))
'(spaceline-evil-motion ((t (:inherit (quote mode-line) :foreground "#3E3D31" :background "plum3"))))
'(spaceline-unmodified ((t (:inherit (quote mode-line) :foreground "#3E3D31" :background "DarkGoldenrod2"))))
'(spaceline-evil-insert ((t (:inherit (quote mode-line) :foreground "#3E3D31" :background "#C3E88D"))))
'(spaceline-highlight-face ((t (:inherit (quote mode-line) :foreground "#3E3D31" :background "DarkGoldenrod2"))))
'(spaceline-python-venv ((t (:distant-foreground "DarkMagenta" :foreground "plum1"))))
'(magit-section-highlight ((t (:background "#33384d"))))
'(magit-section-heading ((t (:foreground "#ffcb6b" :weight bold))))
'(magit-section-secondary-heading ((t (:weight bold))))
'(magit-section-heading-selection ((((class color) (background light)) (:foreground "salmon4")) (((class color) (background dark)) (:foreground "LightSalmon3"))))
'(magit-branch-remote ((t (:foreground "#C3E88D"))))
'(magit-branch-local ((t (:foreground "#82b1ff"))))
'(magit-diff-hunk-heading-highlight ((t (:background "#4B5263"))))
'(magit-diff-hunk-heading ((t (:background "#4B5263"))))
'(magit-diff-hunk-heading-selection ((t (:inherit magit-diff-hunk-heading-highlight :foreground "#ff869a"))))
'(magit-diff-base ((t (:background "#3E4452" :foreground "#ffffff"))))
'(magit-diff-context-highlight ((t (:background "#4B5263" :foreground "#ffffff"))))
'(magit-diff-added ((t (:background "#3c4c38" :foreground "#ffffff"))))
'(magit-diff-removed ((t (:background "#482424" :foreground "#ffffff"))))
'(magit-diff-added-highlight ((t (:background "#4d7543" :foreground "#ffffff"))))
'(magit-diff-removed-highlight ((t (:background "#663333" :foreground "#ffffff"))))
'(default ((t (:background "#292D3E" :foreground "#bfc7d5"))))
'(org-level-1 ((t (:foreground "#c792ea" :weight bold :height 1.2))))
'(org-level-2 ((t (:foreground "#ff5370" :weight bold :height 1.1))))
'(org-level-3 ((t (:foreground "#ffcb6b"))))
'(org-level-4 ((t (:foreground "#82b1ff"))))
'(org-level-5 ((t (:foreground "#ff869a"))))
'(org-level-6 ((t (:inherit (outline-6)))))
'(org-level-7 ((t (:inherit (outline-7)))))
'(org-table ((((class color) (min-colors 88) (background light)) (:foreground "Blue1")) (((class color) (min-colors 88) (background dark)) (:foreground "LightSkyBlue")) (((class color) (min-colors 16) (background light)) (:foreground "Blue")) (((class color) (min-colors 16) (background dark)) (:foreground "LightSkyBlue")) (((class color) (min-colors 8) (background light)) (:foreground "blue")) (((class color) (min-colors 8) (background dark)) nil)))
'(org-todo ((t (:foreground "#89DDFF" :weight bold))))
'(org-done ((t (:foreground "#C3E88D" :weight bold)))))
(provide-theme 'palenight)

View file

@ -1,19 +0,0 @@
(defun zoom-in ()
"Increase font size by 10 points"
(interactive)
(set-face-attribute 'default nil
:height
(+ (face-attribute 'default :height)
10)))
(defun zoom-out ()
"Decrease font size by 10 points"
(interactive)
(set-face-attribute 'default nil
:height
(- (face-attribute 'default :height)
10)))
;; change font size, interactively
(global-set-key (kbd "C-+") 'zoom-in)
(global-set-key (kbd "C-=") 'zoom-out)

424
config/picom.conf Normal file
View file

@ -0,0 +1,424 @@
#################################
# Shadows #
#################################
# Enabled client-side shadows on windows. Note desktop windows
# (windows with '_NET_WM_WINDOW_TYPE_DESKTOP') never get shadow,
# unless explicitly requested using the wintypes option.
#
# shadow = false
shadow = true;
# The blur radius for shadows, in pixels. (defaults to 12)
# shadow-radius = 12
shadow-radius = 2;
# The opacity of shadows. (0.0 - 1.0, defaults to 0.75)
# shadow-opacity = .75
# The left offset for shadows, in pixels. (defaults to -15)
# shadow-offset-x = -15
shadow-offset-x = -2;
# The top offset for shadows, in pixels. (defaults to -15)
# shadow-offset-y = -15
shadow-offset-y = -2;
# Avoid drawing shadows on dock/panel windows. This option is deprecated,
# you should use the *wintypes* option in your config file instead.
#
# no-dock-shadow = false
# Don't draw shadows on drag-and-drop windows. This option is deprecated,
# you should use the *wintypes* option in your config file instead.
#
# no-dnd-shadow = false
# Red color value of shadow (0.0 - 1.0, defaults to 0).
# shadow-red = 0
# Green color value of shadow (0.0 - 1.0, defaults to 0).
# shadow-green = 0
# Blue color value of shadow (0.0 - 1.0, defaults to 0).
# shadow-blue = 0
# Do not paint shadows on shaped windows. Note shaped windows
# here means windows setting its shape through X Shape extension.
# Those using ARGB background is beyond our control.
# Deprecated, use
# shadow-exclude = 'bounding_shaped'
# or
# shadow-exclude = 'bounding_shaped && !rounded_corners'
# instead.
#
# shadow-ignore-shaped = ''
# Specify a list of conditions of windows that should have no shadow.
#
# examples:
# shadow-exclude = "n:e:Notification";
#
# shadow-exclude = []
shadow-exclude = [
"name = 'Notification'",
"class_g = 'Conky'",
"name ?= 'cpt_frame_window'",
"class_g ?= 'Notify-osd'",
"class_g = 'Cairo-clock'",
"_GTK_FRAME_EXTENTS@:c"
];
# Specify a X geometry that describes the region in which shadow should not
# be painted in, such as a dock window region. Use
# shadow-exclude-reg = "x10+0+0"
# for example, if the 10 pixels on the bottom of the screen should not have shadows painted on.
#
# shadow-exclude-reg = ""
# Crop shadow of a window fully on a particular Xinerama screen to the screen.
# xinerama-shadow-crop = false
#################################
# Fading #
#################################
# Fade windows in/out when opening/closing and when opacity changes,
# unless no-fading-openclose is used.
# fading = false
fading = true
# Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028)
# fade-in-step = 0.028
fade-in-step = 0.03;
# Opacity change between steps while fading out. (0.01 - 1.0, defaults to 0.03)
# fade-out-step = 0.03
fade-out-step = 0.03;
# The time between steps in fade step, in milliseconds. (> 0, defaults to 10)
# fade-delta = 10
# Specify a list of conditions of windows that should not be faded.
# fade-exclude = []
# Do not fade on window open/close.
# no-fading-openclose = false
# Do not fade destroyed ARGB windows with WM frame. Workaround of bugs in Openbox, Fluxbox, etc.
# no-fading-destroyed-argb = false
#################################
# Transparency / Opacity #
#################################
# Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0)
# inactive-opacity = 1
inactive-opacity = 1;
# Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default)
# frame-opacity = 1.0
frame-opacity = 1.0;
# Default opacity for dropdown menus and popup menus. (0.0 - 1.0, defaults to 1.0)
# menu-opacity = 1.0
# Let inactive opacity set by -i override the '_NET_WM_OPACITY' values of windows.
# inactive-opacity-override = true
inactive-opacity-override = false;
# Default opacity for active windows. (0.0 - 1.0, defaults to 1.0)
# active-opacity = 1.0
# Dim inactive windows. (0.0 - 1.0, defaults to 0.0)
# inactive-dim = 0.0
# Specify a list of conditions of windows that should always be considered focused.
# focus-exclude = []
focus-exclude = [ "class_g = 'Cairo-clock'" ];
# Use fixed inactive dim value, instead of adjusting according to window opacity.
# inactive-dim-fixed = 1.0
# Specify a list of opacity rules, in the format `PERCENT:PATTERN`,
# like `50:name *= "Firefox"`. picom-trans is recommended over this.
# Note we don't make any guarantee about possible conflicts with other
# programs that set '_NET_WM_WINDOW_OPACITY' on frame or client windows.
# example:
# opacity-rule = [ "80:class_g = 'URxvt'" ];
#
# opacity-rule = []
#################################
# Background-Blurring #
#################################
# Parameters for background blurring, see the *BLUR* section for more information.
# blur-method =
# blur-size = 12
#
# blur-deviation = false
# Blur background of semi-transparent / ARGB windows.
# Bad in performance, with driver-dependent behavior.
# The name of the switch may change without prior notifications.
#
# blur-background = false
# Blur background of windows when the window frame is not opaque.
# Implies:
# blur-background
# Bad in performance, with driver-dependent behavior. The name may change.
#
# blur-background-frame = false
# Use fixed blur strength rather than adjusting according to window opacity.
# blur-background-fixed = false
# Specify the blur convolution kernel, with the following format:
# example:
# blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1";
#
# blur-kern = ''
blur-kern = "3x3box";
# Exclude conditions for background blur.
# blur-background-exclude = []
blur-background-exclude = [
"window_type = 'dock'",
"window_type = 'desktop'",
"_GTK_FRAME_EXTENTS@:c"
];
#################################
# General Settings #
#################################
# Daemonize process. Fork to background after initialization. Causes issues with certain (badly-written) drivers.
# daemon = false
# Specify the backend to use: `xrender`, `glx`, or `xr_glx_hybrid`.
# `xrender` is the default one.
#
# backend = 'glx'
backend = "xrender";
# Enable/disable VSync.
# vsync = false
vsync = true
# Enable remote control via D-Bus. See the *D-BUS API* section below for more details.
# dbus = false
# Try to detect WM windows (a non-override-redirect window with no
# child that has 'WM_STATE') and mark them as active.
#
# mark-wmwin-focused = false
mark-wmwin-focused = true;
# Mark override-redirect windows that doesn't have a child window with 'WM_STATE' focused.
# mark-ovredir-focused = false
mark-ovredir-focused = true;
# Try to detect windows with rounded corners and don't consider them
# shaped windows. The accuracy is not very high, unfortunately.
#
# detect-rounded-corners = false
detect-rounded-corners = true;
# Detect '_NET_WM_OPACITY' on client windows, useful for window managers
# not passing '_NET_WM_OPACITY' of client windows to frame windows.
#
# detect-client-opacity = false
detect-client-opacity = true;
# Specify refresh rate of the screen. If not specified or 0, picom will
# try detecting this with X RandR extension.
#
# refresh-rate = 60
refresh-rate = 0
# Limit picom to repaint at most once every 1 / 'refresh_rate' second to
# boost performance. This should not be used with
# vsync drm/opengl/opengl-oml
# as they essentially does sw-opti's job already,
# unless you wish to specify a lower refresh rate than the actual value.
#
# sw-opti =
# Use EWMH '_NET_ACTIVE_WINDOW' to determine currently focused window,
# rather than listening to 'FocusIn'/'FocusOut' event. Might have more accuracy,
# provided that the WM supports it.
#
# use-ewmh-active-win = false
# Unredirect all windows if a full-screen opaque window is detected,
# to maximize performance for full-screen windows. Known to cause flickering
# when redirecting/unredirecting windows.
#
# unredir-if-possible = false
# Delay before unredirecting the window, in milliseconds. Defaults to 0.
# unredir-if-possible-delay = 0
# Conditions of windows that shouldn't be considered full-screen for unredirecting screen.
# unredir-if-possible-exclude = []
# Use 'WM_TRANSIENT_FOR' to group windows, and consider windows
# in the same group focused at the same time.
#
# detect-transient = false
detect-transient = true
# Use 'WM_CLIENT_LEADER' to group windows, and consider windows in the same
# group focused at the same time. 'WM_TRANSIENT_FOR' has higher priority if
# detect-transient is enabled, too.
#
# detect-client-leader = false
detect-client-leader = true
# Resize damaged region by a specific number of pixels.
# A positive value enlarges it while a negative one shrinks it.
# If the value is positive, those additional pixels will not be actually painted
# to screen, only used in blur calculation, and such. (Due to technical limitations,
# with use-damage, those pixels will still be incorrectly painted to screen.)
# Primarily used to fix the line corruption issues of blur,
# in which case you should use the blur radius value here
# (e.g. with a 3x3 kernel, you should use `--resize-damage 1`,
# with a 5x5 one you use `--resize-damage 2`, and so on).
# May or may not work with *--glx-no-stencil*. Shrinking doesn't function correctly.
#
# resize-damage = 1
# Specify a list of conditions of windows that should be painted with inverted color.
# Resource-hogging, and is not well tested.
#
# invert-color-include = []
# GLX backend: Avoid using stencil buffer, useful if you don't have a stencil buffer.
# Might cause incorrect opacity when rendering transparent content (but never
# practically happened) and may not work with blur-background.
# My tests show a 15% performance boost. Recommended.
#
# glx-no-stencil = false
# GLX backend: Avoid rebinding pixmap on window damage.
# Probably could improve performance on rapid window content changes,
# but is known to break things on some drivers (LLVMpipe, xf86-video-intel, etc.).
# Recommended if it works.
#
# glx-no-rebind-pixmap = false
# Disable the use of damage information.
# This cause the whole screen to be redrawn everytime, instead of the part of the screen
# has actually changed. Potentially degrades the performance, but might fix some artifacts.
# The opposing option is use-damage
#
# no-use-damage = false
use-damage = true
# Use X Sync fence to sync clients' draw calls, to make sure all draw
# calls are finished before picom starts drawing. Needed on nvidia-drivers
# with GLX backend for some users.
#
# xrender-sync-fence = false
# GLX backend: Use specified GLSL fragment shader for rendering window contents.
# See `compton-default-fshader-win.glsl` and `compton-fake-transparency-fshader-win.glsl`
# in the source tree for examples.
#
# glx-fshader-win = ''
# Force all windows to be painted with blending. Useful if you
# have a glx-fshader-win that could turn opaque pixels transparent.
#
# force-win-blend = false
# Do not use EWMH to detect fullscreen windows.
# Reverts to checking if a window is fullscreen based only on its size and coordinates.
#
# no-ewmh-fullscreen = false
# Dimming bright windows so their brightness doesn't exceed this set value.
# Brightness of a window is estimated by averaging all pixels in the window,
# so this could comes with a performance hit.
# Setting this to 1.0 disables this behaviour. Requires --use-damage to be disabled. (default: 1.0)
#
# max-brightness = 1.0
# Make transparent windows clip other windows like non-transparent windows do,
# instead of blending on top of them.
#
# transparent-clipping = false
# Set the log level. Possible values are:
# "trace", "debug", "info", "warn", "error"
# in increasing level of importance. Case doesn't matter.
# If using the "TRACE" log level, it's better to log into a file
# using *--log-file*, since it can generate a huge stream of logs.
#
# log-level = "debug"
log-level = "warn";
# Set the log file.
# If *--log-file* is never specified, logs will be written to stderr.
# Otherwise, logs will to written to the given file, though some of the early
# logs might still be written to the stderr.
# When setting this option from the config file, it is recommended to use an absolute path.
#
# log-file = '/path/to/your/log/file'
# Show all X errors (for debugging)
# show-all-xerrors = false
# Write process ID to a file.
# write-pid-path = '/path/to/your/log/file'
# Window type settings
#
# 'WINDOW_TYPE' is one of the 15 window types defined in EWMH standard:
# "unknown", "desktop", "dock", "toolbar", "menu", "utility",
# "splash", "dialog", "normal", "dropdown_menu", "popup_menu",
# "tooltip", "notification", "combo", and "dnd".
#
# Following per window-type options are available: ::
#
# fade, shadow:::
# Controls window-type-specific shadow and fade settings.
#
# opacity:::
# Controls default opacity of the window type.
#
# focus:::
# Controls whether the window of this type is to be always considered focused.
# (By default, all window types except "normal" and "dialog" has this on.)
#
# full-shadow:::
# Controls whether shadow is drawn under the parts of the window that you
# normally won't be able to see. Useful when the window has parts of it
# transparent, and you want shadows in those areas.
#
# redir-ignore:::
# Controls whether this type of windows should cause screen to become
# redirected again after been unredirected. If you have unredir-if-possible
# set, and doesn't want certain window to cause unnecessary screen redirection,
# you can set this to `true`.
#
wintypes:
{
tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; };
dock = { shadow = false; }
dnd = { shadow = false; }
popup_menu = { opacity = 1; }
dropdown_menu = { opacity = 1; }
};

View file

@ -16,11 +16,11 @@ c.fonts.web.size.default_fixed = 13
# config.unbind('T', mode='normal')
# config.bind('T', 'set-cmd-text -s :buffer')
c.content.javascript.enabled = False
# c.content.javascript.enabled = False
config.bind('\\t', 'set-cmd-text -s :buffer')
config.bind('\\b', 'set-cmd-text -s :bookmark-load')
config.bind('\\ww', ':open file:///home/pavel/MEGAsync/Sync/vimwiki-html/index.html')
config.bind('\\ww', ':open file:///home/pavel/Documents/org-mode/Bookmarks/bookmarks.html')
config.bind('\\z1', 'set zoom.default 100 ;; set fonts.default_size 10pt')
config.bind('\\z2', 'set zoom.default 125 ;; set fonts.default_size 12pt')