mirror of
https://github.com/Horhik/dotfiles.git
synced 2024-11-24 17:11:31 +00:00
bunch of updates
This commit is contained in:
parent
e80190c782
commit
b090e6ea57
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -16,3 +16,5 @@ home/pure_emacs/.emacs.d/recentf
|
||||||
home/pure_emacs/.emacs.d/transient/
|
home/pure_emacs/.emacs.d/transient/
|
||||||
home/pure_emacs/.emacs.d/.org-id-locations
|
home/pure_emacs/.emacs.d/.org-id-locations
|
||||||
home/pure_emacs/.emacs.d/.lsp-session-v1
|
home/pure_emacs/.emacs.d/.lsp-session-v1
|
||||||
|
home/pure_emacs/.emacs.d/url
|
||||||
|
home/pure_emacs/.emacs.d/session*
|
||||||
|
|
4
home/cava/.config/cava/config
Executable file → Normal file
4
home/cava/.config/cava/config
Executable file → Normal file
|
@ -108,7 +108,7 @@ method = ncurses
|
||||||
; raw_target = /dev/stdout
|
; raw_target = /dev/stdout
|
||||||
|
|
||||||
# Raw data format. Can be 'binary' or 'ascii'.
|
# Raw data format. Can be 'binary' or 'ascii'.
|
||||||
; data_format = ascii
|
; data_format = binary
|
||||||
|
|
||||||
# Binary bit format, can be '8bit' (0-255) or '16bit' (0-65530).
|
# Binary bit format, can be '8bit' (0-255) or '16bit' (0-65530).
|
||||||
; bit_format = 16bit
|
; bit_format = 16bit
|
||||||
|
@ -159,7 +159,7 @@ waves = 5
|
||||||
|
|
||||||
# Set gravity percentage for "drop off". Higher values means bars will drop faster.
|
# Set gravity percentage for "drop off". Higher values means bars will drop faster.
|
||||||
# Accepts only non-negative values. 50 means half gravity, 200 means double. Set to 0 to disable "drop off".
|
# Accepts only non-negative values. 50 means half gravity, 200 means double. Set to 0 to disable "drop off".
|
||||||
; gravity = 800
|
; gravity = 100
|
||||||
|
|
||||||
|
|
||||||
# In bar height, bars that would have been lower that this will not be drawn.
|
# In bar height, bars that would have been lower that this will not be drawn.
|
||||||
|
|
8
home/gtk/.config/gtk-2.0/gtkfilechooser.ini
Executable file → Normal file
8
home/gtk/.config/gtk-2.0/gtkfilechooser.ini
Executable file → Normal file
|
@ -2,10 +2,10 @@
|
||||||
LocationMode=path-bar
|
LocationMode=path-bar
|
||||||
ShowHidden=false
|
ShowHidden=false
|
||||||
ShowSizeColumn=true
|
ShowSizeColumn=true
|
||||||
GeometryX=0
|
GeometryX=630
|
||||||
GeometryY=0
|
GeometryY=118
|
||||||
GeometryWidth=768
|
GeometryWidth=660
|
||||||
GeometryHeight=972
|
GeometryHeight=864
|
||||||
SortColumn=modified
|
SortColumn=modified
|
||||||
SortOrder=descending
|
SortOrder=descending
|
||||||
StartupMode=recent
|
StartupMode=recent
|
||||||
|
|
8
home/gtk/.config/gtk-3.0/bookmarks
Executable file → Normal file
8
home/gtk/.config/gtk-3.0/bookmarks
Executable file → Normal file
|
@ -1,10 +1,8 @@
|
||||||
file:///home/horhik/KB
|
|
||||||
file:///home/horhik/.config/eww
|
|
||||||
file:///home/horhik/Documents/Icons/Notion%20Icons%203.0
|
|
||||||
file:///usr/share/icons/Papirus-Dark/96x96
|
|
||||||
file:///tmp/mozilla_horhik0
|
|
||||||
file:///home/horhik/code
|
file:///home/horhik/code
|
||||||
file:///home/horhik/Documents
|
file:///home/horhik/Documents
|
||||||
file:///home/horhik/Music
|
file:///home/horhik/Music
|
||||||
file:///home/horhik/Pictures
|
file:///home/horhik/Pictures
|
||||||
|
file:///home/horhik/Videos
|
||||||
file:///home/horhik/Downloads
|
file:///home/horhik/Downloads
|
||||||
|
file:///home/horhik/Nextcloud
|
||||||
|
file:///home/horhik/Nextcloud2
|
||||||
|
|
19
home/gtk/.config/gtk-3.0/settings.ini
Executable file → Normal file
19
home/gtk/.config/gtk-3.0/settings.ini
Executable file → Normal file
|
@ -1,17 +1,16 @@
|
||||||
[Settings]
|
[Settings]
|
||||||
gtk-theme-name=Adwaita-dark
|
gtk-theme-name=Materia-dark
|
||||||
gtk-icon-theme-name=Papirus-Dark
|
gtk-icon-theme-name=Paper-Mono-Dark
|
||||||
gtk-font-name=Roboto 11
|
gtk-font-name=Noto Sans 11
|
||||||
gtk-cursor-theme-size=18
|
gtk-cursor-theme-name=Bibata-Modern-Ice
|
||||||
|
gtk-cursor-theme-size=0
|
||||||
gtk-toolbar-style=GTK_TOOLBAR_ICONS
|
gtk-toolbar-style=GTK_TOOLBAR_ICONS
|
||||||
gtk-toolbar-icon-size=GTK_ICON_SIZE_BUTTON
|
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
|
||||||
gtk-button-images=1
|
gtk-button-images=1
|
||||||
gtk-menu-images=1
|
gtk-menu-images=1
|
||||||
gtk-enable-event-sounds=1
|
gtk-enable-event-sounds=0
|
||||||
gtk-enable-input-feedback-sounds=1
|
gtk-enable-input-feedback-sounds=0
|
||||||
gtk-xft-antialias=1
|
gtk-xft-antialias=1
|
||||||
gtk-xft-hinting=1
|
gtk-xft-hinting=1
|
||||||
gtk-xft-hintstyle=hintfull
|
gtk-xft-hintstyle=hintfull
|
||||||
gtk-xft-rgba=rgb
|
gtk-xft-rgba=none
|
||||||
gtk-cursor-theme-name=Premium
|
|
||||||
gtk-application-prefer-dark-theme=0
|
|
||||||
|
|
2
home/gtk/.config/gtk-4.0/settings.ini
Executable file → Normal file
2
home/gtk/.config/gtk-4.0/settings.ini
Executable file → Normal file
|
@ -1,2 +1,2 @@
|
||||||
[Settings]
|
[Settings]
|
||||||
gtk-application-prefer-dark-theme=0
|
gtk-application-prefer-dark-theme=1
|
||||||
|
|
31
home/gtk/.gtkrc-2.0
Executable file → Normal file
31
home/gtk/.gtkrc-2.0
Executable file → Normal file
|
@ -1,14 +1,19 @@
|
||||||
# -- THEME AUTO-WRITTEN DO NOT EDIT
|
# DO NOT EDIT! This file will be overwritten by LXAppearance.
|
||||||
include "/home/horhik/.themes/darkink/gtk-2.0/gtkrc"
|
# Any customization should be done in ~/.gtkrc-2.0.mine instead.
|
||||||
|
|
||||||
style "user-font" {
|
include "/home/horhik/.gtkrc-2.0.mine"
|
||||||
font_name = "Mononoki 12"
|
gtk-theme-name="Materia-dark"
|
||||||
}
|
gtk-icon-theme-name="Paper-Mono-Dark"
|
||||||
|
gtk-font-name="Noto Sans 11"
|
||||||
widget_class "*" style "user-font"
|
gtk-cursor-theme-name="Bibata-Modern-Ice"
|
||||||
|
gtk-cursor-theme-size=0
|
||||||
gtk-font-name="Mononoki 12"
|
gtk-toolbar-style=GTK_TOOLBAR_ICONS
|
||||||
|
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
|
||||||
include "/home/horhik/.gtkrc.mine"
|
gtk-button-images=1
|
||||||
|
gtk-menu-images=1
|
||||||
# -- THEME AUTO-WRITTEN DO NOT EDIT
|
gtk-enable-event-sounds=0
|
||||||
|
gtk-enable-input-feedback-sounds=0
|
||||||
|
gtk-xft-antialias=1
|
||||||
|
gtk-xft-hinting=1
|
||||||
|
gtk-xft-hintstyle="hintfull"
|
||||||
|
gtk-xft-rgba="none"
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
#s(lsp-session ("/home/horhik/code/cp-tasks" "/home/horhik/code/competitive") nil #s(hash-table size 65 test equal rehash-size 1.5 rehash-threshold 0.8125 data ()) #s(hash-table size 65 test equal rehash-size 1.5 rehash-threshold 0.8125 data ()) #s(hash-table size 65 test equal rehash-size 1.5 rehash-threshold 0.8125 data ()))
|
#s(lsp-session ("/home/horhik/code/projects/слово-to-slovo" "/home/horhik" "/home/horhik/code/cp-tasks" "/home/horhik/code/competitive") nil #s(hash-table size 65 test equal rehash-size 1.5 rehash-threshold 0.8125 data ()) #s(hash-table size 65 test equal rehash-size 1.5 rehash-threshold 0.8125 data ()) #s(hash-table size 65 test equal rehash-size 1.5 rehash-threshold 0.8125 data ()))
|
|
@ -58,23 +58,25 @@
|
||||||
** Theme
|
** Theme
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(require 'use-package)
|
(require 'use-package)
|
||||||
(custom-set-variables
|
;; (custom-set-variables
|
||||||
;; custom-set-variables was added by Custom.
|
;; ;; custom-set-variables was added by Custom.
|
||||||
;; If you edit it by hand, you could mess it up, so be careful.
|
;; ;; If you edit it by hand, you could mess it up, so be careful.
|
||||||
;; Your init file should contain only one such instance.
|
;; ;; Your init file should contain only one such instance.
|
||||||
;; If there is more than one, they won't work right.
|
;; ;; If there is more than one, they won't work right.
|
||||||
'(custom-safe-themes
|
;; '(custom-safe-themes
|
||||||
'("75b8719c741c6d7afa290e0bb394d809f0cc62045b93e1d66cd646907f8e6d43" "7661b762556018a44a29477b84757994d8386d6edee909409fabe0631952dad9" default))
|
;; '("75b8719c741c6d7afa290e0bb394d809f0cc62045b93e1d66cd646907f8e6d43" "7661b762556018a44a29477b84757994d8386d6edee909409fabe0631952dad9" default))
|
||||||
'(package-selected-packages
|
;; '(package-selected-packages
|
||||||
'(neotree treemacs-persp spaceline-all-the-icons all-the-icons-ivy-rich all-the-icons-ivy treemacs-the-icons dired-icon treemacs-magit treemacs-projectile nlinum linum-mode unicode-fonts ewal-doom-themes ivy-rich which-key counsel org-roam treemacs-evil treemacs-all-the-icons treemacs use-package general gruvbox-theme flycheck-rust cargo linum-relative ac-racer lusty-explorer doom-modeline doom-themes rainbow-delimiters evil-mc rustic lsp-mode avy)))
|
;; '(neotree treemacs-persp spaceline-all-the-icons all-the-icons-ivy-rich all-the-icons-ivy treemacs-the-icons dired-icon treemacs-magit treemacs-projectile nlinum linum-mode unicode-fonts ewal-doom-themes ivy-rich which-key counsel org-roam treemacs-evil treemacs-all-the-icons treemacs use-package general gruvbox-theme flycheck-rust cargo linum-relative ac-racer lusty-explorer doom-modeline doom-themes rainbow-delimiters evil-mc rustic lsp-mode avy)))
|
||||||
(use-package doom-themes)
|
(use-package doom-themes
|
||||||
'(custom-enabled-themes '(gruvbox))
|
|
||||||
|
|
||||||
(use-package gruvbox-theme
|
|
||||||
:ensure t
|
:ensure t
|
||||||
:config
|
|
||||||
(load-theme 'doom-gruvbox)
|
|
||||||
)
|
)
|
||||||
|
(load-theme 'doom-gruvbox t)
|
||||||
|
|
||||||
|
;; (use-package gruvbox-theme
|
||||||
|
;; :ensure t
|
||||||
|
;; :config
|
||||||
|
;; (load-theme 'doom-gruvbox)
|
||||||
|
;; )
|
||||||
(setq use-package-always-ensure t)
|
(setq use-package-always-ensure t)
|
||||||
|
|
||||||
|
|
||||||
|
@ -110,6 +112,8 @@
|
||||||
(when (member "Twitter Color Emoji" (font-family-list))
|
(when (member "Twitter Color Emoji" (font-family-list))
|
||||||
(set-fontset-font t 'unicode "Twitter Color Emoji" nil 'prepend))
|
(set-fontset-font t 'unicode "Twitter Color Emoji" nil 'prepend))
|
||||||
|
|
||||||
|
(when (member "Twemoji" (font-family-list))
|
||||||
|
(set-fontset-font t 'unicode "Twemoji" nil 'prepend))
|
||||||
;; ☺️ ☻ 😃 😄 😅 😆 😊 😎 😇 😈 😏 🤣 🤩 🤪 🥳 😁 😀 😂 🤠 🤡 🤑 🤓 🤖 😗 😚 😘 😙 😉 🤗 😍 🥰 🤤 😋 🤔 🤨 🧐 🤭 🤫 😯 🤐 😌 😖 😕 😳 😔 🤥 🥴 😮 😲 🤯 😩 😫 🥱 😪 😴 😵 ☹️ 😦 😞 😥 😟 😢 😭 🤢 🤮 😷 🤒 🤕 🥵 🥶 🥺 😬 😓 😰 😨 😱 😒 😠 😡 😤 😣 😧 🤬 😸 😹 😺 😻 😼 😽 😾 😿 🙀 🙈 🙉 🙊 🤦 🤷 🙅 🙆 🙋 🙌 🙍 🙎 🙇 🙏 👯 💃 🕺 🤳 💇 💈 💆 🧖 🧘 🧍 🧎 👰 🤰 🤱 👶 🧒 👦 👧 👩 👨 🧑 🧔 🧓 👴 👵 👤 👥 👪 👫 👬 👭 👱 👳 👲 🧕 👸 🤴 🎅 🤶 🧏 🦻 🦮 🦯 🦺 🦼 🦽 🦾 🦿 🤵 👮 👷 💁 💂 🕴 🕵️ 🦸 🦹 🧙 🧚 🧜 🧝 🧞 🧛 🧟 👼 👿 👻 👹 👺 👽 👾 🛸 💀 ☠️ 🕱 🧠 🦴 👁 👀 👂 👃 👄 🗢 👅 🦷 🦵 🦶 💭 🗬 🗭 💬 🗨 🗩 💦 💧 💢 💫 💤 💨 💥 💪 🗲 🔥 💡 💩 💯
|
;; ☺️ ☻ 😃 😄 😅 😆 😊 😎 😇 😈 😏 🤣 🤩 🤪 🥳 😁 😀 😂 🤠 🤡 🤑 🤓 🤖 😗 😚 😘 😙 😉 🤗 😍 🥰 🤤 😋 🤔 🤨 🧐 🤭 🤫 😯 🤐 😌 😖 😕 😳 😔 🤥 🥴 😮 😲 🤯 😩 😫 🥱 😪 😴 😵 ☹️ 😦 😞 😥 😟 😢 😭 🤢 🤮 😷 🤒 🤕 🥵 🥶 🥺 😬 😓 😰 😨 😱 😒 😠 😡 😤 😣 😧 🤬 😸 😹 😺 😻 😼 😽 😾 😿 🙀 🙈 🙉 🙊 🤦 🤷 🙅 🙆 🙋 🙌 🙍 🙎 🙇 🙏 👯 💃 🕺 🤳 💇 💈 💆 🧖 🧘 🧍 🧎 👰 🤰 🤱 👶 🧒 👦 👧 👩 👨 🧑 🧔 🧓 👴 👵 👤 👥 👪 👫 👬 👭 👱 👳 👲 🧕 👸 🤴 🎅 🤶 🧏 🦻 🦮 🦯 🦺 🦼 🦽 🦾 🦿 🤵 👮 👷 💁 💂 🕴 🕵️ 🦸 🦹 🧙 🧚 🧜 🧝 🧞 🧛 🧟 👼 👿 👻 👹 👺 👽 👾 🛸 💀 ☠️ 🕱 🧠 🦴 👁 👀 👂 👃 👄 🗢 👅 🦷 🦵 🦶 💭 🗬 🗭 💬 🗨 🗩 💦 💧 💢 💫 💤 💨 💥 💪 🗲 🔥 💡 💩 💯
|
||||||
;; Fallback for emojies
|
;; Fallback for emojies
|
||||||
|
|
||||||
|
@ -144,7 +148,7 @@
|
||||||
(show-paren-mode t)) ;
|
(show-paren-mode t)) ;
|
||||||
(use-package rainbow-delimiters
|
(use-package rainbow-delimiters
|
||||||
:hook (prog-mode . rainbow-delimiters-mode))
|
:hook (prog-mode . rainbow-delimiters-mode))
|
||||||
|
(global-prettify-symbols-mode +1)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
#+RESULTS:
|
#+RESULTS:
|
||||||
|
@ -514,24 +518,64 @@
|
||||||
(company-idle-delay 0.0))
|
(company-idle-delay 0.0))
|
||||||
|
|
||||||
(use-package company-box
|
(use-package company-box
|
||||||
:hook (company-mode . company-box-mode)) #+end_src
|
:hook (company-mode . company-box-mode))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** Popup
|
** Popup
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package ivy-postframe
|
;; (use-package ivy-postframe
|
||||||
:config
|
;; :init
|
||||||
(setq ivy-posframe-display-functions-alist '((t . ivy-posframe-display)))
|
;; (ivy-posframe-mode 1)
|
||||||
;; (setq ivy-posframe-display-functions-alist '((t . ivy-posframe-display-at-frame-center)))
|
;; ;; (setq ivy-posframe-display-functions-alist '((t . ivy-posframe-display-at-frame-center)))
|
||||||
;; (setq ivy-posframe-display-functions-alist '((t . ivy-posframe-display-at-window-center)))
|
;; ;; (setq ivy-posframe-display-functions-alist '((t . ivy-posframe-display-at-window-center)))
|
||||||
;; (setq ivy-posframe-display-functions-alist '((t . ivy-posframe-display-at-frame-bottom-left)))
|
;; ;; (setq ivy-posframe-display-functions-alist '((t . ivy-posframe-display-at-frame-bottom-left)))
|
||||||
;; (setq ivy-posframe-display-functions-alist '((t . ivy-posframe-display-at-window-bottom-left)))
|
;; ;; (setq ivy-posframe-display-functions-alist '((t . ivy-posframe-display-at-window-bottom-left)))
|
||||||
;; (setq ivy-posframe-display-functions-alist '((t . ivy-posframe-display-at-frame-top-center)))
|
;; ;; (setq ivy-posframe-display-functions-alist '((t . ivy-posframe-display-at-frame-top-center)))
|
||||||
(ivy-posframe-mode 1)
|
;; )
|
||||||
)
|
|
||||||
|
|
||||||
#+end_src
|
#+end_src
|
||||||
* Org
|
* Org
|
||||||
|
** Pretty symbols
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
;; (lambda ()
|
||||||
|
;; (push '("TODO" . ?📥) prettify-symbols-alist)
|
||||||
|
;; (push '("DONE" . ?☑) prettify-symbols-alist)
|
||||||
|
;; (push '("NEXT" . ?⏭) prettify-symbols-alist)
|
||||||
|
;; (push '("IDEA" . ?💡) prettify-symbols-alist)
|
||||||
|
;; (push '("DREAM" . ?✨) prettify-symbols-alist)
|
||||||
|
;; )
|
||||||
|
|
||||||
|
(setq-default prettify-symbols-alist
|
||||||
|
'(("#+BEGIN_SRC" . "λ")
|
||||||
|
("#+END_SRC" . "λ")
|
||||||
|
("#+end_src" . "λ")
|
||||||
|
("#+begin_src" . "λ")
|
||||||
|
("TODO"." T ")
|
||||||
|
("DONE"." D ")
|
||||||
|
("NEXT"." N ")
|
||||||
|
("IDEA"." 💡 ")
|
||||||
|
("DREAM"." ✨ ")
|
||||||
|
(":LOGBOOK:"." LOG ")
|
||||||
|
))
|
||||||
|
|
||||||
|
#+END_SRC
|
||||||
|
** My org-mode functions
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(defun my/org-toggle-todo-and-fold ()
|
||||||
|
(interactive)
|
||||||
|
(save-excursion
|
||||||
|
(org-back-to-heading t) ;; Make sure command works even if point is
|
||||||
|
;; below target heading
|
||||||
|
(cond ((looking-at "\*+ TODO")
|
||||||
|
(org-todo "DONE")
|
||||||
|
(sleep-for 0.5)
|
||||||
|
(org-archive-subtree-default-with-confirmation)
|
||||||
|
)
|
||||||
|
((looking-at "\*+ DONE")
|
||||||
|
(org-todo "TODO")
|
||||||
|
(hide-subtree))
|
||||||
|
(t (message "Can only toggle between TODO and DONE.")))))
|
||||||
|
#+end_src
|
||||||
** Fonts
|
** Fonts
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
|
||||||
|
@ -541,15 +585,15 @@
|
||||||
:height 1.3
|
:height 1.3
|
||||||
:weight 'light)
|
:weight 'light)
|
||||||
|
|
||||||
(set-face-attribute 'org-document-title nil :font "ubuntu" :weight 'bold :height 1.3)
|
(set-face-attribute 'org-document-title nil :font "ubuntu" :weight 'light :height 1.3)
|
||||||
(dolist (face '((org-level-1 . 1.18)
|
(dolist (face '((org-level-1 . 1.1)
|
||||||
(org-level-2 . 1.14)
|
(org-level-2 . 1.0)
|
||||||
(org-level-3 . 1.05)
|
(org-level-3 . 1.0)
|
||||||
(org-level-4 . 1.0)
|
(org-level-4 . 1.0)
|
||||||
(org-level-5 . 1.1)
|
(org-level-5 . 0.9)
|
||||||
(org-level-6 . 1.1)
|
(org-level-6 . 0.9)
|
||||||
(org-level-7 . 1.1)
|
(org-level-7 . 0.9)
|
||||||
(org-level-8 . 1.1)))
|
(org-level-8 . 0.9)))
|
||||||
(set-face-attribute (car face) nil :font "ubuntu" :weight 'bold :height (cdr face) ))
|
(set-face-attribute (car face) nil :font "ubuntu" :weight 'bold :height (cdr face) ))
|
||||||
(require 'org-indent)
|
(require 'org-indent)
|
||||||
(set-face-attribute 'org-block nil :foreground nil :inherit 'fixed-pitch :font "Hack" )
|
(set-face-attribute 'org-block nil :foreground nil :inherit 'fixed-pitch :font "Hack" )
|
||||||
|
@ -581,15 +625,18 @@
|
||||||
(visual-line-mode 1)
|
(visual-line-mode 1)
|
||||||
(setq evil-auto-indent 1)
|
(setq evil-auto-indent 1)
|
||||||
(variable-pitch-mode t)
|
(variable-pitch-mode t)
|
||||||
|
(prettify-symbols-mode +1)
|
||||||
|
(display-line-numbers-mode 0)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
(use-package org
|
(use-package org
|
||||||
:hook ((org-mode . my/org-mode-setup)
|
:hook ((org-mode . my/org-mode-setup)
|
||||||
(org-mode . variable-pitch-mode)
|
(org-mode . variable-pitch-mode)
|
||||||
(org-mode . org-inddent-mode)
|
(org-mode . org-inddent-mode)
|
||||||
|
(org-mode . prettify-symbols-mode)
|
||||||
)
|
)
|
||||||
:config (setq org-agenda-files `("~/Notes" "~/Notes/Tasks/Tasks.org"))
|
:config (setq org-agenda-files `("~/Nextcloud2/Notes/Ideas💡.org" "~/Nextcloud2/Notes/Lists📜.org" "~/Nextcloud2/Notes/Projects💻.org" "~/Nextcloud2/Notes/Tasks🧾.org"))
|
||||||
|
(display-line-numbers-mode 0)
|
||||||
(org-bullets-mode t)
|
(org-bullets-mode t)
|
||||||
(org-indent-mode t)
|
(org-indent-mode t)
|
||||||
(setq org-ellipsis " ▸" org-hide-emphasis-markers t org-src-fontify-natively t
|
(setq org-ellipsis " ▸" org-hide-emphasis-markers t org-src-fontify-natively t
|
||||||
|
@ -621,7 +668,10 @@
|
||||||
("n" "Next Tasks" ((todo "NEXT" ((org-agenda-overriding-header
|
("n" "Next Tasks" ((todo "NEXT" ((org-agenda-overriding-header
|
||||||
"Next Tasks")))))
|
"Next Tasks")))))
|
||||||
("i" "Ideas" ((todo "IDEA" ((org-agenda-overriding-header
|
("i" "Ideas" ((todo "IDEA" ((org-agenda-overriding-header
|
||||||
"Ideas ")))))
|
"Ideas "))
|
||||||
|
)
|
||||||
|
(tags-todo "+idea")
|
||||||
|
))
|
||||||
("A" "Articles" ((todo "Article" ((org-agenda-overriding-header
|
("A" "Articles" ((todo "Article" ((org-agenda-overriding-header
|
||||||
"Article")))))
|
"Article")))))
|
||||||
("W" "Work Tasks" tags-todo "+work-email")
|
("W" "Work Tasks" tags-todo "+work-email")
|
||||||
|
@ -681,7 +731,9 @@
|
||||||
|
|
||||||
:general (general-nmap :prefix "SPC a"
|
:general (general-nmap :prefix "SPC a"
|
||||||
:keymap 'org-agenda-mode-map
|
:keymap 'org-agenda-mode-map
|
||||||
"a" 'org-agenda))
|
"a" 'org-agenda
|
||||||
|
"d" 'my/org-toggle-todo-and-fold
|
||||||
|
))
|
||||||
(use-package org-bullets
|
(use-package org-bullets
|
||||||
:after org
|
:after org
|
||||||
:hook
|
:hook
|
||||||
|
@ -746,7 +798,7 @@
|
||||||
"b h" '(org-roam-buffer-deactivate :which-key "roam buffer hide ")
|
"b h" '(org-roam-buffer-deactivate :which-key "roam buffer hide ")
|
||||||
"s" '(org-roam-server-mode :which-key "roam server "))
|
"s" '(org-roam-server-mode :which-key "roam server "))
|
||||||
:custom
|
:custom
|
||||||
(org-roam-directory "~/Notes")
|
(org-roam-directory "~/Nextcloud2/Notes")
|
||||||
:config
|
:config
|
||||||
(setq
|
(setq
|
||||||
org-roam-server-host "127.0.0.1"
|
org-roam-server-host "127.0.0.1"
|
||||||
|
@ -793,11 +845,17 @@
|
||||||
(use-package lsp-mode
|
(use-package lsp-mode
|
||||||
:init
|
:init
|
||||||
(setq lsp-keymap-prefix "C-SPC c")
|
(setq lsp-keymap-prefix "C-SPC c")
|
||||||
|
;; (setq lsp-clients-clangd-args " --header-insertion-decorators=0 ")
|
||||||
;;(setq lsp-client-packages nil)
|
;;(setq lsp-client-packages nil)
|
||||||
|
:hook (;; replace XXX-mode with concrete major-mode(e. g. python-mode)
|
||||||
|
(c++-mode . lsp)
|
||||||
|
;; if you want which-key integration
|
||||||
|
(lsp-mode . lsp-enable-which-key-integration))
|
||||||
:config
|
:config
|
||||||
(add-hook 'c++-mode-hook #'lsp-mode)
|
(add-hook 'c\+\+-mode-hook #'lsp-mode)
|
||||||
(add-hook 'rust-mode-hook #'lsp-mode)
|
(add-hook 'rust-mode-hook #'lsp-mode)
|
||||||
(add-hook 'c-mode-hook #'lsp-mode)
|
(add-hook 'c-mode-hook #'lsp-mode)
|
||||||
|
|
||||||
;;(setq lsp-clients-clangd-executable "/home/horhik/code/competitive/clangd")
|
;;(setq lsp-clients-clangd-executable "/home/horhik/code/competitive/clangd")
|
||||||
;;(setq lsp-clients-clangd-default-executable "/home/horhik/code/competitive/clangd")
|
;;(setq lsp-clients-clangd-default-executable "/home/horhik/code/competitive/clangd")
|
||||||
;;(lsp-mode . lsp-enable-which-key-integration)
|
;;(lsp-mode . lsp-enable-which-key-integration)
|
||||||
|
@ -822,14 +880,12 @@
|
||||||
(setq irony-additional-clang-options
|
(setq irony-additional-clang-options
|
||||||
(append '("-std=c++17") irony-additional-clang-options))
|
(append '("-std=c++17") irony-additional-clang-options))
|
||||||
)
|
)
|
||||||
(add-to-list 'auto-mode-alist '("\\.cpp\\'" . cpp-hook))
|
|
||||||
(add-to-list 'auto-mode-alist '("\\.cxx\\'" . cpp-hook))
|
|
||||||
(add-to-list 'auto-mode-alist '("\\.c++\\'" . cpp-hook))
|
(add-to-list 'auto-mode-alist '("\\.h\\'" . c++-mode))
|
||||||
(add-to-list 'auto-mode-alist '("\\.C\\'" . cpp-hook))
|
(add-to-list 'auto-mode-alist '("\\.cxx\\'" . c++-mode))
|
||||||
(defun cpp-hook ()
|
(add-to-list 'auto-mode-alist '("\\.cpp\\'" . c++-mode))
|
||||||
(c++-mode 1)
|
(add-to-list 'auto-mode-alist '("\\.C\\'" . c++-mode))
|
||||||
(lsp-mode 1)
|
|
||||||
)
|
|
||||||
#+end_src
|
#+end_src
|
||||||
** Markdown
|
** Markdown
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
@ -840,7 +896,6 @@
|
||||||
(use-package tuareg)
|
(use-package tuareg)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
|
||||||
** Nix
|
** Nix
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
;; (use-package direnv
|
;; (use-package direnv
|
||||||
|
@ -849,3 +904,23 @@
|
||||||
;; (add-hook 'lsp-mode-hook #'direnv-update-environment)
|
;; (add-hook 'lsp-mode-hook #'direnv-update-environment)
|
||||||
(use-package nix-mode)
|
(use-package nix-mode)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
** Rust
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(use-package rust-mode
|
||||||
|
:config
|
||||||
|
(setq rust-format-on-save t)
|
||||||
|
(add-hook 'rust-mode-hook
|
||||||
|
(lambda () (setq indent-tabs-mode nil)))
|
||||||
|
)
|
||||||
|
(use-package rustic
|
||||||
|
:config
|
||||||
|
(setq rustic-lsp-server 'rls)
|
||||||
|
)
|
||||||
|
|
||||||
|
#+end_src
|
||||||
|
|
||||||
|
* Default file
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(setq initial-buffer-choice "~/Nextcloud2/Notes/Tasks🧾.org")
|
||||||
|
#+end_src
|
||||||
|
|
|
@ -27,23 +27,25 @@
|
||||||
(global-visual-line-mode)
|
(global-visual-line-mode)
|
||||||
|
|
||||||
(require 'use-package)
|
(require 'use-package)
|
||||||
(custom-set-variables
|
;; (custom-set-variables
|
||||||
;; custom-set-variables was added by Custom.
|
;; ;; custom-set-variables was added by Custom.
|
||||||
;; If you edit it by hand, you could mess it up, so be careful.
|
;; ;; If you edit it by hand, you could mess it up, so be careful.
|
||||||
;; Your init file should contain only one such instance.
|
;; ;; Your init file should contain only one such instance.
|
||||||
;; If there is more than one, they won't work right.
|
;; ;; If there is more than one, they won't work right.
|
||||||
'(custom-safe-themes
|
;; '(custom-safe-themes
|
||||||
'("75b8719c741c6d7afa290e0bb394d809f0cc62045b93e1d66cd646907f8e6d43" "7661b762556018a44a29477b84757994d8386d6edee909409fabe0631952dad9" default))
|
;; '("75b8719c741c6d7afa290e0bb394d809f0cc62045b93e1d66cd646907f8e6d43" "7661b762556018a44a29477b84757994d8386d6edee909409fabe0631952dad9" default))
|
||||||
'(package-selected-packages
|
;; '(package-selected-packages
|
||||||
'(neotree treemacs-persp spaceline-all-the-icons all-the-icons-ivy-rich all-the-icons-ivy treemacs-the-icons dired-icon treemacs-magit treemacs-projectile nlinum linum-mode unicode-fonts ewal-doom-themes ivy-rich which-key counsel org-roam treemacs-evil treemacs-all-the-icons treemacs use-package general gruvbox-theme flycheck-rust cargo linum-relative ac-racer lusty-explorer doom-modeline doom-themes rainbow-delimiters evil-mc rustic lsp-mode avy)))
|
;; '(neotree treemacs-persp spaceline-all-the-icons all-the-icons-ivy-rich all-the-icons-ivy treemacs-the-icons dired-icon treemacs-magit treemacs-projectile nlinum linum-mode unicode-fonts ewal-doom-themes ivy-rich which-key counsel org-roam treemacs-evil treemacs-all-the-icons treemacs use-package general gruvbox-theme flycheck-rust cargo linum-relative ac-racer lusty-explorer doom-modeline doom-themes rainbow-delimiters evil-mc rustic lsp-mode avy)))
|
||||||
(use-package doom-themes)
|
(use-package doom-themes
|
||||||
'(custom-enabled-themes '(gruvbox))
|
|
||||||
|
|
||||||
(use-package gruvbox-theme
|
|
||||||
:ensure t
|
:ensure t
|
||||||
:config
|
|
||||||
(load-theme 'doom-gruvbox)
|
|
||||||
)
|
)
|
||||||
|
(load-theme 'doom-gruvbox t)
|
||||||
|
|
||||||
|
;; (use-package gruvbox-theme
|
||||||
|
;; :ensure t
|
||||||
|
;; :config
|
||||||
|
;; (load-theme 'doom-gruvbox)
|
||||||
|
;; )
|
||||||
(setq use-package-always-ensure t)
|
(setq use-package-always-ensure t)
|
||||||
|
|
||||||
(use-package doom-modeline
|
(use-package doom-modeline
|
||||||
|
@ -62,6 +64,8 @@
|
||||||
(when (member "Twitter Color Emoji" (font-family-list))
|
(when (member "Twitter Color Emoji" (font-family-list))
|
||||||
(set-fontset-font t 'unicode "Twitter Color Emoji" nil 'prepend))
|
(set-fontset-font t 'unicode "Twitter Color Emoji" nil 'prepend))
|
||||||
|
|
||||||
|
(when (member "Twemoji" (font-family-list))
|
||||||
|
(set-fontset-font t 'unicode "Twemoji" nil 'prepend))
|
||||||
;; ☺️ ☻ 😃 😄 😅 😆 😊 😎 😇 😈 😏 🤣 🤩 🤪 🥳 😁 😀 😂 🤠 🤡 🤑 🤓 🤖 😗 😚 😘 😙 😉 🤗 😍 🥰 🤤 😋 🤔 🤨 🧐 🤭 🤫 😯 🤐 😌 😖 😕 😳 😔 🤥 🥴 😮 😲 🤯 😩 😫 🥱 😪 😴 😵 ☹️ 😦 😞 😥 😟 😢 😭 🤢 🤮 😷 🤒 🤕 🥵 🥶 🥺 😬 😓 😰 😨 😱 😒 😠 😡 😤 😣 😧 🤬 😸 😹 😺 😻 😼 😽 😾 😿 🙀 🙈 🙉 🙊 🤦 🤷 🙅 🙆 🙋 🙌 🙍 🙎 🙇 🙏 👯 💃 🕺 🤳 💇 💈 💆 🧖 🧘 🧍 🧎 👰 🤰 🤱 👶 🧒 👦 👧 👩 👨 🧑 🧔 🧓 👴 👵 👤 👥 👪 👫 👬 👭 👱 👳 👲 🧕 👸 🤴 🎅 🤶 🧏 🦻 🦮 🦯 🦺 🦼 🦽 🦾 🦿 🤵 👮 👷 💁 💂 🕴 🕵️ 🦸 🦹 🧙 🧚 🧜 🧝 🧞 🧛 🧟 👼 👿 👻 👹 👺 👽 👾 🛸 💀 ☠️ 🕱 🧠 🦴 👁 👀 👂 👃 👄 🗢 👅 🦷 🦵 🦶 💭 🗬 🗭 💬 🗨 🗩 💦 💧 💢 💫 💤 💨 💥 💪 🗲 🔥 💡 💩 💯
|
;; ☺️ ☻ 😃 😄 😅 😆 😊 😎 😇 😈 😏 🤣 🤩 🤪 🥳 😁 😀 😂 🤠 🤡 🤑 🤓 🤖 😗 😚 😘 😙 😉 🤗 😍 🥰 🤤 😋 🤔 🤨 🧐 🤭 🤫 😯 🤐 😌 😖 😕 😳 😔 🤥 🥴 😮 😲 🤯 😩 😫 🥱 😪 😴 😵 ☹️ 😦 😞 😥 😟 😢 😭 🤢 🤮 😷 🤒 🤕 🥵 🥶 🥺 😬 😓 😰 😨 😱 😒 😠 😡 😤 😣 😧 🤬 😸 😹 😺 😻 😼 😽 😾 😿 🙀 🙈 🙉 🙊 🤦 🤷 🙅 🙆 🙋 🙌 🙍 🙎 🙇 🙏 👯 💃 🕺 🤳 💇 💈 💆 🧖 🧘 🧍 🧎 👰 🤰 🤱 👶 🧒 👦 👧 👩 👨 🧑 🧔 🧓 👴 👵 👤 👥 👪 👫 👬 👭 👱 👳 👲 🧕 👸 🤴 🎅 🤶 🧏 🦻 🦮 🦯 🦺 🦼 🦽 🦾 🦿 🤵 👮 👷 💁 💂 🕴 🕵️ 🦸 🦹 🧙 🧚 🧜 🧝 🧞 🧛 🧟 👼 👿 👻 👹 👺 👽 👾 🛸 💀 ☠️ 🕱 🧠 🦴 👁 👀 👂 👃 👄 🗢 👅 🦷 🦵 🦶 💭 🗬 🗭 💬 🗨 🗩 💦 💧 💢 💫 💤 💨 💥 💪 🗲 🔥 💡 💩 💯
|
||||||
;; Fallback for emojies
|
;; Fallback for emojies
|
||||||
|
|
||||||
|
@ -83,6 +87,7 @@
|
||||||
(show-paren-mode t)) ;
|
(show-paren-mode t)) ;
|
||||||
(use-package rainbow-delimiters
|
(use-package rainbow-delimiters
|
||||||
:hook (prog-mode . rainbow-delimiters-mode))
|
:hook (prog-mode . rainbow-delimiters-mode))
|
||||||
|
(global-prettify-symbols-mode +1)
|
||||||
|
|
||||||
(use-package all-the-icons)
|
(use-package all-the-icons)
|
||||||
(use-package all-the-icons-ivy
|
(use-package all-the-icons-ivy
|
||||||
|
@ -410,18 +415,53 @@
|
||||||
(company-idle-delay 0.0))
|
(company-idle-delay 0.0))
|
||||||
|
|
||||||
(use-package company-box
|
(use-package company-box
|
||||||
:hook (company-mode . company-box-mode)) #+end_src
|
:hook (company-mode . company-box-mode))
|
||||||
|
|
||||||
(use-package ivy-postframe
|
;; (use-package ivy-postframe
|
||||||
:config
|
;; :init
|
||||||
(setq ivy-posframe-display-functions-alist '((t . ivy-posframe-display)))
|
;; (ivy-posframe-mode 1)
|
||||||
;; (setq ivy-posframe-display-functions-alist '((t . ivy-posframe-display-at-frame-center)))
|
;; ;; (setq ivy-posframe-display-functions-alist '((t . ivy-posframe-display-at-frame-center)))
|
||||||
;; (setq ivy-posframe-display-functions-alist '((t . ivy-posframe-display-at-window-center)))
|
;; ;; (setq ivy-posframe-display-functions-alist '((t . ivy-posframe-display-at-window-center)))
|
||||||
;; (setq ivy-posframe-display-functions-alist '((t . ivy-posframe-display-at-frame-bottom-left)))
|
;; ;; (setq ivy-posframe-display-functions-alist '((t . ivy-posframe-display-at-frame-bottom-left)))
|
||||||
;; (setq ivy-posframe-display-functions-alist '((t . ivy-posframe-display-at-window-bottom-left)))
|
;; ;; (setq ivy-posframe-display-functions-alist '((t . ivy-posframe-display-at-window-bottom-left)))
|
||||||
;; (setq ivy-posframe-display-functions-alist '((t . ivy-posframe-display-at-frame-top-center)))
|
;; ;; (setq ivy-posframe-display-functions-alist '((t . ivy-posframe-display-at-frame-top-center)))
|
||||||
(ivy-posframe-mode 1)
|
;; )
|
||||||
|
|
||||||
|
;; (lambda ()
|
||||||
|
;; (push '("TODO" . ?📥) prettify-symbols-alist)
|
||||||
|
;; (push '("DONE" . ?☑) prettify-symbols-alist)
|
||||||
|
;; (push '("NEXT" . ?⏭) prettify-symbols-alist)
|
||||||
|
;; (push '("IDEA" . ?💡) prettify-symbols-alist)
|
||||||
|
;; (push '("DREAM" . ?✨) prettify-symbols-alist)
|
||||||
|
;; )
|
||||||
|
|
||||||
|
(setq-default prettify-symbols-alist
|
||||||
|
'(("#+BEGIN_SRC" . "λ")
|
||||||
|
("#+END_SRC" . "λ")
|
||||||
|
("#+end_src" . "λ")
|
||||||
|
("#+begin_src" . "λ")
|
||||||
|
("TODO"." T ")
|
||||||
|
("DONE"." D ")
|
||||||
|
("NEXT"." N ")
|
||||||
|
("IDEA"." 💡 ")
|
||||||
|
("DREAM"." ✨ ")
|
||||||
|
(":LOGBOOK:"." LOG ")
|
||||||
|
))
|
||||||
|
|
||||||
|
(defun my/org-toggle-todo-and-fold ()
|
||||||
|
(interactive)
|
||||||
|
(save-excursion
|
||||||
|
(org-back-to-heading t) ;; Make sure command works even if point is
|
||||||
|
;; below target heading
|
||||||
|
(cond ((looking-at "\*+ TODO")
|
||||||
|
(org-todo "DONE")
|
||||||
|
(sleep-for 0.5)
|
||||||
|
(org-archive-subtree-default-with-confirmation)
|
||||||
)
|
)
|
||||||
|
((looking-at "\*+ DONE")
|
||||||
|
(org-todo "TODO")
|
||||||
|
(hide-subtree))
|
||||||
|
(t (message "Can only toggle between TODO and DONE.")))))
|
||||||
|
|
||||||
(set-face-attribute 'variable-pitch nil
|
(set-face-attribute 'variable-pitch nil
|
||||||
;; :font "Cantarell"
|
;; :font "Cantarell"
|
||||||
|
@ -429,15 +469,15 @@
|
||||||
:height 1.3
|
:height 1.3
|
||||||
:weight 'light)
|
:weight 'light)
|
||||||
|
|
||||||
(set-face-attribute 'org-document-title nil :font "ubuntu" :weight 'bold :height 1.3)
|
(set-face-attribute 'org-document-title nil :font "ubuntu" :weight 'light :height 1.3)
|
||||||
(dolist (face '((org-level-1 . 1.18)
|
(dolist (face '((org-level-1 . 1.1)
|
||||||
(org-level-2 . 1.14)
|
(org-level-2 . 1.0)
|
||||||
(org-level-3 . 1.05)
|
(org-level-3 . 1.0)
|
||||||
(org-level-4 . 1.0)
|
(org-level-4 . 1.0)
|
||||||
(org-level-5 . 1.1)
|
(org-level-5 . 0.9)
|
||||||
(org-level-6 . 1.1)
|
(org-level-6 . 0.9)
|
||||||
(org-level-7 . 1.1)
|
(org-level-7 . 0.9)
|
||||||
(org-level-8 . 1.1)))
|
(org-level-8 . 0.9)))
|
||||||
(set-face-attribute (car face) nil :font "ubuntu" :weight 'bold :height (cdr face) ))
|
(set-face-attribute (car face) nil :font "ubuntu" :weight 'bold :height (cdr face) ))
|
||||||
(require 'org-indent)
|
(require 'org-indent)
|
||||||
(set-face-attribute 'org-block nil :foreground nil :inherit 'fixed-pitch :font "Hack" )
|
(set-face-attribute 'org-block nil :foreground nil :inherit 'fixed-pitch :font "Hack" )
|
||||||
|
@ -460,15 +500,18 @@
|
||||||
(visual-line-mode 1)
|
(visual-line-mode 1)
|
||||||
(setq evil-auto-indent 1)
|
(setq evil-auto-indent 1)
|
||||||
(variable-pitch-mode t)
|
(variable-pitch-mode t)
|
||||||
|
(prettify-symbols-mode +1)
|
||||||
|
(display-line-numbers-mode 0)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
(use-package org
|
(use-package org
|
||||||
:hook ((org-mode . my/org-mode-setup)
|
:hook ((org-mode . my/org-mode-setup)
|
||||||
(org-mode . variable-pitch-mode)
|
(org-mode . variable-pitch-mode)
|
||||||
(org-mode . org-inddent-mode)
|
(org-mode . org-inddent-mode)
|
||||||
|
(org-mode . prettify-symbols-mode)
|
||||||
)
|
)
|
||||||
:config (setq org-agenda-files `("~/Notes" "~/Notes/Tasks/Tasks.org"))
|
:config (setq org-agenda-files `("~/Nextcloud2/Notes/Ideas💡.org" "~/Nextcloud2/Notes/Lists📜.org" "~/Nextcloud2/Notes/Projects💻.org" "~/Nextcloud2/Notes/Tasks🧾.org"))
|
||||||
|
(display-line-numbers-mode 0)
|
||||||
(org-bullets-mode t)
|
(org-bullets-mode t)
|
||||||
(org-indent-mode t)
|
(org-indent-mode t)
|
||||||
(setq org-ellipsis " ▸" org-hide-emphasis-markers t org-src-fontify-natively t
|
(setq org-ellipsis " ▸" org-hide-emphasis-markers t org-src-fontify-natively t
|
||||||
|
@ -500,7 +543,10 @@
|
||||||
("n" "Next Tasks" ((todo "NEXT" ((org-agenda-overriding-header
|
("n" "Next Tasks" ((todo "NEXT" ((org-agenda-overriding-header
|
||||||
"Next Tasks")))))
|
"Next Tasks")))))
|
||||||
("i" "Ideas" ((todo "IDEA" ((org-agenda-overriding-header
|
("i" "Ideas" ((todo "IDEA" ((org-agenda-overriding-header
|
||||||
"Ideas ")))))
|
"Ideas "))
|
||||||
|
)
|
||||||
|
(tags-todo "+idea")
|
||||||
|
))
|
||||||
("A" "Articles" ((todo "Article" ((org-agenda-overriding-header
|
("A" "Articles" ((todo "Article" ((org-agenda-overriding-header
|
||||||
"Article")))))
|
"Article")))))
|
||||||
("W" "Work Tasks" tags-todo "+work-email")
|
("W" "Work Tasks" tags-todo "+work-email")
|
||||||
|
@ -560,7 +606,9 @@
|
||||||
|
|
||||||
:general (general-nmap :prefix "SPC a"
|
:general (general-nmap :prefix "SPC a"
|
||||||
:keymap 'org-agenda-mode-map
|
:keymap 'org-agenda-mode-map
|
||||||
"a" 'org-agenda))
|
"a" 'org-agenda
|
||||||
|
"d" 'my/org-toggle-todo-and-fold
|
||||||
|
))
|
||||||
(use-package org-bullets
|
(use-package org-bullets
|
||||||
:after org
|
:after org
|
||||||
:hook
|
:hook
|
||||||
|
@ -609,7 +657,7 @@
|
||||||
"b h" '(org-roam-buffer-deactivate :which-key "roam buffer hide ")
|
"b h" '(org-roam-buffer-deactivate :which-key "roam buffer hide ")
|
||||||
"s" '(org-roam-server-mode :which-key "roam server "))
|
"s" '(org-roam-server-mode :which-key "roam server "))
|
||||||
:custom
|
:custom
|
||||||
(org-roam-directory "~/Notes")
|
(org-roam-directory "~/Nextcloud2/Notes")
|
||||||
:config
|
:config
|
||||||
(setq
|
(setq
|
||||||
org-roam-server-host "127.0.0.1"
|
org-roam-server-host "127.0.0.1"
|
||||||
|
@ -647,11 +695,17 @@
|
||||||
(use-package lsp-mode
|
(use-package lsp-mode
|
||||||
:init
|
:init
|
||||||
(setq lsp-keymap-prefix "C-SPC c")
|
(setq lsp-keymap-prefix "C-SPC c")
|
||||||
|
;; (setq lsp-clients-clangd-args " --header-insertion-decorators=0 ")
|
||||||
;;(setq lsp-client-packages nil)
|
;;(setq lsp-client-packages nil)
|
||||||
|
:hook (;; replace XXX-mode with concrete major-mode(e. g. python-mode)
|
||||||
|
(c++-mode . lsp)
|
||||||
|
;; if you want which-key integration
|
||||||
|
(lsp-mode . lsp-enable-which-key-integration))
|
||||||
:config
|
:config
|
||||||
(add-hook 'c++-mode-hook #'lsp-mode)
|
(add-hook 'c\+\+-mode-hook #'lsp-mode)
|
||||||
(add-hook 'rust-mode-hook #'lsp-mode)
|
(add-hook 'rust-mode-hook #'lsp-mode)
|
||||||
(add-hook 'c-mode-hook #'lsp-mode)
|
(add-hook 'c-mode-hook #'lsp-mode)
|
||||||
|
|
||||||
;;(setq lsp-clients-clangd-executable "/home/horhik/code/competitive/clangd")
|
;;(setq lsp-clients-clangd-executable "/home/horhik/code/competitive/clangd")
|
||||||
;;(setq lsp-clients-clangd-default-executable "/home/horhik/code/competitive/clangd")
|
;;(setq lsp-clients-clangd-default-executable "/home/horhik/code/competitive/clangd")
|
||||||
;;(lsp-mode . lsp-enable-which-key-integration)
|
;;(lsp-mode . lsp-enable-which-key-integration)
|
||||||
|
@ -673,14 +727,12 @@
|
||||||
(setq irony-additional-clang-options
|
(setq irony-additional-clang-options
|
||||||
(append '("-std=c++17") irony-additional-clang-options))
|
(append '("-std=c++17") irony-additional-clang-options))
|
||||||
)
|
)
|
||||||
(add-to-list 'auto-mode-alist '("\\.cpp\\'" . cpp-hook))
|
|
||||||
(add-to-list 'auto-mode-alist '("\\.cxx\\'" . cpp-hook))
|
|
||||||
(add-to-list 'auto-mode-alist '("\\.c++\\'" . cpp-hook))
|
(add-to-list 'auto-mode-alist '("\\.h\\'" . c++-mode))
|
||||||
(add-to-list 'auto-mode-alist '("\\.C\\'" . cpp-hook))
|
(add-to-list 'auto-mode-alist '("\\.cxx\\'" . c++-mode))
|
||||||
(defun cpp-hook ()
|
(add-to-list 'auto-mode-alist '("\\.cpp\\'" . c++-mode))
|
||||||
(c++-mode 1)
|
(add-to-list 'auto-mode-alist '("\\.C\\'" . c++-mode))
|
||||||
(lsp-mode 1)
|
|
||||||
)
|
|
||||||
|
|
||||||
(use-package markdown-mode)
|
(use-package markdown-mode)
|
||||||
|
|
||||||
|
@ -691,3 +743,23 @@
|
||||||
;; (direnv-mode))
|
;; (direnv-mode))
|
||||||
;; (add-hook 'lsp-mode-hook #'direnv-update-environment)
|
;; (add-hook 'lsp-mode-hook #'direnv-update-environment)
|
||||||
(use-package nix-mode)
|
(use-package nix-mode)
|
||||||
|
|
||||||
|
(use-package rust-mode
|
||||||
|
:config
|
||||||
|
(setq rust-format-on-save t)
|
||||||
|
(add-hook 'rust-mode-hook
|
||||||
|
(lambda () (setq indent-tabs-mode nil)))
|
||||||
|
)
|
||||||
|
(use-package rustic
|
||||||
|
:config
|
||||||
|
(setq rustic-lsp-server 'rls)
|
||||||
|
)
|
||||||
|
|
||||||
|
(setq initial-buffer-choice "~/Nextcloud2/Notes/Tasks🧾.org")
|
||||||
|
(custom-set-variables
|
||||||
|
;; custom-set-variables was added by Custom.
|
||||||
|
;; If you edit it by hand, you could mess it up, so be careful.
|
||||||
|
;; Your init file should contain only one such instance.
|
||||||
|
;; If there is more than one, they won't work right.
|
||||||
|
'(package-selected-packages
|
||||||
|
'(rustic rust-mode workgroups2 which-key visual-fill-column use-package undo-tree tuareg treemacs-projectile treemacs-persp treemacs-magit treemacs-icons-dired treemacs-evil treemacs-all-the-icons realgud rainbow-delimiters pretty-symbols org-roam-server org-caldav org-bullets ob-browser nix-mode neotree lsp-ui lsp-treemacs lsp-ivy ivy-posframe highlight-parentheses gruvbox-theme general flycheck-irony evil-collection elisp-lint doom-themes doom-modeline counsel-projectile company-box clang-format+ all-the-icons-ivy-rich all-the-icons-ivy)))
|
||||||
|
|
0
home/qutebrowser/.config/qutebrowser/bookmarks/urls
Executable file → Normal file
0
home/qutebrowser/.config/qutebrowser/bookmarks/urls
Executable file → Normal file
0
home/qutebrowser/.config/qutebrowser/quickmarks
Executable file → Normal file
0
home/qutebrowser/.config/qutebrowser/quickmarks
Executable file → Normal file
|
@ -17,7 +17,7 @@ Config {
|
||||||
, sepChar = "%" -- delineator between plugin names and straight text
|
, sepChar = "%" -- delineator between plugin names and straight text
|
||||||
, alignSep = "][" -- separator between left-right alignment
|
, alignSep = "][" -- separator between left-right alignment
|
||||||
|
|
||||||
, template = "<fc=#83a598>——{</fc>%StdinReader%<fc=#83a598>}—————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————</fc>][%/home/horhik/.config/xmobar/bin/xmobarstatus%"
|
, template = "<fc=#83a598>——{</fc>%StdinReader%<fc=#83a598>}—————————————————————————————————————————————————————————————————————————————————————————————————————————————</fc>][%/home/horhik/.config/xmobar/bin/xmobarstatus%"
|
||||||
|
|
||||||
-- general behavior
|
-- general behavior
|
||||||
, lowerOnStart = False -- send to bottom of window stack on start
|
, lowerOnStart = False -- send to bottom of window stack on start
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
-- layout
|
-- layout
|
||||||
, sepChar = "%" -- delineator between plugin names and straight text
|
, sepChar = "%" -- delineator between plugin names and straight text
|
||||||
, alignSep = "][" -- separator between left-right alignment
|
, alignSep = "][" -- separator between left-right alignment
|
||||||
, template = "<fc=#a89984>--{</fc>%StdinReader%<fc=#a89984>}————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————</fc>][%/home/horhik/.config/xmobar/bin/xmobarstatus2%"
|
, template = "<fc=#a89984>--{</fc>%StdinReader%<fc=#a89984>}—————————————————————————————————————————————————————————————————————————————————————————————————————————————————</fc>][%/home/horhik/.config/xmobar/bin/xmobarstatus2%"
|
||||||
|
|
||||||
-- general behavior
|
-- general behavior
|
||||||
, lowerOnStart = False -- send to bottom of window stack on start
|
, lowerOnStart = False -- send to bottom of window stack on start
|
||||||
|
|
|
@ -101,7 +101,7 @@ myKeys conf@(XConfig {XMonad.modMask = modm}) = M.fromList $
|
||||||
, ((modm , xK_e ), spawn "rofimoji")
|
, ((modm , xK_e ), spawn "rofimoji")
|
||||||
, ((modm , xK_p ), spawn "rofi -show drun")
|
, ((modm , xK_p ), spawn "rofi -show drun")
|
||||||
|
|
||||||
, ((modm .|. shiftMask , xK_p ), spawn "rofi -show window")
|
, ((modm .|. shiftMask , xK_p ), spawn "rofi-pass")
|
||||||
|
|
||||||
-- close focused window
|
-- close focused window
|
||||||
, ((modm .|. shiftMask, xK_c ), kill)
|
, ((modm .|. shiftMask, xK_c ), kill)
|
||||||
|
@ -178,6 +178,7 @@ myKeys conf@(XConfig {XMonad.modMask = modm}) = M.fromList $
|
||||||
, ((modm .|. mod1Mask , xK_space ), spawn "$HOME/.local/scripts/deadd_notify")
|
, ((modm .|. mod1Mask , xK_space ), spawn "$HOME/.local/scripts/deadd_notify")
|
||||||
-- change lang
|
-- change lang
|
||||||
, ((modm, xK_Control_R) , spawn "xkblayout-state set +1")
|
, ((modm, xK_Control_R) , spawn "xkblayout-state set +1")
|
||||||
|
, ((modm, xK_Shift_R) , spawn "xkblayout-state set +1")
|
||||||
, ((modm, xK_d) , spawn "eww-toggl")
|
, ((modm, xK_d) , spawn "eww-toggl")
|
||||||
-- toggle fullscreen
|
-- toggle fullscreen
|
||||||
, ((mod4Mask .|. shiftMask, xK_f), sendMessage ToggleStruts)
|
, ((mod4Mask .|. shiftMask, xK_f), sendMessage ToggleStruts)
|
||||||
|
@ -292,8 +293,8 @@ magnify = renamed [Replace "magnify"]
|
||||||
$ mySpacing 8
|
$ mySpacing 8
|
||||||
$ ResizableTall 1 (3/100) (1/2) []
|
$ ResizableTall 1 (3/100) (1/2) []
|
||||||
monocle = renamed [Replace "monocle"]
|
monocle = renamed [Replace "monocle"]
|
||||||
$ smartBorders
|
$ noBorders
|
||||||
$ addTabs shrinkText myTabTheme
|
-- $ addTabs shrinkText myTabTheme
|
||||||
$ subLayout [] (smartBorders Simplest)
|
$ subLayout [] (smartBorders Simplest)
|
||||||
$ limitWindows 20 Full
|
$ limitWindows 20 Full
|
||||||
floats = renamed [Replace "floats"]
|
floats = renamed [Replace "floats"]
|
||||||
|
@ -361,7 +362,7 @@ myLayoutHook = avoidStruts $ mouseResize $ windowArrange $ T.toggleLayouts float
|
||||||
where
|
where
|
||||||
myDefaultLayout = withBorder myBorderWidth tall
|
myDefaultLayout = withBorder myBorderWidth tall
|
||||||
||| noBorders magnify
|
||| noBorders magnify
|
||||||
||| noBorders monocle
|
||| monocle
|
||||||
||| floats
|
||| floats
|
||||||
||| noBorders tabs
|
||| noBorders tabs
|
||||||
||| grid
|
||| grid
|
||||||
|
|
|
@ -12,7 +12,7 @@ export ZSH=/usr/share/oh-my-zsh/
|
||||||
# to know which specific one was loaded, run: echo $RANDOM_THEME
|
# to know which specific one was loaded, run: echo $RANDOM_THEME
|
||||||
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
|
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
|
||||||
# if you installed the package oh-my-zsh-powerline-theme-git then you type here "powerline" as zsh theme
|
# if you installed the package oh-my-zsh-powerline-theme-git then you type here "powerline" as zsh theme
|
||||||
ZSH_THEME="random"
|
ZSH_THEME="sporty_256"
|
||||||
|
|
||||||
# Set list of themes to pick from when loading at random
|
# Set list of themes to pick from when loading at random
|
||||||
# Setting this variable when ZSH_THEME=random will cause zsh to load
|
# Setting this variable when ZSH_THEME=random will cause zsh to load
|
||||||
|
@ -111,8 +111,8 @@ export HISTCONTROL=ignoreboth:erasedups
|
||||||
|
|
||||||
# Make nano the default editor
|
# Make nano the default editor
|
||||||
|
|
||||||
export EDITOR='nano'
|
export EDITOR='nvim'
|
||||||
export VISUAL='nano'
|
export VISUAL='nvim'
|
||||||
|
|
||||||
#PS1='[\u@\h \W]\$ '
|
#PS1='[\u@\h \W]\$ '
|
||||||
|
|
||||||
|
@ -405,3 +405,4 @@ compile_and_run() {
|
||||||
|
|
||||||
# eval $(thefuck --alias)
|
# eval $(thefuck --alias)
|
||||||
|
|
||||||
|
if [ -e /home/horhik/.nix-profile/etc/profile.d/nix.sh ]; then . /home/horhik/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer
|
||||||
|
|
|
@ -90,3 +90,5 @@ cargo build --release
|
||||||
echo "installing tmp (tmux package manager)"
|
echo "installing tmp (tmux package manager)"
|
||||||
git clone https://github.com/tmux-plugins/tpm ~/.config/tmux/plugins/tpm
|
git clone https://github.com/tmux-plugins/tpm ~/.config/tmux/plugins/tpm
|
||||||
|
|
||||||
|
echo "installing gruvbox theme"
|
||||||
|
yay -S gtk-engine-murrine gruvbox-material-git
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in a new issue