Emacs :exwm.

This commit is contained in:
2023-04-06 18:21:10 +09:00
parent d44ca9777f
commit 8f0c5279c5
3 changed files with 21 additions and 22 deletions

View File

@ -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 \

View File

@ -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)

View File

@ -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