Re-add swayidle and svelte mode in Emacs

This commit is contained in:
Simponic 2023-01-17 20:57:50 -07:00
parent 710fd57524
commit bea7bdd66f
Signed by untrusted user who does not match committer: simponic
GPG Key ID: 52B3774857EB24B1
2 changed files with 13 additions and 5 deletions

View File

@ -44,7 +44,7 @@ output HEADLESS-1 {
# #
# Example configuration: # Example configuration:
# #
exec swayidle -w \ exec swayidle -w \
timeout 600 'swaylock -f -c 000000' \ timeout 600 'swaylock -f -c 000000' \
timeout 900 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \ timeout 900 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
before-sleep 'swaylock -f -c 000000' before-sleep 'swaylock -f -c 000000'

View File

@ -306,7 +306,15 @@ After installing the ~rust-analyzer~ program, the following can be used:
:host github :host github
:repo "pimeys/emacs-prisma-mode")) :repo "pimeys/emacs-prisma-mode"))
#+END_SRC #+END_SRC
**** Svelte
#+BEGIN_SRC emacs-lisp
(use-package svelte-mode
:ensure t
:straight '(svelte-mode
:type git
:host github
:repo "leafOfTree/svelte-mode"))
#+END_SRC
*** Kotlin *** Kotlin
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package kotlin-mode (use-package kotlin-mode