update doom config and disable background blur picom

This commit is contained in:
ksyasuda 2021-11-04 01:47:15 -07:00
parent c20a0e8568
commit 4aeaec1d8d
5 changed files with 64 additions and 3 deletions

View File

@ -151,6 +151,48 @@
;; (defun my/python-mode-hook () ;; (defun my/python-mode-hook ()
;; (add-to-list 'company-backends 'company-jedi)) ;; (add-to-list 'company-backends 'company-jedi))
;;; enacs application framework
(use-package eaf
:load-path "~/Downloads/emacs-application-framework" ; Set to "/usr/share/emacs/site-lisp/eaf" if installed from AUR
:custom
; See https://github.com/emacs-eaf/emacs-application-framework/wiki/Customization
(eaf-browser-continue-where-left-off t)
(eaf-browser-enable-adblocker t)
(browse-url-browser-function 'eaf-open-browser)
:config
(defalias 'browse-web #'eaf-open-browser))
(require 'eaf-system-monitor)
(require 'eaf-pdf-viewer)
(require 'eaf-terminal)
(require 'eaf-music-player)
(require 'eaf-browser)
(require 'eaf-jupyter)
(require 'eaf-file-browser)
(require 'eaf-markdown-previewer)
(require 'eaf-image-viewer)
(require 'eaf-file-manager)
(require 'eaf-airshare)
(require 'eaf-org-previewer)
(require 'eaf-file-sender)
(require 'eaf-video-player)
(require 'eaf-evil)
(define-key key-translation-map (kbd "SPC")
(lambda (prompt)
(if (derived-mode-p 'eaf-mode)
(pcase eaf--buffer-app-name
("browser" (if (string= (eaf-call-sync "call_function" eaf--buffer-id "is_focus") "True")
(kbd "SPC")
(kbd eaf-evil-leader-key)))
("pdf-viewer" (kbd eaf-evil-leader-key))
("image-viewer" (kbd eaf-evil-leader-key))
(_ (kbd "SPC")))
(kbd "SPC"))))
;;; gif screencast ;;; gif screencast
@ -201,6 +243,12 @@
(setq company-quickhelp-delay 0.5) (setq company-quickhelp-delay 0.5)
(setq lsp-jedi-python-library-directories '(/usr .env/lib/)) (setq lsp-jedi-python-library-directories '(/usr .env/lib/))
(setq eaf-terminal-font-size 12)
(setq lsp-treemacs-sync-mode 1)
(treemacs-icons-dired-mode)
(after! 'treemacs
(define-key treemacs-mode-map [mouse-1] #'treemacs-single-click-expand-action))
;;; KEYBINDINGS ;;; KEYBINDINGS
@ -230,3 +278,11 @@
(map! :leader (map! :leader
:desc "Restart LSP server" :desc "Restart LSP server"
"c R" #'lsp-workspace-restart) "c R" #'lsp-workspace-restart)
(map! :leader
:desc "Search web"
"o w" #'eaf-open-browser-with-history)
(map! :leader
:desc "Open link under cursor in browser"
"o l" #'eaf-open-url-at-point)

View File

@ -96,7 +96,7 @@
lsp ; M-x vscode lsp ; M-x vscode
magit ; a git porcelain for Emacs magit ; a git porcelain for Emacs
make ; run make tasks from Emacs make ; run make tasks from Emacs
;;pass ; password manager for nerds (pass +auth) ; password manager for nerds
pdf ; pdf enhancements pdf ; pdf enhancements
;;prodigy ; FIXME managing external services & code builders ;;prodigy ; FIXME managing external services & code builders
rgb ; creating color strings rgb ; creating color strings

View File

@ -72,3 +72,5 @@
(package! lsp-ui) (package! lsp-ui)
(package! company-quickhelp) (package! company-quickhelp)
(package! gif-screencast) (package! gif-screencast)
(package! helm-pass)
(package! treemacs-icons-dired)

View File

@ -13,6 +13,7 @@ fi
export ZSH="/home/sudacode/.oh-my-zsh" export ZSH="/home/sudacode/.oh-my-zsh"
export PATH="$HOME/scripts:$PATH" export PATH="$HOME/scripts:$PATH"
export PATH="$HOME/Work/scripts:$PATH" export PATH="$HOME/Work/scripts:$PATH"
export PATH="$HOME/.bin:$PATH"
export PATH="$HOME/projects/Python/get_song/src/:$PATH" export PATH="$HOME/projects/Python/get_song/src/:$PATH"
export EDITOR=vim export EDITOR=vim
export VISUAL=vim export VISUAL=vim

View File

@ -121,7 +121,8 @@ fade-out-step = 0.03;
# active-opacity = 0.99; # active-opacity = 0.99;
active-opacity = 1; active-opacity = 1;
inactive-opacity = 0.98; # inactive-opacity = 0.98;
inactive-opacity = 1;
# Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default) # Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default)
# frame-opacity = 1.0 # frame-opacity = 1.0
@ -160,6 +161,7 @@ opacity-rule = [
"99:_NET_WM_STATE@[2]:32a = '_NET_WM_STATE_FULLSCREEN'", "99:_NET_WM_STATE@[2]:32a = '_NET_WM_STATE_FULLSCREEN'",
"99:_NET_WM_STATE@[3]:32a = '_NET_WM_STATE_FULLSCREEN'", "99:_NET_WM_STATE@[3]:32a = '_NET_WM_STATE_FULLSCREEN'",
"99:_NET_WM_STATE@[4]:32a = '_NET_WM_STATE_FULLSCREEN'", "99:_NET_WM_STATE@[4]:32a = '_NET_WM_STATE_FULLSCREEN'",
"100:class_g *= 'Emacs'"
] ]
################################# #################################
@ -440,7 +442,7 @@ wintypes:
# ibhagwan # ibhagwan
corner-radius = 11; corner-radius = 7;
# corner-radius = 12; # corner-radius = 12;
# corner-radius = 15; # corner-radius = 15;
rounded-corners-exclude = [ rounded-corners-exclude = [