Merge branch 'master' of github.com:SqrtMinusOne/dotfiles

This commit is contained in:
Pavel Korytov 2021-03-16 13:01:56 +03:00
commit 7f7afe5b68
7 changed files with 107 additions and 80 deletions

View file

@ -47,7 +47,7 @@
# Defines width in pixels of frame around the notification window.
# Set to 0 to disable.
frame_width = 3
frame_width = 1
# Defines color of the frame around the notification window.
frame_color = "#aaaaaa"
@ -261,23 +261,25 @@
[urgency_low]
# IMPORTANT: colors have to be defined in quotation marks.
# Otherwise the "#" and following would be interpreted as a comment.
background = "#222222"
foreground = "#888888"
background = "#434758"
frame_color = "#ffffff"
foreground = "#d0d0d0"
timeout = 10
# Icon for notifications with low urgency, uncomment to enable
#icon = /path/to/icon
[urgency_normal]
background = "#285577"
foreground = "#ffffff"
background = "#292d3e"
foreground = "#d0d0d0"
frame_color = "#ffffff"
timeout = 10
# Icon for notifications with normal urgency, uncomment to enable
#icon = /path/to/icon
[urgency_critical]
background = "#900000"
background = "#f07178"
foreground = "#ffffff"
frame_color = "#ff0000"
frame_color = "#f07178"
timeout = 0
# Icon for notifications with critical urgency, uncomment to enable
#icon = /path/to/icon

View file

@ -4,3 +4,37 @@ drawColor=#ff0000
drawThickness=0
saveAfterCopyPath=/home/pavel/Pictures
savePath=/home/pavel/Pictures/
showStartupLaunchMessage=false
[Shortcuts]
TYPE_ARROW=A
TYPE_CIRCLE=C
TYPE_CIRCLECOUNT=
TYPE_COMMIT_CURRENT_TOOL=Ctrl+Return
TYPE_COPY=Ctrl+C
TYPE_DRAWER=D
TYPE_EXIT=Ctrl+Q
TYPE_IMAGEUPLOADER=Return
TYPE_MARKER=M
TYPE_MOVESELECTION=Ctrl+M
TYPE_MOVE_DOWN=Down
TYPE_MOVE_LEFT=Left
TYPE_MOVE_RIGHT=Right
TYPE_MOVE_UP=Up
TYPE_OPEN_APP=Ctrl+O
TYPE_PENCIL=P
TYPE_PIN=
TYPE_PIXELATE=B
TYPE_RECTANGLE=R
TYPE_REDO=Ctrl+Shift+Z
TYPE_RESIZE_DOWN=Shift+Down
TYPE_RESIZE_LEFT=Shift+Left
TYPE_RESIZE_RIGHT=Shift+Right
TYPE_RESIZE_UP=Shift+Up
TYPE_SAVE=Ctrl+S
TYPE_SELECTION=S
TYPE_SELECTIONINDICATOR=
TYPE_SELECT_ALL=Ctrl+A
TYPE_TEXT=T
TYPE_TOGGLE_PANEL=Space
TYPE_UNDO=Ctrl+Z

View file

@ -357,9 +357,9 @@ exec_always --no-startup-id "bash /home/pavel/bin/polybar.sh"
# }
# Pulse Audio controls
bindsym XF86AudioRaiseVolume exec --no-startup-id "pulseaudio-ctl up && pkill -RTMIN+2 i3blocks"
bindsym XF86AudioLowerVolume exec --no-startup-id "pulseaudio-ctl down && pkill -RTMIN+2 i3blocks"
bindsym XF86AudioMute exec --no-startup-id "pulseaudio-ctl mute && pkill -RTMIN+2 i3blocks"
bindsym XF86AudioRaiseVolume exec --no-startup-id "pactl set-sink-volume @DEFAULT_SINK@ +5%"
bindsym XF86AudioLowerVolume exec --no-startup-id "pactl set-sink-volume @DEFAULT_SINK@ -5%"
bindsym XF86AudioMute exec --no-startup-id "pactl set-sink-mute @DEFAULT_SINK@ toggle"
# Media player controls
bindsym XF86AudioPlay exec mpc toggle

View file

@ -48,5 +48,6 @@
'(epe-pipeline-host-face ((t (:foreground "#82aaff"))))
'(epe-pipeline-time-face ((t (:foreground "#ffcb6b"))))
'(epe-pipeline-user-face ((t (:foreground "#f07178"))))
'(notmuch-wash-cited-text ((t (:foreground "#ffcb6b"))))
'(tab-bar ((t (:background "#242837" :foreground "#242837"))))
'(tab-bar-tab ((t (:background "#292D3E" :foreground "#ffcb6b" :underline "#ffcb6b")))))

View file

@ -892,6 +892,8 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."
#+begin_src emacs-lisp
(use-package org
:straight (:type built-in))
(setq org-directory (expand-file-name "~/Documents/org-mode"))
#+end_src
** Integration with evil
#+begin_src emacs-lisp
@ -924,8 +926,8 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."
(my-leader-def "ar" 'jupyter-run-repl)
#+end_src
*** TypeScript
#+begin_src emacs-lisp
*** OFF TypeScript
#+begin_src emacs-lisp :tangle no
;; (use-package ob-typescript
;; :straight t)
#+end_src
@ -951,6 +953,10 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."
:config
(setq ob-async-no-async-languages-alist '("python" "jupyter-python")))
#+end_src
** Capture
#+begin_src emacs-lisp
(setq org-default-notes-file (concat org-directory "/notes.org"))
#+end_src
** Equations preview
#+begin_src emacs-lisp
(use-package org-latex-impatient
@ -972,8 +978,8 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."
(setq org-format-latex-options (plist-put org-format-latex-options :scale 1.75))
(setq org-highlight-latex-and-related '(native script entities))
#+end_src
** Export to LaTeX
#+begin_src emacs-lisp
** OFF Export to LaTeX
#+begin_src emacs-lisp :tangle no
;; (use-package htmlize
;; :straight t)
@ -1888,10 +1894,11 @@ pip install qtconsole markdown qrcode[pil] PyQt5 PyQtWebEngine
:straight t
:after (lsp)
:config
(setq lsp-java-jdt-download-url "https://download.eclipse.org/jdtls/milestones/0.57.0/jdt-language-server-0.57.0-202006172108.tar.gz")
(add-hook 'java-mode-hook #'smartparens-mode)
(setq lsp-java-jdt-download-url "https://download.eclipse.org/jdtls/milestones/0.57.0/jdt-language-server-0.57.0-202006172108.tar.gz"))
(add-hook 'java-mode-hook #'smartparens-mode)
(add-hook 'java-mode-hook #'hs-minor-mode)
(my/set-smartparens-indent 'java-mode))
(my/set-smartparens-indent 'java-mode)
#+end_src
** Clojure
#+begin_src emacs-lisp

View file

@ -705,6 +705,8 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."
(use-package org
:straight (:type built-in))
(setq org-directory (expand-file-name "~/Documents/org-mode"))
(use-package evil-org
:straight t
:after (org evil-collection)
@ -731,9 +733,6 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."
(my-leader-def "ar" 'jupyter-run-repl)
;; (use-package ob-typescript
;; :straight t)
(org-babel-do-load-languages
'org-babel-load-languages
'((emacs-lisp . t)
@ -754,6 +753,8 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."
:config
(setq ob-async-no-async-languages-alist '("python" "jupyter-python")))
(setq org-default-notes-file (concat org-directory "/notes.org"))
(use-package org-latex-impatient
:straight (
:repo "yangsheng6810/org-latex-impatient"
@ -771,25 +772,6 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."
(setq org-format-latex-options (plist-put org-format-latex-options :scale 1.75))
(setq org-highlight-latex-and-related '(native script entities))
;; (use-package htmlize
;; :straight t)
(defun my/setup-org-latex ()
(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}"))
)
)
(with-eval-after-load 'ox-latex
(my/setup-org-latex))
(use-package ox-hugo
:straight t
:after ox)
@ -1414,10 +1396,11 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."
:straight t
:after (lsp)
:config
(setq lsp-java-jdt-download-url "https://download.eclipse.org/jdtls/milestones/0.57.0/jdt-language-server-0.57.0-202006172108.tar.gz")
(add-hook 'java-mode-hook #'smartparens-mode)
(setq lsp-java-jdt-download-url "https://download.eclipse.org/jdtls/milestones/0.57.0/jdt-language-server-0.57.0-202006172108.tar.gz"))
(add-hook 'java-mode-hook #'smartparens-mode)
(add-hook 'java-mode-hook #'hs-minor-mode)
(my/set-smartparens-indent 'java-mode))
(my/set-smartparens-indent 'java-mode)
(use-package clojure-mode
:straight t

View file

@ -1,42 +1,42 @@
* My dotfiles
Deployed with [[https://yadm.io/][yadm]]
| Group | Program | Purpose | Status | Documented? | Notes |
|-----------+----------------+--------------------------------+------------------+-------------+----------------------------------------------------------------------------|
| Group | Program | Purpose | Status | Documented? | Notes |
|-----------+----------------+--------------------------------+-------------------+-------------+----------------------------------------------------------------------------|
| console | bash | shell | launches fish :) | - | |
| console | [[https://fishshell.com/][fish]] | shell | *active* | - | |
| console | [[https://github.com/starship/starship][starship]] | prompt | *active* | - | |
| console | [[https://st.suckless.org/][st]] | terminal | *active* | - | I compiled it 1.5 years ago and lost the source, so I just copy the binary |
| console | [[https://github.com/tmux/tmux][tmux]] | terminal multiplexer | *active* | - | |
| console | [[https://github.com/ogham/exa][exa]] | ls clone | *active* | - | |
| console | [[https://github.com/moonpyk/dtrx][dtrx]] | archive extractor | *active* | - | |
| console | [[https://github.com/jhspetersson/fselect][fselect]] | SQL-like find | *active* | - | |
| console | [[https://github.com/sharkdp/bat][bat]] | cat clone | *active* | - | |
| console | [[https://vifm.info/][vifm]] | file manager with vim bindings | archive | - | |
| mail | [[https://notmuchmail.org/][notmuch]] | mail indexer | *active* | [[https://sqrtminusone.xyz/posts/2021-02-27-gmail/][post]] | |
| mail | [[https://github.com/gauteh/lieer][lieer]] | gmail API client | *active* | [[https://sqrtminusone.xyz/posts/2021-02-27-gmail/][post]] | credentials are encrypted |
| mail | [[https://marlam.de/msmtp/][msmtp]] | SMTP client | *active* | - | encrypted |
| editor | [[https://www.gnu.org/software/emacs/][emacs]] | everything | *active* | - | GitHub renders .org files without labels and =tangle: no= |
| editor | [[https://neovim.io/][neovim]] | text edtior | archive | - | |
| documents | [[https://mg.readthedocs.io/latexmk.html][latexmk]] | LaTeX build tool | *active* | - | |
| documents | [[https://pwmt.org/projects/zathura/][zathura]] | pdf viewer | *active* | - | |
| desktop | [[https://github.com/dunst-project/dunst][dunst]] | notification manager | *active* | - | |
| desktop | [[https://i3wm.org/][i3wm]] | tiling WM | *active* | - | |
| desktop | [[https://github.com/jordansissel/keynav][keynav]] | control mouse with keyboard | *active* | - | |
| desktop | [[https://github.com/polybar/polybar][polybar]] | status bar | *active* | - | |
| desktop | [[https://github.com/yshui/picom][picom]] | X11 compositor | *active* | - | |
| desktop | [[https://github.com/vivien/i3blocks][i3blocks]] | status bar | archive | - | |
| desktop | [[https://github.com/davatorium/rofi][rofi]] | generic menu | *active* | - | |
| desktop | [[https://github.com/flameshot-org/flameshot][flameshot]] | screenshot | *active* | - | |
| internet | [[https://github.com/tridactyl/tridactyl][tridactyl]] | vim bindings for Firefox | *active* | - | templated with yadm |
| internet | [[https://newsboat.org/][newsboat]] | terminal RSS reader | *active* | - | urls are encrypted |
| internet | [[https://qutebrowser.org/][qutebrowser]] | browser with vim bindings | archive | - | |
| internet | [[https://github.com/jarun/buku][buku]] | bookmarks manager | archive | - | |
| internet | [[https://tabliss.io/][tabliss]] | new tab page | *active* | - | runned as server to work with tridactyl |
| audio | [[https://www.musicpd.org/][mpd]] | music player daemon | *active* | - | |
| audio | [[https://github.com/ncmpcpp/ncmpcpp][ncmpcpp]] | MPD frontend | *active* | - | |
| audio | [[https://github.com/graysky2/pulseaudio-ctl][pulseaudio-ctl]] | PulseAudio controller | *active* | - | |
| dev | [[https://github.com/prompt-toolkit/ptpython][ptpython]] | Python REPL | archive | - | |
| dev | [[https://github.com/inducer/pudb][pudb]] | Python Debugger | archive | - | |
| misc | [[https://yadm.io][yadm]] | dotfiles manager | *active* | - | |
| misc | [[https://github.com/risacher/sunwait][sunwait]] | sunrise calculator | *active* | - | |
| console | [[https://fishshell.com/][fish]] | shell | *active* | - | |
| console | [[https://github.com/starship/starship][starship]] | prompt | *active* | - | |
| console | [[https://st.suckless.org/][st]] | terminal | *active* | - | I compiled it 1.5 years ago and lost the source, so I just copy the binary |
| console | [[https://github.com/tmux/tmux][tmux]] | terminal multiplexer | *active* | - | |
| console | [[https://github.com/ogham/exa][exa]] | ls clone | *active* | - | |
| console | [[https://github.com/moonpyk/dtrx][dtrx]] | archive extractor | *active* | - | |
| console | [[https://github.com/jhspetersson/fselect][fselect]] | SQL-like find | *active* | - | |
| console | [[https://github.com/sharkdp/bat][bat]] | cat clone | *active* | - | |
| console | [[https://vifm.info/][vifm]] | file manager with vim bindings | archive | - | |
| mail | [[https://notmuchmail.org/][notmuch]] | mail indexer | *active* | [[https://sqrtminusone.xyz/posts/2021-02-27-gmail/][post]] | |
| mail | [[https://github.com/gauteh/lieer][lieer]] | gmail API client | *active* | [[https://sqrtminusone.xyz/posts/2021-02-27-gmail/][post]] | credentials are encrypted |
| mail | [[https://marlam.de/msmtp/][msmtp]] | SMTP client | *active* | - | encrypted |
| editor | [[https://www.gnu.org/software/emacs/][emacs]] | everything | *active* | - | GitHub renders .org files without labels and =tangle: no= |
| editor | [[https://neovim.io/][neovim]] | text edtior | archive | - | |
| documents | [[https://mg.readthedocs.io/latexmk.html][latexmk]] | LaTeX build tool | *active* | - | |
| documents | [[https://pwmt.org/projects/zathura/][zathura]] | pdf viewer | *active* | - | |
| desktop | [[https://github.com/dunst-project/dunst][dunst]] | notification manager | *active* | - | |
| desktop | [[https://i3wm.org/][i3wm]] | tiling WM | *active* | - | |
| desktop | [[https://github.com/jordansissel/keynav][keynav]] | control mouse with keyboard | *active* | - | |
| desktop | [[https://github.com/polybar/polybar][polybar]] | status bar | *active* | - | |
| desktop | [[https://github.com/yshui/picom][picom]] | X11 compositor | *active* | - | |
| desktop | [[https://github.com/vivien/i3blocks][i3blocks]] | status bar | archive | - | |
| desktop | [[https://github.com/davatorium/rofi][rofi]] | generic menu | *active* | - | |
| desktop | [[https://github.com/flameshot-org/flameshot][flameshot]] | screenshot | *active* | - | |
| internet | [[https://github.com/tridactyl/tridactyl][tridactyl]] | vim bindings for Firefox | *active* | - | templated with yadm |
| internet | [[https://newsboat.org/][newsboat]] | terminal RSS reader | *active* | - | urls are encrypted |
| internet | [[https://qutebrowser.org/][qutebrowser]] | browser with vim bindings | archive | - | |
| internet | [[https://github.com/jarun/buku][buku]] | bookmarks manager | archive | - | |
| internet | [[https://tabliss.io/][tabliss]] | new tab page | *active* | - | runned as server to work with tridactyl |
| audio | [[https://www.musicpd.org/][mpd]] | music player daemon | *active* | - | |
| audio | [[https://github.com/ncmpcpp/ncmpcpp][ncmpcpp]] | MPD frontend | *active* | - | |
| audio | [[https://github.com/graysky2/pulseaudio-ctl][pulseaudio-ctl]] | PulseAudio controller | archive | - | |
| dev | [[https://github.com/prompt-toolkit/ptpython][ptpython]] | Python REPL | archive | - | |
| dev | [[https://github.com/inducer/pudb][pudb]] | Python Debugger | archive | - | |
| misc | [[https://yadm.io][yadm]] | dotfiles manager | *active* | - | |
| misc | [[https://github.com/risacher/sunwait][sunwait]] | sunrise calculator | *active* | - | |