From 8f0c5279c5a70e8c763daf122b2c6a4e08414344 Mon Sep 17 00:00:00 2001 From: JaeYoo-Im Date: Thu, 6 Apr 2023 18:21:10 +0900 Subject: [PATCH] Emacs :exwm. --- .config/bspwm/autostart | 15 +++------------ .config/emacs/desktop.org | 16 ++++++++-------- .config/emacs/emacs.org | 12 ++++++++++-- 3 files changed, 21 insertions(+), 22 deletions(-) diff --git a/.config/bspwm/autostart b/.config/bspwm/autostart index 5f9f987..c9a3efe 100755 --- a/.config/bspwm/autostart +++ b/.config/bspwm/autostart @@ -2,17 +2,8 @@ killall bspc -# Splashscreen -pgrep sxhkd || mpv --fullscreen --no-input-default-bindings --no-config --on-all-workspaces ~/Videos/Renders/splash.mp4 - # Compositor -picom -b --config $HOME/.xmonad/scripts/picom.conf & - -# cursor -xsetroot -cursor_name left_ptr & - -# apply colorscheme to spotify -#~/.ricing/wal-spotify.sh > /dev/null& +picom & # Source the colorscheme #echo alpha="ff" >> "${HOME}/.cache/wal/colors.sh" @@ -47,10 +38,10 @@ eww -c ~/.config/eww/mybar open bar_left #killall nm-applet #killall flameshot #blueman-applet& -#pa-applet --disable-key-grabbing --disable-notifications& +#pa-applet --disable-key-grabbing --disable-notifications& #nm-applet& #flameshot& - + # daemons #killall dunst #dunst -lf $foreground \ diff --git a/.config/emacs/desktop.org b/.config/emacs/desktop.org index 4ddb867..63454c9 100644 --- a/.config/emacs/desktop.org +++ b/.config/emacs/desktop.org @@ -25,8 +25,8 @@ DesktopNames=exwm ** App Launcher #+begin_src emacs-lisp :tangle ~/.config/emacs/desktop.el - (straight-use-package - '(app-launcher :type git :host github :repo "SebastienWae/app-launcher")) + (use-package app-launcher + :straight (app-launcher :type git :host github :repo "SebastienWae/app-launcher")) #+end_src ** EXWM #+begin_src emacs-lisp :tangle ~/.config/emacs/desktop.el @@ -158,12 +158,12 @@ DesktopNames=exwm ;; if not wsl (use-package desktop-environment :after exwm - :config (desktop-environment-mode) - :custom - (desktop-environment-brightness-small-increment "2%+") - (desktop-environment-brightness-small-decrement "2%-") - (desktop-environment-brightness-normal-increment "5%+") - (desktop-environment-brightness-normal-decrement "5%-")) + :config (desktop-environment-mode)) + ;;:custom + ;;(desktop-environment-brightness-small-increment "2%+") + ;;(desktop-environment-brightness-small-decrement "2%-") + ;;(desktop-environment-brightness-normal-increment "5%+") + ;;(desktop-environment-brightness-normal-decrement "5%-")) ;; Make sure the server is started (better to do this in your main Emacs config!) (server-start) diff --git a/.config/emacs/emacs.org b/.config/emacs/emacs.org index 2a9d002..a4e48e1 100755 --- a/.config/emacs/emacs.org +++ b/.config/emacs/emacs.org @@ -936,6 +936,7 @@ Quick Action in minibuffer #+end_src **** Snippet #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-edit.el + (use-package yasnippet :defer t :hook (prog-mode . yas-minor-mode) @@ -946,6 +947,13 @@ Quick Action in minibuffer (ju/leader-key-def "i s" '(yas-insert-snippet :which-key "snippet")) #+end_src +***** Doom-Snippet +#+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-edit.el + (use-package doom-snippets + :after yasnippet + :straight (doom-snippets :type git :host github :repo "doomemacs/snippets" :files ("*.el" "*"))) +#+end_src + **** Emojify #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-edit.el (use-package emojify @@ -1069,7 +1077,7 @@ Quick Action in minibuffer ***** Valign | 12345678 | | |----------+---| -| 일이삼사 | | +| 일이삼사 | | #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-org.el (use-package valign :defer t @@ -1669,7 +1677,7 @@ https://github.com/xenodium/chatgpt-shell :host github :repo "xenodium/chatgpt-shell") :config - (setq chatgpt-shell-openai-key "my_key")) + (setq chatgpt-shell-openai-key "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")) #+end_src **** Provide Modules #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-extra.el